X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/28a7a5397bb2363fe72f9f43759d429535e29391..b8741ec3:/templates/webpages/order/tabs/_row.html diff --git a/templates/webpages/order/tabs/_row.html b/templates/webpages/order/tabs/_row.html index 88888e9db..b59ffb45c 100644 --- a/templates/webpages/order/tabs/_row.html +++ b/templates/webpages/order/tabs/_row.html @@ -2,11 +2,18 @@ [%- USE HTML %] [%- USE LxERP %] [%- USE L %] +[%- USE P %] - - - - + + + + [%- IF MYCONFIG.show_form_details %] + [% L.img_tag(src="image/collapse.svg", + alt=LxERP.t8('Hide details'), title=LxERP.t8('Hide details'), class="expand") %] + [%- ELSE %] + [% L.img_tag(src="image/expand.svg", + alt=LxERP.t8('Show details'), title=LxERP.t8('Show details'), class="expand") %] + [%- END %] [% L.hidden_tag("orderitem_ids[+]", ID) %] [% L.hidden_tag("order.orderitems[+].id", ITEM.id, id='item_' _ ID) %] [% L.hidden_tag("order.orderitems[].parts_id", ITEM.parts_id) %] @@ -27,6 +34,9 @@
[% HTML.escape(ITEM.part.partnumber) %]
+ +
[% P.typeclass_abbreviation(ITEM.part) %]
+ [% L.input_tag("order.orderitems[].description", ITEM.description, @@ -100,11 +110,17 @@ - + -
- [%- LxERP.t8("Loading...") %] -
+ [%- IF MYCONFIG.show_form_details %] +
+ [%- PROCESS order/tabs/_second_row.html ITEM=ITEM %] +
+ [%- ELSE %] +
+ [%- LxERP.t8("Loading...") %] +
+ [%- END %]