Merge Add Transaction Modals #76
danpastori
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue
Right now, we have two modals to add transactions. It'd be nice to have a single source of functionality, this way we can update and re-use the code in multiple places.
How it Happened
I was prototyping some code and needed a quick way to over-ride settings. For example, if I add a transaction on the
/transactions
page, the modal allows you to select the account. If I add a transaction on an individual account page, the account is pre-selected. We should allow for an account to be pre-set and the modal re-used from anywhere.How to Solve
Merge functionality from:
/resources/js/Components/Accounts/AddTransaction.vue
/resources/js/Components/Transactions/AddTransaction.vue
Into
/resources/js/Components/Transactions/AddTransaction.vue
Need to Account For
POST /api/v1/transactions
endpoint)Beta Was this translation helpful? Give feedback.
All reactions