@extends('admin.layout') @section('content')

Expenses

Track and manage business expenses

Add Expense
@if(request('search') || request('category') || request('start_date') || request('end_date')) Clear @endif

Total Expenses

${{ number_format($totalAmount, 2) }}

@forelse($expenses as $expense) @empty @endforelse
Date Category Description Amount Payment Method Recorded By Actions
{{ $expense->expense_date->format('M d, Y') }}
{{ ucfirst($expense->category) }}
{{ $expense->description }}
@if($expense->notes)
{{ $expense->notes }}
@endif
${{ number_format($expense->amount, 2) }}
{{ ucfirst($expense->payment_method) }}
{{ $expense->user->name }}
Edit
@csrf @method('DELETE')

No expenses found

@if(request('search') || request('category') || request('start_date') || request('end_date')) Try adjusting your filters to see more results. @else Get started by recording your first expense. @endif

@if($expenses->hasPages())
{{ $expenses->links() }}
@endif
@endsection