WIP remove tags from tx

This commit is contained in:
Nathan Dwarshuis 2023-02-26 22:56:32 -05:00
parent 4eae92eb01
commit 873211c822
3 changed files with 1 additions and 4 deletions

View File

@ -490,7 +490,6 @@ txPair day from to cur val desc = resolveTx tx
Tx
{ txDescr = desc
, txDate = day
, txTags = []
, txSplits = [split from (-val), split to val]
}

View File

@ -385,7 +385,6 @@ instance FromDhall ExpSplit
data Tx s = Tx
{ txDescr :: !T.Text
, txDate :: !Day
, txTags :: ![T.Text]
, txSplits :: ![s]
}
deriving (Generic)

View File

@ -173,8 +173,7 @@ toTx sc sa toSplits r@TxRecord {trAmount, trDate, trDesc} =
, sTags = [] -- TODO what goes here?
}
in Tx
{ txTags = []
, txDate = trDate
{ txDate = trDate
, txDescr = trDesc
, txSplits = fromSplit : ss_
}