From 377f45e263624624b4d8716d5893cb172455eee1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Wed, 31 Mar 2021 06:57:48 +0000 Subject: [PATCH] =?utf8?q?Preiskalkulation=20bei=20Erzeugnisbestandteile,?= =?utf8?q?=20etwas=20=C3=BCbersichtlicher=20gesetzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- templates/webpages/part/_assembly.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/templates/webpages/part/_assembly.html b/templates/webpages/part/_assembly.html index e4d15c7fd..d3eaded6a 100644 --- a/templates/webpages/part/_assembly.html +++ b/templates/webpages/part/_assembly.html @@ -58,6 +58,32 @@ [%- LxERP.format_amount(items_sellprice_sum, 2, 0) %] [%- LxERP.format_amount(items_lastcost_sum, 2, 0) %] + + + + + + + + + + + + [% 'Margepercent' | $T8 %]: + + [%- LxERP.format_amount(100 - (items_lastcost_sum / items_sellprice_sum * 100), 2, 0) %]% + + + + + + + + + + + [% 'Margetotal' | $T8 %]: + [%- LxERP.format_amount(items_sum_diff, 2, 0) %] -- 2.20.1