| Month | @foreach($columns as $key=>$label){{ $label }} {{ in_array($key,['e1','e2','e3']) ? strtoupper($key) : (strtoupper($key)==='E'?'E (lower E1/E2/E3)':strtoupper($key)) }} KES | @endforeach
|---|---|
| {{ date('F',mktime(0,0,0,$month,1)) }} | @foreach($columns as $key=>$label){{ number_format($row[$key],2) }} | @endforeach
| TOTAL | @foreach($columns as $key=>$label){{ number_format($totals[$key],2) }} | @endforeach