From 6fa6c3eaefda7429df4069d90ba8d47b4e799ec0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 7 Dec 2016 17:33:25 +0100 Subject: [PATCH] Auftrags-Controller: zweite Zeile nicht als Tabelle, sondern hintereinander. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Sonst nehmen die Felder zu viel Platz ein. Das ganze kann man sicher irgendwie mit css besser machen - Vorschläge willkommen. --- .../webpages/order/tabs/_second_row.html | 45 +++++++++---------- 1 file changed, 20 insertions(+), 25 deletions(-) diff --git a/templates/webpages/order/tabs/_second_row.html b/templates/webpages/order/tabs/_second_row.html index cdda34765..9e1370858 100644 --- a/templates/webpages/order/tabs/_second_row.html +++ b/templates/webpages/order/tabs/_second_row.html @@ -4,42 +4,37 @@ [%- USE L %] - - - - - - - - - + - - - - - + class="recalc reformat_number numeric") %]  [%- END %] - - - +   + + [%- SET n = 0 %] [%- FOREACH var = ITEM.cvars_by_config %] -- 2.20.1
[%- 'Serial No.' | $T8 %][%- L.input_tag("order.orderitems[].serialnumber", ITEM.serialnumber, size = 15) %][%- 'Project' | $T8 %][% L.project_picker("order.orderitems[].project_id", ITEM.project_id, size = 15) %][%- 'Reqdate' | $T8 %][% L.date_tag("order.orderitems[].reqdate", ITEM.reqdate) %][%- 'Subtotal' | $T8 %][% L.yes_no_tag("order.orderitems[].subtotal", ITEM.subtotal) %]
+ [%- 'Serial No.' | $T8 %]  + [%- L.input_tag("order.orderitems[].serialnumber", ITEM.serialnumber, size = 15) %]  + [%- 'Project' | $T8 %]  + [% L.project_picker("order.orderitems[].project_id", ITEM.project_id, size = 15) %]  + [%- 'Reqdate' | $T8 %]  + [% L.date_tag("order.orderitems[].reqdate", ITEM.reqdate) %]  + [%- 'Subtotal' | $T8 %]  + [% L.yes_no_tag("order.orderitems[].subtotal", ITEM.subtotal) %]  [%- IF ITEM.order.is_sales %] - [%- 'Ertrag' | $T8 %] -
+ [%- 'Ertrag' | $T8 %]  + [%- LxERP.format_amount(ITEM.marge_total, 2, 0) %]   [%- LxERP.format_amount(ITEM.marge_percent, 2, 0) %]% -
-
[%- 'LP' | $T8 %][%- LxERP.format_amount(ITEM.part.listprice, 2, 0) %][%- 'EK' | $T8 %] +   + [%- 'LP' | $T8 %]  + [%- LxERP.format_amount(ITEM.part.listprice, 2, 0) %]  + [%- 'EK' | $T8 %]  [%- L.input_tag("order.orderitems[].lastcost_as_number", ITEM.lastcost_as_number, size = 5, - class="recalc reformat_number numeric") %] - [%- 'On Hand' | $T8 %] + [%- 'On Hand' | $T8 %]  [%- LxERP.format_amount(ITEM.part.onhand_as_number, 2, 0) -%] [%- ITEM.part.unit -%] - -