yammat/templates/summary.hamlet

35 lines
858 B
Plaintext
Raw Normal View History

2015-04-04 06:46:33 +02:00
$doctype 5
2015-04-10 00:40:58 +02:00
<h3>_{MsgSummary}
2015-04-04 06:46:33 +02:00
$if not $ L.null bevs
<table>
<thead>
<tr>
2015-04-10 00:40:58 +02:00
<th>_{MsgName}
2015-04-24 12:28:45 +02:00
<th>_{MsgVolume}
2015-04-10 00:40:58 +02:00
<th>_{MsgCurrentAmount}
2015-05-19 05:37:22 +02:00
<th>_{MsgCorrectedAmount}
2015-04-10 00:40:58 +02:00
<th>_{MsgAnnouncedStock}
<th>_{MsgValueIn $ appCurrency $ appSettings master}
2015-04-04 06:46:33 +02:00
<th>
$forall (Entity bId bev) <- bevs
<tr>
<td>#{beverageIdent bev}
2015-04-24 12:28:45 +02:00
<td>#{formatIntVolume (beverageMl bev)}
2015-04-04 06:46:33 +02:00
<td>#{beverageAmount bev}
2015-05-19 05:37:22 +02:00
<td>#{beverageCorrectedAmount bev}
2015-04-04 06:46:33 +02:00
<td>#{beverageAlertAmount bev}
2015-04-07 16:30:06 +02:00
<td>#{formatIntCurrency (beveragePrice bev)} #{appCurrency $ appSettings master}
2015-04-04 06:46:33 +02:00
<td><a href=@{ModifyR bId}>bearbeiten
$else
2015-04-10 00:40:58 +02:00
<p>_{MsgNoItems}
2015-04-11 19:44:13 +02:00
<ul>
<li>
<a href=@{InventoryJsonR}>
_{MsgInventoryBackup}
<li>
<a href=@{UploadInventoryJsonR}>
_{MsgRestoreFromBackup}