$doctype 5

Journal $if not $ L.null entries
_{MsgTime} _{MsgDescription} _{MsgValueIn $ appCurrency $ appSettings master} $forall (eTransCash) <- list $case eTransCash $of Left trans
#{formatTime defaultTimeLocale "%A %F %H:%M" $ transactionTime trans} #{transactionDescription trans} #{formatIntCurrency (transactionAmount trans)} #{appCurrency $ appSettings master} $of Right cash
_{MsgCashCheckOf $ formatTime defaultTimeLocale "%A %F %H:%M" $ cashierCreated cash}: #{formatIntCurrency (cashierBalance cash)} #{appCurrency $ appSettings master}
_{MsgTotalValue}: #{formatIntCurrency (fromIntegral total)} #{appCurrency $ appSettings master}

_{MsgCashStock}: #{formatIntCurrency (fromIntegral cashBalance)} #{appCurrency $ appSettings master}