yammat/templates/summary.hamlet

23 lines
559 B
Text
Raw Normal View History

2015-04-04 04:46:33 +00:00
$doctype 5
<h3>Übersicht
$if not $ L.null bevs
<table>
<thead>
<tr>
<th>Name
<th>aktuelle Anzahl
<th>Meldebestand
2015-04-04 06:18:15 +00:00
<th>Preis in #{appCurrency $ appSettings master}
2015-04-04 04:46:33 +00:00
<th>
$forall (Entity bId bev) <- bevs
<tr>
<td>#{beverageIdent bev}
<td>#{beverageAmount bev}
<td>#{beverageAlertAmount bev}
2015-04-04 06:18:15 +00:00
<td>#{show ((fromIntegral (beveragePrice bev)) / 100)} #{appCurrency $ appSettings master}
2015-04-04 04:46:33 +00:00
<td><a href=@{ModifyR bId}>bearbeiten
$else
<p>keine Getränke vorhanden