From: Bernd Bleßmann Date: Wed, 7 Dec 2016 16:33:25 +0000 (+0100) Subject: Auftrags-Controller: zweite Zeile nicht als Tabelle, sondern hintereinander. X-Git-Tag: release-3.5.4~1822 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6fa6c3eaefda7429df4069d90ba8d47b4e799ec0;p=kivitendo-erp.git Auftrags-Controller: zweite Zeile nicht als Tabelle, sondern hintereinander. Sonst nehmen die Felder zu viel Platz ein. Das ganze kann man sicher irgendwie mit css besser machen - Vorschläge willkommen. --- 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 %]
[%- '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 -%] - -