| Territory {{$pre_terr_name}} Total |
@foreach($mnth_list as $month)
@php
$ym = $month['year']."-".$month['month'];
$terr_total += $terriwise[$pre_terr_id][$ym];
@endphp
{{spencer_number_format($terriwise[$pre_terr_id][$ym])}} |
@endforeach
{{spencer_number_format($terr_total)}} |
| Area {{$pre_area_name}} Total |
@foreach($mnth_list as $month)
@php
$ym = $month['year']."-".$month['month'];
$area_total += $areawise[$pre_area_id][$ym];
@endphp
{{spencer_number_format($areawise[$pre_area_id][$ym])}} |
@endforeach
{{spencer_number_format($area_total)}} |
| GRAND TOTAL |
@foreach($mnth_list as $month)
@php
$ym = $month['year']."-".$month['month'];
@endphp
{{spencer_number_format($monthwise[$ym])}} |
@endforeach
{{spencer_number_format($grand_total)}} |