Other minification.

This commit is contained in:
James Cole
2024-01-02 15:41:14 +01:00
parent 97b65ac44c
commit 786b4c18a1
35 changed files with 1256 additions and 180 deletions

View File

@@ -38,16 +38,27 @@ export function createEmptySplit() {
// amount information:
amount: '',
currency_code: 'EUR',
foreign_amount: '',
foreign_currency_code: '',
// source and destination
source_account: getAccount(),
destination_account: getAccount(),
// meta data information:
budget_id: null,
category_name: '',
piggy_bank_id: null,
// date and time
date: formatted,
errors: {
'amount': [],
'foreign_amount': [],
'budget_id': [],
'category_name': [],
'piggy_bank_id': [],
},
};
}