@php error_reporting(0); function spencer_number_format($val){ return $val; } @endphp
| Distribution Sales Trend Summary | |||||
| Period From: | {{date('M-Y',strtotime($start_date))}} | ||||
| Period To: | {{date('M-Y',strtotime($end_date))}} | ||||
| Dist ID | Dist Name | Distributor Type | Region | Area | Territory | Town | @foreach($mnth_list as $month){{date('F-Y',strtotime("{$month['year']}-{$month['month']}-1"))}} | @endforeachTotal |
|---|---|---|---|---|---|---|---|---|
| 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)}} | ||||||