{{-- "Прочие расходы" card, rendered both by admin/finances/index.blade.php (initial load) and by FinanceController::saveExpense()'s AJAX branch, which re-renders this partial after add/edit and returns it as data.html for the js-ajax-form handler (layouts/app.blade.php) to swap in via data-replace-target="#expense-form" — needed because a successful edit must flip the form back to "Add" mode, which non-AJAX only happens via the ?edit_expense_id= query param reloading the page. Params: $year, $month, $editExpense, $expenseCategories, $expenseRows, $manualExpenses. --}}
| {{ __('Дата') }} | {{ __('Категория') }} | {{ __('Описание') }} | {{ __('Сумма') }} | {{ __('Действия') }} |
|---|---|---|---|---|
| {{ $e['expense_date'] }} | {{ $e['category'] ?? '—' }} | {{ $e['title'] ?? '—' }} | {{ number_format($e['amount'], 0, ',', ' ') }} ₸ | {{ __('Изменить') }} |
{{ __('Нет прочих расходов за этот период.') }}
@endif