From: Bernd Bleßmann Date: Mon, 5 Dec 2016 13:13:16 +0000 (+0100) Subject: Auftrags-Controller: weitere Felder in zweiter Zeile X-Git-Tag: release-3.5.4~1827 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a143bb853debae00c61b9666e8843cfafda6e3b7;p=kivitendo-erp.git Auftrags-Controller: weitere Felder in zweiter Zeile - Seriennummer - Liefertermin - Option f. Zwischensumme - Listenpreis - Lagerstand (onhand) --- diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index b11e364b9..a24d1d3b5 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -594,7 +594,7 @@ sub action_get_item_longdescription { $_[0]->render(\ $longdescription, { type => 'text' }); } -# load the second row for one or more items (cvars only for now) +# load the second row for one or more items # # This action gets the html code for all items second rows by rendering a template for # the second row and sets the html code via client js. diff --git a/templates/webpages/order/tabs/_second_row.html b/templates/webpages/order/tabs/_second_row.html index cb1048d5c..cc2646ecd 100644 --- a/templates/webpages/order/tabs/_second_row.html +++ b/templates/webpages/order/tabs/_second_row.html @@ -4,6 +4,24 @@ [%- USE L %] + + + + + + + + [%- IF ITEM.order.is_sales %] + + + [%- END %] + + + [%- SET n = 0 %] [%- FOREACH var = ITEM.cvars_by_config %]
[%- 'Serial No.' | $T8 %][%- L.input_tag("order.orderitems[].serialnumber", ITEM.serialnumber, size = 15) %][%- 'Reqdate' | $T8 %][% L.date_tag("order.orderitems[].reqdate", ITEM.reqdate) %][%- 'Subtotal' | $T8 %][% L.yes_no_tag("order.orderitems[].subtotal", ITEM.subtotal) %][%- 'LP' | $T8 %][%- LxERP.format_amount(ITEM.part.listprice, 2, 0) %][%- 'On Hand' | $T8 %] + + [%- LxERP.format_amount(ITEM.part.onhand_as_number, 2, 0) -%] [%- ITEM.part.unit -%] + +