@include('print.student-fee.includes.print-header')
@include('print.student-fee.includes.institution-detail')
@include('print.student-fee.includes.studentinfo')
@if($data['fee_master']->balance > 0)
@endif
@include('print.student-fee.includes.print-footer')
FEE - LEDGER
@include('print.student-fee.includes.studentinfo')
Head | Due At | Amount | Receive At | Di | Fi | Paid | Due | ||
---|---|---|---|---|---|---|---|---|---|
{{ $i }} | {{ ViewHelper::getSemesterById($feeMaster->semester) }} | {{ ViewHelper::getFeeHeadById($feeMaster->fee_head) }} | {{ \Carbon\Carbon::parse($feeMaster->fee_due_date)->format('Y-m-d') }} | {{ $amount = $feeMaster->fee_amount?$feeMaster->fee_amount:'-' }} | @php($fmDiscount = $feeMaster->feeCollect()->sum('discount')) {{($fmDiscount >0)?$fmDiscount:'-'}} | @php($fmFine = $feeMaster->feeCollect()->sum('fine')) {{($fmFine >0)?$fmFine:'-'}} | @php($paid = $feeMaster->feeCollect->sum('paid_amount')) {{ $paid?$paid:'-' }} | @php($balance = ($feeMaster->fee_amount + $fmFine) - ($paid + $fmDiscount)) {{ $balance?$balance:'PAID' }} | |
{{ \Carbon\Carbon::parse($feeCollection->date)->format('Y-m-d')}} | {{ $feeCollection->discount?$feeCollection->discount:'-' }} | {{ $feeCollection->fine?$feeCollection->fine:"-" }} | {{ $feeCollection->paid_amount?$feeCollection->paid_amount:'-' }} | ||||||
Total | {{ $data['fee_master']->fee_amount?$data['fee_master']->fee_amount:'-' }} | {{ $data['fee_master']->discount?$data['fee_master']->discount:'-' }} | {{ $data['fee_master']->fine?$data['fee_master']->fine:'-' }} | {{ $data['fee_master']->paid_amount?$data['fee_master']->paid_amount:'-' }} | {{ $data['fee_master']->balance?$data['fee_master']->balance:'-' }} | ||||
Total :{{$data['fee_master']->paid_amount}}/-
In Word: {{ ViewHelper::convertNumberToWord($data['fee_master']->paid_amount) }}only.
Total Balance :{{$data['fee_master']->balance }}/-
Balance In Word: {{ ViewHelper::convertNumberToWord($data['fee_master']->balance ) }}only.