FIX typos
This commit is contained in:
parent
8d45614571
commit
87e6dcff8f
|
@ -105,7 +105,7 @@ txPair day from to cur val desc =
|
||||||
, dtxDate = day
|
, dtxDate = day
|
||||||
, dtxEntries =
|
, dtxEntries =
|
||||||
[ EntrySet
|
[ EntrySet
|
||||||
{ desTotalValue = val
|
{ desTotalValue = -val
|
||||||
, desCurrency = cur
|
, desCurrency = cur
|
||||||
, desFromEntry0 = entry from
|
, desFromEntry0 = entry from
|
||||||
, desToEntryBal = entry to
|
, desToEntryBal = entry to
|
||||||
|
|
|
@ -495,6 +495,10 @@ deriving instance Show (FieldMatcher T.Text)
|
||||||
data TxSubGetter = TxSubGetter
|
data TxSubGetter = TxSubGetter
|
||||||
{ tsgFromAcnt :: !EntryAcnt
|
{ tsgFromAcnt :: !EntryAcnt
|
||||||
, tsgToAcnt :: !EntryAcnt
|
, tsgToAcnt :: !EntryAcnt
|
||||||
|
, tsgFromComment :: !T.Text
|
||||||
|
, tsgToComment :: !T.Text
|
||||||
|
, tsgFromTags :: ![TagID]
|
||||||
|
, tsgToTags :: ![TagID]
|
||||||
, tsgValue :: !EntryNumGetter
|
, tsgValue :: !EntryNumGetter
|
||||||
, tsgCurrency :: !EntryCur
|
, tsgCurrency :: !EntryCur
|
||||||
, tsgFromEntries :: ![EntryGetter]
|
, tsgFromEntries :: ![EntryGetter]
|
||||||
|
|
|
@ -361,6 +361,10 @@ resolveSubGetter
|
||||||
TxSubGetter
|
TxSubGetter
|
||||||
{ tsgFromAcnt
|
{ tsgFromAcnt
|
||||||
, tsgToAcnt
|
, tsgToAcnt
|
||||||
|
, tsgFromTags
|
||||||
|
, tsgToTags
|
||||||
|
, tsgFromComment
|
||||||
|
, tsgToComment
|
||||||
, tsgValue
|
, tsgValue
|
||||||
, tsgCurrency
|
, tsgCurrency
|
||||||
, tsgFromEntries
|
, tsgFromEntries
|
||||||
|
@ -374,15 +378,15 @@ resolveSubGetter
|
||||||
Entry
|
Entry
|
||||||
{ eAcnt = fa
|
{ eAcnt = fa
|
||||||
, eValue = ()
|
, eValue = ()
|
||||||
, eComment = "" -- TODO actually fill this in
|
, eComment = tsgFromComment
|
||||||
, eTags = [] -- TODO what goes here?
|
, eTags = tsgFromTags
|
||||||
}
|
}
|
||||||
let toEntry =
|
let toEntry =
|
||||||
Entry
|
Entry
|
||||||
{ eAcnt = ta
|
{ eAcnt = ta
|
||||||
, eValue = ()
|
, eValue = ()
|
||||||
, eComment = ""
|
, eComment = tsgToComment
|
||||||
, eTags = []
|
, eTags = tsgToTags
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
EntrySet
|
EntrySet
|
||||||
|
|
Loading…
Reference in New Issue