scottohara / loot

An implementation of some of the core MS Money features in Ruby on Rails
MIT License
4 stars 3 forks source link

Import transaction flags #12

Closed scottohara closed 10 years ago

scottohara commented 10 years ago

Model changes rails g model TransactionFlag

references transaction string comment

Import SELECT XBAG.szMemo FROM TRN.ihtrn = XBAG.ihobj AND XBAG.bt = 0

Icon to indicate flagged transaction (glyphicon-flag)

scottohara commented 10 years ago

Model changes & import done. TODO: UI icon, ability to flag a transaction (modal to capture memo)

In ledger JSON, need to include "flag: xxxx" attribute flagged transactions. If transaction.flag attribute is present, show flag icon with tooltip for memo

Need to ensure that flags are preserved when editing transactions (particular for subtransfers, as we delete/reinsert children on edit)

scottohara commented 10 years ago

All done, except:

Need to ensure that flags are preserved when editing transactions (particular for subtransfers, as we delete/reinsert children on edit)