yammat/templates/summary.hamlet
2015-04-10 01:30:25 +02:00

22 lines
562 B
Text

$doctype 5
<h3>_{MsgSummary}
$if not $ L.null bevs
<table>
<thead>
<tr>
<th>_{MsgName}
<th>_{MsgCurrentAmount}
<th>_{MsgAnnouncedStock}
<th>_{MsgValueIn $ appCurrency $ appSettings master}
<th>
$forall (Entity bId bev) <- bevs
<tr>
<td>#{beverageIdent bev}
<td>#{beverageAmount bev}
<td>#{beverageAlertAmount bev}
<td>#{formatIntCurrency (beveragePrice bev)} #{appCurrency $ appSettings master}
<td><a href=@{ModifyR bId}>bearbeiten
$else
<p>_{MsgNoItems}