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.
This commit is contained in:
parent
a2108e5931
commit
b529a72d9e
1 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ window.app = Vue.createApp({
|
||||||
expenseAccount: '',
|
expenseAccount: '',
|
||||||
isEquity: false,
|
isEquity: false,
|
||||||
reference: '',
|
reference: '',
|
||||||
currency: null,
|
currency: 'EUR',
|
||||||
loading: false
|
loading: false
|
||||||
},
|
},
|
||||||
payDialog: {
|
payDialog: {
|
||||||
|
|
@ -973,7 +973,7 @@ window.app = Vue.createApp({
|
||||||
this.expenseDialog.expenseAccount = ''
|
this.expenseDialog.expenseAccount = ''
|
||||||
this.expenseDialog.isEquity = false
|
this.expenseDialog.isEquity = false
|
||||||
this.expenseDialog.reference = ''
|
this.expenseDialog.reference = ''
|
||||||
this.expenseDialog.currency = null
|
this.expenseDialog.currency = 'EUR'
|
||||||
},
|
},
|
||||||
resetReceivableDialog() {
|
resetReceivableDialog() {
|
||||||
this.receivableDialog.selectedUser = ''
|
this.receivableDialog.selectedUser = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue