mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 05:25:24 +02:00
Add Transaction Merchant management (#686)
* Add basid crud for merchant management * Tweak UI and add localization * Fix lint * Add filtering by merchant * Add tests * Add stimulus controller to update avatar in merchant form * Add line between merchant rows * Change default merchant color * Cleanup
This commit is contained in:
parent
7f491f5064
commit
9549182462
27 changed files with 363 additions and 18 deletions
9
test/fixtures/transaction/merchants.yml
vendored
Normal file
9
test/fixtures/transaction/merchants.yml
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
netflix:
|
||||
name: Netflix
|
||||
color: "#fd7f6f"
|
||||
family: dylan_family
|
||||
|
||||
amazon:
|
||||
name: Amazon
|
||||
color: "#fd7f6f"
|
||||
family: dylan_family
|
3
test/fixtures/transactions.yml
vendored
3
test/fixtures/transactions.yml
vendored
|
@ -21,6 +21,7 @@ checking_three:
|
|||
amount: 20
|
||||
account: checking
|
||||
currency: USD
|
||||
merchant: amazon
|
||||
|
||||
checking_four:
|
||||
name: Paycheck
|
||||
|
@ -36,6 +37,7 @@ checking_five:
|
|||
amount: 15
|
||||
account: checking
|
||||
currency: USD
|
||||
merchant: netflix
|
||||
|
||||
# Savings account that has these transactions and valuation overrides
|
||||
savings_one:
|
||||
|
@ -92,6 +94,7 @@ credit_card_three:
|
|||
amount: 20
|
||||
account: credit_card
|
||||
currency: USD
|
||||
merchant: amazon
|
||||
|
||||
credit_card_four:
|
||||
name: CC Payment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue