@php $expenses = [ 'All' => 'All', 'Employee Expense' => 'Employee Expense', 'Travel Expense' => 'Travel Expense', 'Office Expense' => 'Office Expense', 'License Expense' => 'License Expense', 'Legal Expense' => 'Legal Expense', 'Salary Expense' => 'Salary Expense', 'Conveyance Expense' => 'Conveyance Expense', 'F&F Expense' => 'F&F Expense' ]; $billTotal = 0; @endphp @extends('admin.layouts.layouts') @section('title', 'Expense Report') @section('content')
| Date | Expense Type | Expense Sub Type | Created By | Employee Name | Bank Name | Payment Mode | Amount () | {{--Remark | --}}
|---|---|---|---|---|---|---|---|---|
| {{ $data->expense_date ? date('d-m-Y', strtotime($data->expense_date)) : '-' }} | {{ $data->expense_type }} | {{ $data->expense_sub_type_name ?? '-' }} | {{ $data->created_by ?? '-' }} | {{ $data->employee_name ?? '-' }} | {{ $bankNames[$data->bank_id] ?? 'N/A' }} | {{ ucfirst($data->payment_mode) ?? '-' }} | {{ number_format($data->paid_amount, 2) }} | {{--{{ $data->remark ?? '-' }} | --}}
| No records found | ||||||||
| Total | {{ number_format($billTotal, 2) }} | |||||||