Files
InvoiceShelf/lang
Darko Gjorgjijoski 119a1712b0 Port expense report grouped itemized view + i18n + return types from master
Ports the net behaviour from three master commits into v3.0 as a single change, because v3.0 has already diverged structurally (controller moved from V1/Admin/Report to Company/Report, blade has its own CSS rework using the bundled fonts partial, and v3.0's App\Facades\Pdf replaces Barryvdh\DomPDF\Facade\Pdf). The three source commits are: 834b53ea (grouped itemized expenses), e22050bc (DomPDF facade + Pint — adapted to v3.0's App\Facades\Pdf), 0e9f18d4 (expenses.uncategorized + pdf_expense_group_total_label i18n keys + View|Response return type).

Controller: replaces the expenseCategories aggregate fetch with an itemized Expense query ordered by date, groups by category name with expenses.uncategorized fallback, and shares an expenseGroups collection of {name, expenses, total} plus the overall totalExpense. Adds expense_category_id to applyFilters. Updates the docblock return type from JsonResponse to View|Response. Keeps v3.0's App\Facades\Pdf.

Blade: replaces the single expenseCategories aggregate table with a per-group itemized table (date / note / amount columns + per-group total line using the new pdf_expense_group_total_label i18n key). Adds the item-table-* CSS classes and removes the old expense-total-table bottom block.

lang/en.json: adds expenses.uncategorized = "Uncategorized" and pdf_expense_group_total_label = "Group total:".
2026-04-07 17:28:34 +02:00
..
2024-03-27 11:00:36 +01:00
2024-03-27 11:00:36 +01:00
2026-03-24 07:44:06 +01:00
2026-03-24 07:44:07 +01:00
2026-03-24 07:44:44 +01:00
2026-03-24 07:44:08 +01:00
2026-03-24 07:44:09 +01:00
2026-03-24 07:44:10 +01:00
2026-03-24 07:44:11 +01:00
2026-03-24 07:44:13 +01:00
2026-03-24 07:44:04 +01:00
2026-03-24 07:44:48 +01:00
2026-03-24 07:44:43 +01:00
2026-03-24 07:44:14 +01:00
2026-03-24 07:44:03 +01:00
2026-03-24 07:44:15 +01:00
2026-04-07 17:12:41 +02:00
2026-03-24 07:44:46 +01:00
2026-03-24 07:44:16 +01:00
2026-03-24 07:44:42 +01:00
2026-03-24 07:44:17 +01:00
2026-03-24 07:44:18 +01:00
2026-03-24 07:44:20 +01:00
2025-09-02 03:20:27 +02:00
2026-03-24 07:44:21 +01:00
2026-03-24 07:44:49 +01:00
2026-03-24 07:44:51 +01:00
2026-03-24 07:44:23 +01:00
2026-03-24 07:44:24 +01:00
2026-03-24 07:44:25 +01:00
2026-03-24 07:44:27 +01:00
2026-03-24 07:44:02 +01:00
2026-03-24 07:44:28 +01:00
2026-03-24 07:44:29 +01:00
2026-03-24 07:44:30 +01:00
2026-03-24 07:44:31 +01:00
2026-03-24 07:44:32 +01:00
2026-03-24 07:44:52 +01:00
2026-03-24 07:44:45 +01:00
2026-03-24 07:44:34 +01:00
2026-03-24 07:44:35 +01:00
2026-03-24 07:44:39 +01:00