@lang('modules.expenses.reports.expenseSummaryReport')

@lang('app.to')
@lang('app.export')
{{-- --}} {{-- --}} @foreach ($expenses as $expense) {{-- --}} {{-- --}} @endforeach @if ($totalAmount > 0) {{-- --}} @else @endif
@lang('modules.expenses.category') @lang('modules.expenses.total_expense') @lang('modules.expenses.percentage_of_total')
{{ $expense->category->name ?? __('modules.expenses.reports.unknownCategory') }} {{ isset($expense->total_amount) ? currency_format($expense->total_amount) : currency_format(0) }} {{ $totalAmount > 0 && isset($expense->total_amount) ? number_format(($expense->total_amount / $totalAmount) * 100, 2) . '%' : '-' }}
@lang('modules.order.total') {{ currency_format($totalAmount) }}
@lang('modules.expenses.reports.NoReportsFound')
@script @endscript