Make sure all custom fields are included in form.

This commit is contained in:
James Cole
2019-05-12 13:46:20 +02:00
parent 5d09d7e923
commit 7aef52870f
8 changed files with 843 additions and 54 deletions

View File

@@ -145,7 +145,7 @@
v-model="transaction.tags"
></tags>
<!-- custom string fields -->
<custom-transaction-fields></custom-transaction-fields>
<custom-transaction-fields v-model="transaction.custom_fields"></custom-transaction-fields>
<!-- custom date fields -->
@@ -189,6 +189,17 @@
piggy_bank: 0,
budget: 0,
tags: [],
custom_fields: {
"interest_date": "2010-01-01",
"book_date": "",
"process_date": "",
"due_date": "",
"payment_date": "",
"invoice_date": "",
"internal_reference": "",
"notes": "",
"attachments": []
},
foreign_amount: {
amount: "",
currency_id: 0