@extends('layouts.app') @section('filter-section')

Machine

Expense Type

@lang('app.clearFilters')
@endsection @section('content')
Log Expense
@forelse ($expenses as $row) @empty @endforelse
Machine Expense Date Expense Type Amount Description Actions
{{ $row->machine?->machine_name ?? 'Deleted Machine' }} {{ $row->date ? \Carbon\Carbon::parse($row->date)->format(company()->date_format) : 'N/A' }} {{ ucwords(str_replace('_', ' ', $row->type)) }} {{ global_currency_format($row->amount) }} {{ $row->description ?? 'N/A' }}
{{ $expenses->links() }}
@endsection @push('scripts') @endpush