mirror of
https://github.com/we-promise/sure.git
synced 2026-04-18 19:44:09 +00:00
Allow user to add buy and sell trade transactions for investment accounts (#1066)
* Consolidate modal form structure into partial + helper * Scaffold out trade transaction form * Normalize translations * Add buy and sell trade form with tests * Move entryable lists to dedicated controllers * Delegate entry group contents rendering * More cleanup * Extract transaction and valuation update logic from entries controller * Delegate edit and show actions to entryables * Trade builder * Update paths for transaction updates
This commit is contained in:
1
test/fixtures/account/trades.yml
vendored
1
test/fixtures/account/trades.yml
vendored
@@ -2,3 +2,4 @@ one:
|
||||
security: aapl
|
||||
qty: 10
|
||||
price: 214
|
||||
currency: USD
|
||||
|
||||
Reference in New Issue
Block a user