@if($data['row'] && $data['row']->count() > 0)
{{$data['row']['print_head']}}
@for ($i = 0; $i <= $data['keys']; $i++)
@if (isset($data['row'][$i]['fee_collection']) && $data['row'][$i]['fee_collection']->count() > 0)
{{$data['row'][$i]['table_head']}}
S.N. |
Head |
Amount |
@php($sn=1)
@foreach($data['row'][$i]['fee_collection'] as $feesCollection)
{{ $sn }}. |
{{ ViewHelper::getFeeHeadById($feesCollection[0]->fee_head) }} |
{{ $feesCollection->sum('paid_amount') }} |
@php($sn++)
@endforeach
Total |
{{ $data['row'][$i]['fee_collection_total'] }} |
@endif
@endfor
@endif