| {{ $loop->iteration }} |
{{ $invoice->student->name }} |
{{ $invoice->student->roll }} |
{{ $invoice->invoice_no }} |
@if(isset($invoice->previousDue))
@php($previousDue = $invoice->previousDue)
-
Previous Due ({{ $previousDue->description }})
@endif
@foreach($invoice->activeDetails as $detail)
@php($paymentItem = $detail->classItem->item)
-
{{ $paymentItem->name }}
@if($paymentItem->billing_cycle==2)
{{ $invoice->year }} - {{ $invoice->year+1 }}
@elseif($paymentItem->billing_cycle==3)
({{ $detail->month->name }})
@endif
@endforeach
|
{{ numberFormat($invoice->receivable_amount) }} |
View
|
@endforeach
@endif