mirror of
https://github.com/jcreek/bank-statement-analyser.git
synced 2026-07-14 11:23:48 +00:00
Defined the overarching data structure for the accounts and transactions
This commit is contained in:
+21
@@ -11,6 +11,27 @@ export default {
|
|||||||
name: 'app',
|
name: 'app',
|
||||||
components: {
|
components: {
|
||||||
Header
|
Header
|
||||||
|
},
|
||||||
|
data: function() {
|
||||||
|
return {
|
||||||
|
accounts: [
|
||||||
|
{
|
||||||
|
"AccountName": "",
|
||||||
|
"Bank": "",
|
||||||
|
"Transactions": [
|
||||||
|
{
|
||||||
|
"Date": "",
|
||||||
|
"TransactionTypeDescription": "",
|
||||||
|
"Description": "",
|
||||||
|
"OutgoingPayment": true,
|
||||||
|
"Amount": 0,
|
||||||
|
"Balance": 0,
|
||||||
|
"Tags": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user