show your work young man

This commit is contained in:
Thomas Steen Rasmussen 2020-09-03 00:55:37 +02:00
parent 7550895fef
commit 31d399bf5a
2 changed files with 44 additions and 2 deletions

View file

@ -30,7 +30,14 @@
<td>{{ pr.pos_json_sales.1 }} HAX ({{ pr.pos_json_sales.0 }} tx)</td> <td>{{ pr.pos_json_sales.1 }} HAX ({{ pr.pos_json_sales.0 }} tx)</td>
<td>{{ pr.hax_sold_izettle }} HAX</td> <td>{{ pr.hax_sold_izettle }} HAX</td>
<td>{{ pr.hax_sold_website }} HAX</td> <td>{{ pr.hax_sold_website }} HAX</td>
<td>{{ pr.hax_balance }} HAX</td> <td class="text-right">
{{ pr.bank_start_hax }}<br>
+ {{ pr.pos_json_sales.1 }}<br>
- {{ pr.hax_sold_izettle }}<br>
- {{ pr.hax_sold_website }}<br>
- {{ pr.bank_end_hax }}<br>
<b>= {{ pr.hax_balance }}</b>
</td>
<td class="text-center">{{ pr.allok | truefalseicon }}</td> <td class="text-center">{{ pr.allok | truefalseicon }}</td>
<td> <td>
<div class="btn-group-vertical"> <div class="btn-group-vertical">

View file

@ -65,7 +65,42 @@ PosReport {{ posreport.date }} {{ posreport.pos.name }} | Pos | BackOffice | {{
</tr> </tr>
<tr> <tr>
<th>Hax Balance (we want 0 here)</th> <th>Hax Balance (we want 0 here)</th>
<td>{{ posreport.hax_balance }} HAX</td> <td>
<table class="table table-condensed">
<tbody>
<tr>
<td class="text-right">&nbsp;</td>
<td class="text-right">{{ posreport.bank_start_hax }} HAX</td>
<td>Bank start</td>
</tr>
<tr>
<td class="text-right">+</td>
<td class="text-right">{{ posreport.pos_json_sales.1 }} HAX</td>
<td>POS Sales</td>
</tr>
<tr>
<td class="text-right">-</td>
<td class="text-right">{{ posreport.hax_sold_izettle }} HAX</td>
<td>Sold from iZettle</td>
</tr>
<tr>
<td class="text-right">-</td>
<td class="text-right">{{ posreport.hax_sold_website }} HAX</td>
<td>Sold from webshop tickets</td>
</tr>
<tr>
<td class="text-right">-</td>
<td class="text-right">{{ posreport.bank_end_hax }} HAX</td>
<td>Returned to the bank at day end</td>
</tr>
<tr>
<td class="text-right">=</td>
<td class="text-right"><b>{{ posreport.hax_balance }} HAX</b></td>
<td><b>Final balance.<br>Negative means the POS returned too many HAX, positive means the POS returned too few HAX.</b></td>
</tr>
</tbody>
</table>
</td>
</tr> </tr>
<tr> <tr>
<th>Comments</th> <th>Comments</th>