yammat/templates/summary.hamlet

35 lines
860 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}
2015-04-24 10:28:45 +00:00
<th>_{MsgVolume}
2015-04-09 22:40:58 +00:00
<th>_{MsgCurrentAmount}
2015-05-19 03:37:22 +00:00
<th>_{MsgCorrectedAmount}
2015-04-09 22:40:58 +00:00
<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}
2015-04-24 10:28:45 +00:00
<td>#{formatIntVolume (beverageMl bev)}
2015-04-04 04:46:33 +00:00
<td>#{beverageAmount bev}
2015-05-19 03:37:22 +00:00
<td>#{beverageCorrectedAmount bev}
2015-04-04 04:46:33 +00:00
<td>#{beverageAlertAmount bev}
2015-04-07 14:30:06 +00:00
<td>#{formatIntCurrency (beveragePrice bev)} #{appCurrency $ appSettings master}
2015-10-11 20:37:54 +00:00
<td><a href=@{ModifyR bId}>_{MsgModify}
2015-04-04 04:46:33 +00:00
$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}