@extends('dashboard.layouts.app') @section('title', __('dashboard.Expenses')) @section('page_heading', __('dashboard.All Expenses')) @section('breadcrumb') @endsection @section('content')

{{ __('dashboard.All Expenses') }}

{{ __('dashboard.Reset') }}
@if($expenses->isEmpty())
{{ __('dashboard.No expenses found.') }}
@else @foreach($expenses as $exp) @endforeach
{{ __('dashboard.ID') }} {{ __('dashboard.Category') }} {{ __('dashboard.Amount') }} {{ __('dashboard.Type') }} {{ __('dashboard.Date') }} {{ __('dashboard.Receipt') }} {{ __('dashboard.Actions') }}
{{ $exp->id }} {{ $exp->category->name ?? '-' }} {{ $exp->amount }} {{ $exp->category->type }} {{ $exp->created_at->format('Y-m-d') }} @if($exp->receipt_file) @else - @endif
{{ $expenses->appends(request()->query())->links() }} @endif
@endsection @section('scripts') @endsection