yammat/templates/journal.hamlet

33 lines
898 B
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-04 04:46:33 +00:00
$forall (Entity eId entry) <- entries
<tr>
<td>#{formatTime defaultTimeLocale "%A %F %H:%M" $ transactionTime entry}
<td>#{transactionDescription entry}
2015-04-07 14:30:06 +00:00
<td>#{formatIntCurrency (transactionAmount entry)} #{appCurrency $ appSettings master}
2015-04-04 04:46:33 +00:00
<tfoot>
<tr>
<td colspan="2">Gesamtbetrag:
2015-04-07 14:30:06 +00:00
<td>#{formatIntCurrency (fromIntegral 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