mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 05:25:24 +02:00
Preserve original transaction names when enriching (#1556)
* Preserve original transaction name * Remove stale method * Fix tests
This commit is contained in:
parent
68617514b0
commit
7be6a372bf
22 changed files with 100 additions and 76 deletions
|
@ -48,10 +48,6 @@ class Account::Transaction < ApplicationRecord
|
|||
end
|
||||
end
|
||||
|
||||
def name
|
||||
entry.name || (entry.amount.positive? ? "Expense" : "Income")
|
||||
end
|
||||
|
||||
def eod_balance
|
||||
entry.amount_money
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue