PAYMENT REPORT (DETAILED)
SESSION: {{ $entrysession?$entrysession->name:'' }}
|
COURSE: {{ $branch?$branch->name:'' }} /{{ $branch?$branch->course->name:'' }}
|
YEAR: {{ $year }}
|
SPONSOR: {{ $sponsor?$sponsor->shortname:'ALL' }}
|
PAYMENT-TYPE: {{ $paymenttype?$paymenttype->name:'ALL' }}
|
|
# |
{{--SESSION | --}}
NAMES |
REG# |
PAYMENT TYPE |
AMOUNT |
PPLAN |
PENDING PAYMENT |
@foreach ($payments as $index=>$pay)
{{ ++$index }} |
{{-- $pay->entrysession }} | --}}
{{ $pay->lname }} {{ $pay->mname }} {{ $pay->fname }} |
{{ $pay->regnumber }} |
{{ $pay->paymenttype->name }} |
{{ $pay->amount }} |
{{ $pay->planamount }} |
{{ $pay->planamount?($pay->planamount - $pay->amount) : '' }} |
@endforeach
TOTAL | {{ $payments->sum('amount') }} |