SL# Received Date Received Branch Month @if($data['employeeColShow']) Employee Employee ID @endif Amount @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['amount'] }} @endforeach @else No data available @endif @if(count($data['result'])>0) Total: {{ $data['totalAmount'] }} @endif