@if($data['row'] && $data['row']->count() > 0)
{{$data['row']['print_head']}}

@php($sn=1) @for ($i = 0; $i <= $data['keys']; $i++) @if (isset($data['row'][$i]['fee_collection']) && $data['row'][$i]['fee_collection']->count() > 0) @foreach($data['row'][$i]['fee_collection'] as $Index => $feesCollection) @if($data['tag'] =='daily') @elseif($data['tag'] =='weekly') @elseif($data['tag'] =='monthly') @elseif($data['tag'] =='yearly') {{----}} @endif @php($sn++) @endforeach @endif @endfor
S.N. Date Amount
{{ $sn }}. {{ \Carbon\Carbon::parse($Index)->format('Y-m-d') }} {{ $data['row'][$i]['fee_collection_total'] }}
{{ $sn }}. {{ $data['row'][$i]['table_head'] }} {{ $data['row'][$i]['fee_collection_total'] }}
{{ $sn }}. {{ \Carbon\Carbon::parse($Index)->format('Y-M') }} {{ $data['row'][$i]['fee_collection_total'] }}
{{ $sn }}. {{ \Carbon\Carbon::parse($Index)->format('Y') }}{{ $data['row'][$i]['table_head'] }}{{ $data['row'][$i]['fee_collection_total'] }}
Total {{ $data['date_total_fee'] }}
@endif