yammat/templates/journal.hamlet

33 lines
898 B
Plaintext
Raw Normal View History

2015-04-04 06:46:33 +02:00
$doctype 5
<h3>Journal
$if not $ L.null entries
<table>
<thead>
<tr>
<th>Zeit
<th>Beschreibung
2015-04-04 08:25:10 +02:00
<th>Betrag in #{appCurrency $ appSettings master}
2015-04-04 06:46:33 +02:00
$forall (Entity eId entry) <- entries
<tr>
<td>#{formatTime defaultTimeLocale "%A %F %H:%M" $ transactionTime entry}
<td>#{transactionDescription entry}
2015-04-07 16:30:06 +02:00
<td>#{formatIntCurrency (transactionAmount entry)} #{appCurrency $ appSettings master}
2015-04-04 06:46:33 +02:00
<tfoot>
<tr>
<td colspan="2">Gesamtbetrag:
2015-04-07 16:30:06 +02:00
<td>#{formatIntCurrency (fromIntegral total)} #{appCurrency $ appSettings master}
2015-04-04 06:46:33 +02:00
<p>
2015-04-07 16:30:06 +02:00
Kassenbestand: #{formatIntCurrency (fromIntegral cashBalance)} #{appCurrency $ appSettings master}
2015-04-04 06:46:33 +02:00
<ul>
<li>
<a href=@{PayoutR}>
Aus der Kasse auszahlen
<li>
<a href=@{CashCheckR}>
Kassensturz
2015-04-04 06:46:33 +02:00
$else
<p>Noch keine Bewegungen zu verzeichnen