web: fix build failures caught by the bot

This commit is contained in:
Simon Michael 2014-03-19 08:45:52 -07:00
parent bff69227f7
commit 7d36789b74
2 changed files with 2 additions and 2 deletions

View File

@ -330,7 +330,7 @@ balanceReportAsHtml _ vd@VD{..} (items',total) =
allaccts = isNothing inacctmatcher
items = items' -- maybe items' (\m -> filter (matchesAccount m . \(a,_,_,_)->a) items') showacctmatcher
itemAsHtml :: ViewData -> BalanceReportItem -> HtmlUrl AppRoute
itemAsHtml _ (acct, adisplay, aindent, abal) = [hamlet|
itemAsHtml _ ((acct, adisplay, aindent), abal) = [hamlet|
<tr.item.#{inacctclass}>
<td.account.#{depthclass}>
\#{indent}

View File

@ -221,7 +221,7 @@ accountWizard EntryState{..} = do
withCompletion (accountCompleter esJournal def) $
defaultTo' def $ -- nonEmpty $
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
canfinish = not (null esPostings) && postingsBalanced esPostings
parseAccountOrDotOrNull _ _ "." = dbg $ Just "." -- . always signals end of txn