From b529a72d9e0c707df81222fe1e76ee0f5e572f6a Mon Sep 17 00:00:00 2001 From: padreug Date: Sat, 1 Nov 2025 08:59:39 +0100 Subject: [PATCH] Sets default currency to EUR Ensures that the currency field defaults to EUR in both the expense and receivable dialogs. This provides a better user experience by pre-selecting a common currency, preventing the user from having to manually choose it every time. --- static/js/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/index.js b/static/js/index.js index 12bcb7b..191799b 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -27,7 +27,7 @@ window.app = Vue.createApp({ expenseAccount: '', isEquity: false, reference: '', - currency: null, + currency: 'EUR', loading: false }, payDialog: { @@ -973,7 +973,7 @@ window.app = Vue.createApp({ this.expenseDialog.expenseAccount = '' this.expenseDialog.isEquity = false this.expenseDialog.reference = '' - this.expenseDialog.currency = null + this.expenseDialog.currency = 'EUR' }, resetReceivableDialog() { this.receivableDialog.selectedUser = ''