@include('print.student-fee.includes.print-header')
@include('print.student-fee.includes.institution-detail')
@include('print.student-fee.includes.studentinfo')
@include('print.student-fee.includes.print-footer')
LEDGER
@include('print.student-fee.includes.studentinfo')
Head | DueOn | Amount | Date | 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['student']->fee_amount?$data['student']->fee_amount:'-' }} | {{ $data['student']->discount?$data['student']->discount:'-' }} | {{ $data['student']->fine?$data['student']->fine:'-' }} | {{ $data['student']->paid_amount?$data['student']->paid_amount:'-' }} | {{ $data['student']->balance?$data['student']->balance:'-' }} | ||||
Total :{{$data['student']->paid_amount}}/-
In Word: {{ ViewHelper::convertNumberToWord($data['student']->paid_amount) }}only.
Total Balance :{{$data['student']->balance }}/-
Balance In Word: {{ ViewHelper::convertNumberToWord($data['student']->balance ) }}only.