Basic trade and holdings view (#1271)

* Add trade view

* Lint fix

* Fix stale placeholder variable

* Add holding view
This commit is contained in:
Zach Gollwitzer
2024-10-09 14:59:18 -04:00
committed by GitHub
parent f5cb13b42f
commit 4bfe47540d
25 changed files with 387 additions and 68 deletions

View File

@@ -13,7 +13,8 @@ class TransactionImport < Import
amount: row.signed_amount,
name: row.name,
currency: row.currency,
entryable: Account::Transaction.new(category: category, tags: tags, notes: row.notes),
notes: row.notes,
entryable: Account::Transaction.new(category: category, tags: tags),
import: self
entry.save!