@extends('admin.layout.app') @section('body')
{{-- Alerts --}} @if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif @if ($errors->any())
@endif

Living Expenses

Track basic living costs
{{-- Filters (فقط همدغو ۴ کالمونو ته) --}}
@forelse($expenses as $e) @empty @endforelse
# Date Laborer Description Amount Actions
{{ $e->id }} {{ optional($e->spent_at)->format('Y-m-d') ?? '—' }} {{ optional($e->laborer)->name ?? '—' }} {{ $e->description ?? '—' }} {{ number_format((float) $e->amount, 2) }} {{-- View --}} {{-- Edit --}} {{-- Delete --}}
@csrf @method('DELETE')
No expense records
{{ $expenses->withQueryString()->links() }}
@endsection @section('scripts') @endsection