From 31cefac18386dcfcc9b0c2548a98f19116618fec Mon Sep 17 00:00:00 2001 From: Padreug Date: Sat, 16 May 2026 23:16:42 +0200 Subject: [PATCH] feat(libra): wire up income submission flow Adds the frontend pair to libra's new POST /entries/income endpoint: SUBMIT_INCOME in PermissionType, IncomeEntry/IncomeEntryRequest types, ExpensesAPI.submitIncome wrapping the new endpoint, and the AddIncome view collecting description / amount / revenue account / payment-method account / currency / reference. Mirrors the existing expense flow so non-admin users can log income on behalf of the organization for super-user review. --- src/accounting-app/views/AddIncome.vue | 394 +++++++++++++++++-- src/modules/expenses/services/ExpensesAPI.ts | 29 ++ src/modules/expenses/types/index.ts | 31 ++ 3 files changed, 423 insertions(+), 31 deletions(-) diff --git a/src/accounting-app/views/AddIncome.vue b/src/accounting-app/views/AddIncome.vue index e3a009f..f9f80a7 100644 --- a/src/accounting-app/views/AddIncome.vue +++ b/src/accounting-app/views/AddIncome.vue @@ -1,7 +1,243 @@ +