yammat/templates/summary.hamlet
2015-04-04 08:18:15 +02:00

22 lines
559 B
Text

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