From 350c8dd0d0559af8ce008326f4d46eb8b6edde64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCnrher?= Date: Mon, 7 Sep 2026 12:10:12 +0200 Subject: [PATCH] better handling payment purpose --- .../CostUnit/Views/Partials/ListInvoices.vue | 7 +- .../CreateIncomeSurplusStatementCommand.php | 19 +-- .../myInvoiceDetails/ListInvoices.vue | 5 +- app/Models/Invoice.php | 21 +++ app/Resources/InvoiceResource.php | 1 + .../EventIncomeSurplusStatementTest.php | 30 +++- tests/Feature/InvoicePurposeTest.php | 133 ++++++++++++++++++ 7 files changed, 202 insertions(+), 14 deletions(-) create mode 100644 tests/Feature/InvoicePurposeTest.php diff --git a/app/Domains/CostUnit/Views/Partials/ListInvoices.vue b/app/Domains/CostUnit/Views/Partials/ListInvoices.vue index 2673fad..2933661 100644 --- a/app/Domains/CostUnit/Views/Partials/ListInvoices.vue +++ b/app/Domains/CostUnit/Views/Partials/ListInvoices.vue @@ -89,12 +89,13 @@