$doctype 5

Journal $if not $ L.null entries
Zeit Beschreibung Betrag in #{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
Kassensturz vom #{formatTime defaultTimeLocale "%A %F %H:%M" $ cashCheckTime cash}: #{formatIntCurrency (cashCheckBalance cash)} #{appCurrency $ appSettings master}
Gesamtbetrag: #{formatIntCurrency total} #{appCurrency $ appSettings master}

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