@extends('layouts.app') @section('title', __('app.expenses')) @section('content')

{{ __('app.expenses') }}

{{ __('app.expense_hint') }}

โž• {{ __('app.add_expense') }}๐Ÿ“Š {{ __('app.expense_report') }}
๐Ÿ’ธ{{ __('app.total_expenses') }}{{ number_format($total,2) }}
๐Ÿงพ{{ __('app.records') }}{{ $expenses->total() }}
@forelse($expenses as $expense)@empty@endforelse
{{ __('app.date') }}{{ __('app.category') }}{{ __('app.amount') }}{{ __('app.currency') }}{{ __('app.method') }}{{ __('app.description') }}{{ __('app.action') }}
{{ $expense->expense_date?->format('Y-m-d') }}{{ $expense->category }}{{ number_format($expense->amount,2) }}{{ $expense->currency ?? 'AFN' }}{{ $expense->method }}{{ Str::limit($expense->description, 70) }} {{ __('app.edit') }}
@csrf @method('delete')
{{ __('app.no_records') }}
{{ $expenses->links() }} @endsection