Implement new transaction

This commit is contained in:
2022-02-07 16:17:14 +00:00
parent 95fcb9a586
commit 9dad1dabbd
3 changed files with 71 additions and 68 deletions

View File

@ -21,11 +21,13 @@ export default defineComponent({
method: "POST",
body: JSON.stringify({
budget_id: this.budgetid,
account_id: this.accountid,
date: this.$data.TransactionDate,
payee: this.$data.Payee,
category: this.$data.Category,
memo: this.$data.Memo,
amount: this.$data.Amount
amount: this.$data.Amount,
state: "Uncleared"
}),
headers: this.$store.getters.AuthHeaders,
})