@extends('layouts.admin') @section('title', 'Expenses') @section('content') @php $currency = \App\Models\Hotel::query()->value('currency') ?? 'USD'; @endphp New
@forelse($expenses as $e)@empty@endforelse
DateTitleCategoryAmountDepartmentStatus
{{ $e->expense_date?->format('M j, Y') }}{{ $e->title }}{{ $e->category }}{{ $currency }} {{ number_format($e->amount, 2) }}{{ $e->department?->name ?? '—' }} View
No expenses found.
{{ $expenses->links() }}
@endsection