@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, ]) @foreach($months as $month) @endforeach @foreach($series as $item) @foreach($item['data'] as $val) @endforeach @endforeach @foreach($totals as $total) @endforeach
Leave Type{{ $month }}
{{ $item['leave_type'] }}{{ number_format($val) }}
Total{{ number_format($total) }}
@include('pdf.dashboard.footer', ['generated_at' => $generated_at])