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