From 02f0d77c2173dc5c941f3d214ffe0380be732687 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Thu, 3 Sep 2020 01:58:18 +0200 Subject: [PATCH] add units to the PosReport listview --- .../includes/posreport_list_table.html | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/src/backoffice/templates/includes/posreport_list_table.html b/src/backoffice/templates/includes/posreport_list_table.html index 515ae517..9b1c8787 100644 --- a/src/backoffice/templates/includes/posreport_list_table.html +++ b/src/backoffice/templates/includes/posreport_list_table.html @@ -3,7 +3,6 @@ Date - Pos Responsible DKK Cash iZettle DKK Balance @@ -19,25 +18,24 @@ {% for pr in posreport_list %} {{ pr.date }} - {{ pr.pos.name }} Bank: {{ pr.bank_responsible }}
Pos: {{ pr.pos_responsible }} {{ pr.dkk_sales_izettle }} DKK - {{ pr.bank_count_dkk_start }}
- + {{ pr.dkk_sales_izettle }}
- - {{ pr.bank_count_dkk_end }}
- = {{ pr.dkk_balance }} + {{ pr.bank_count_dkk_start }} DKK
+ + {{ pr.dkk_sales_izettle }} DKK
+ - {{ pr.bank_count_dkk_end }} DKK
+ = {{ pr.dkk_balance }} DKK {{ pr.pos_json_sales.1 }} HAX ({{ pr.pos_json_sales.0 }} tx) {{ pr.hax_sold_izettle }} HAX {{ pr.hax_sold_website }} HAX - {{ pr.bank_start_hax }}
- + {{ pr.pos_json_sales.1 }}
- - {{ pr.hax_sold_izettle }}
- - {{ pr.hax_sold_website }}
- - {{ pr.bank_end_hax }}
- = {{ pr.hax_balance }} + {{ pr.bank_start_hax }} HAX
+ + {{ pr.pos_json_sales.1 }} HAX
+ - {{ pr.hax_sold_izettle }} HAX
+ - {{ pr.hax_sold_website }} HAX
+ - {{ pr.bank_end_hax }} HAX
+ = {{ pr.hax_balance }} HAX {{ pr.allok | truefalseicon }}