@extends('layout.app') @section('css') @endsection @section('content')

Expense List

{{-- --}} @foreach ($expenses as $row) @endforeach
# StatusIncome HeadName Expense Head Employee Invoice Number Date Amount Documents Description Create By Action
{{ $row->id }} @if ($row->status == 'pending') Pending @elseif($row->status == 'approved') Approved @endif {{ $row->name }} {{ $row->head->name ?? '' }} {{ $row->employee->name ?? '' }} {{ $row->invoice_number }} {{ date('d/m/Y', strtotime($row->date)) }} {{ $row->amount }} @if (!empty($row->attach_document)) {{-- --}} @else

No File

@endif
{{ $row->description }} {{ $row->admin->name ?? '' }}
@endsection @section('ajax') {{-- --}} @endsection