yammat/templates/journal.hamlet

40 lines
1.2 KiB
Text
Raw Normal View History

2015-04-04 04:46:33 +00:00
$doctype 5
<h3>Journal
$if not $ L.null entries
<table>
<thead>
<tr>
<th>Zeit
<th>Beschreibung
2015-04-04 06:25:10 +00:00
<th>Betrag in #{appCurrency $ appSettings master}
2015-04-09 19:39:39 +00:00
$forall (eTransCash) <- list
$case eTransCash
$of Left trans
<tr>
<td>#{formatTime defaultTimeLocale "%A %F %H:%M" $ transactionTime trans}
<td>#{transactionDescription trans}
<td>#{formatIntCurrency (transactionAmount trans)} #{appCurrency $ appSettings master}
$of Right cash
<tr #check>
<td colspan="2">
2015-04-10 12:50:44 +00:00
Kassensturz vom #{formatTime defaultTimeLocale "%A %F %H:%M" $ cashCheckTime cash}:
<td>#{formatIntCurrency (cashCheckBalance cash)} #{appCurrency $ appSettings master}
2015-04-04 04:46:33 +00:00
<tfoot>
<tr>
<td colspan="2">Gesamtbetrag:
2015-04-09 19:39:39 +00:00
<td>#{formatIntCurrency total} #{appCurrency $ appSettings master}
2015-04-04 04:46:33 +00:00
<p>
2015-04-07 14:30:06 +00:00
Kassenbestand: #{formatIntCurrency (fromIntegral cashBalance)} #{appCurrency $ appSettings master}
2015-04-04 04:46:33 +00:00
<ul>
<li>
<a href=@{PayoutR}>
Aus der Kasse auszahlen
<li>
<a href=@{CashCheckR}>
Kassensturz
2015-04-04 04:46:33 +00:00
$else
<p>Noch keine Bewegungen zu verzeichnen