@include('pdf.dashboard.header', [ 'logo' => $logo, 'agency_name' => $agency_name, 'address' => $address, 'contact_number'=> $contact_number, 'email_address' => $email_address, 'report_title' => $report_title, 'generated_at' => $generated_at, ])
| Leave Type | @foreach($months as $month){{ $month }} | @endforeach
|---|---|
| {{ $item['leave_type'] }} | @foreach($item['data'] as $val){{ number_format($val) }} | @endforeach
| Total | @foreach($totals as $total){{ number_format($total) }} | @endforeach