yammat/templates/summary.hamlet

31 lines
708 B
Text
Raw Normal View History

2015-04-04 04:46:33 +00:00
$doctype 5
2015-04-09 22:40:58 +00:00
<h3>_{MsgSummary}
2015-04-04 04:46:33 +00:00
$if not $ L.null bevs
<table>
<thead>
<tr>
2015-04-09 22:40:58 +00:00
<th>_{MsgName}
<th>_{MsgCurrentAmount}
<th>_{MsgAnnouncedStock}
<th>_{MsgValueIn $ 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-07 14:30:06 +00:00
<td>#{formatIntCurrency (beveragePrice bev)} #{appCurrency $ appSettings master}
2015-04-04 04:46:33 +00:00
<td><a href=@{ModifyR bId}>bearbeiten
$else
2015-04-09 22:40:58 +00:00
<p>_{MsgNoItems}
2015-04-11 17:44:13 +00:00
<ul>
<li>
<a href=@{InventoryJsonR}>
_{MsgInventoryBackup}
<li>
<a href=@{UploadInventoryJsonR}>
_{MsgRestoreFromBackup}