@extends('layouts.app') @section('content') @php($base = array_merge(['type'=>'expenses'], request()->query()))

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

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

CSVExcel{{ __('app.print') }}
{{ __('app.total_expenses') }}{{ number_format($summary['total'],2) }}
{{ __('app.records') }}{{ $summary['count'] }}
@forelse($rows as $expense)@empty@endforelse
{{ __('app.date') }}{{ __('app.category') }}{{ __('app.amount') }}{{ __('app.currency') }}{{ __('app.method') }}{{ __('app.description') }}
{{ $expense->expense_date?->format('Y-m-d') }}{{ $expense->category }}{{ number_format($expense->amount,2) }}{{ $expense->currency }}{{ $expense->method }}{{ Str::limit($expense->description,70) }}
{{ __('app.no_records') }}
{{ $rows->links() }} @endsection