X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Forder%2Ftabs%2F_second_row.html;h=046224fa10d59d6de338149e0deab22e24deee66;hb=4af0680de7454195d92003613a03dc3eca4d94d2;hp=cb1048d5c642754a777097395f9e2d6a640492d3;hpb=93a613ded9c6372a4b97c9f7e04a7dc9d037392c;p=kivitendo-erp.git diff --git a/templates/webpages/order/tabs/_second_row.html b/templates/webpages/order/tabs/_second_row.html index cb1048d5c..046224fa1 100644 --- a/templates/webpages/order/tabs/_second_row.html +++ b/templates/webpages/order/tabs/_second_row.html @@ -2,8 +2,44 @@ [%- USE HTML %] [%- USE LxERP %] [%- USE L %] +[%- USE P %] + + [%- SET n = 0 %] [%- FOREACH var = ITEM.cvars_by_config %]
+ [%- IF (TYPE == "sales_order" || TYPE == "purchase_order") %] + [%- 'Serial No.' | $T8 %]  + [%- L.input_tag("order.orderitems[].serialnumber", ITEM.serialnumber, size = 15) %]  + [%- END %] + [%- 'Project' | $T8 %]  + [% P.project.picker("order.orderitems[].project_id", ITEM.project_id, size = 15) %]  + [%- IF (TYPE == "sales_order" || TYPE == "purchase_order") %] + [%- 'Reqdate' | $T8 %]  + [% L.date_tag("order.orderitems[].reqdate_as_date", ITEM.reqdate_as_date) %]  + [%- END %] + [%- 'Subtotal' | $T8 %]  + [% L.yes_no_tag("order.orderitems[].subtotal", ITEM.subtotal) %]  + [%- IF (TYPE == "sales_order" || TYPE == "sales_quotation") %] + [%- '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 %]  + [%- L.input_tag("order.orderitems[].lastcost_as_number", + ITEM.lastcost_as_number, + size = 5, + class="recalc reformat_number numeric") %]  + [%- END %] + [%- 'On Hand' | $T8 %]  + + [%- LxERP.format_amount(ITEM.part.onhand_as_number, 2, 0) -%] [%- ITEM.part.unit -%] +   +