web: fix build failures caught by the bot
This commit is contained in:
parent
bff69227f7
commit
7d36789b74
@ -330,7 +330,7 @@ balanceReportAsHtml _ vd@VD{..} (items',total) =
|
|||||||
allaccts = isNothing inacctmatcher
|
allaccts = isNothing inacctmatcher
|
||||||
items = items' -- maybe items' (\m -> filter (matchesAccount m . \(a,_,_,_)->a) items') showacctmatcher
|
items = items' -- maybe items' (\m -> filter (matchesAccount m . \(a,_,_,_)->a) items') showacctmatcher
|
||||||
itemAsHtml :: ViewData -> BalanceReportItem -> HtmlUrl AppRoute
|
itemAsHtml :: ViewData -> BalanceReportItem -> HtmlUrl AppRoute
|
||||||
itemAsHtml _ (acct, adisplay, aindent, abal) = [hamlet|
|
itemAsHtml _ ((acct, adisplay, aindent), abal) = [hamlet|
|
||||||
<tr.item.#{inacctclass}>
|
<tr.item.#{inacctclass}>
|
||||||
<td.account.#{depthclass}>
|
<td.account.#{depthclass}>
|
||||||
\#{indent}
|
\#{indent}
|
||||||
|
|||||||
@ -221,7 +221,7 @@ accountWizard EntryState{..} = do
|
|||||||
withCompletion (accountCompleter esJournal def) $
|
withCompletion (accountCompleter esJournal def) $
|
||||||
defaultTo' def $ -- nonEmpty $
|
defaultTo' def $ -- nonEmpty $
|
||||||
maybeRestartTransaction $
|
maybeRestartTransaction $
|
||||||
line $ green $ printf "Account %d%s%s: " pnum endmsg (showDefault def)
|
line $ green $ printf "Account %d%s%s: " pnum (endmsg::String) (showDefault def)
|
||||||
where
|
where
|
||||||
canfinish = not (null esPostings) && postingsBalanced esPostings
|
canfinish = not (null esPostings) && postingsBalanced esPostings
|
||||||
parseAccountOrDotOrNull _ _ "." = dbg $ Just "." -- . always signals end of txn
|
parseAccountOrDotOrNull _ _ "." = dbg $ Just "." -- . always signals end of txn
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user