SL# Generate Date Received Branch Salary Month @if($data['employeeColShow']) Employee Name Employee ID @endif Type Total Amount Entry By @if(count($data['result'])>0) @foreach($data['result'] as $row) {{ $row['serial'] }} {{ $row['collection_date'] }} {{ $row['received_branch'] }} {{ $row['month'] }} @if($data['employeeColShow']) {{ $row['employee'] }} {{ $row['employee_id'] }} @endif {{ $row['type'] }} {{ $row['total_amount'] }} {{ $row['createdBy'] }} @endforeach @else No data available @endif @if(count($data['result'])>0) Total: {{ $data['totalAmount'] }} @endif