@@ -137,22 +155,31 @@
- |
+
+ [%- IF MYCONFIG.show_form_details %]
+ [%- L.img_tag(src="image/collapse.svg", alt=LxERP.t8('Hide all details'), title=LxERP.t8('Hide all details'), id='expand_all', "data-expanded"="1") %]
+ [%- ELSE %]
+ [%- L.img_tag(src="image/expand.svg", alt=LxERP.t8('Show all details'), title=LxERP.t8('Show all details'), id='expand_all') %]
+ [%- END %]
+ |
+ [%- 'position' | $T8 %] |
![[%- LxERP.t8('reorder item') %]](image/updown.png) |
![[%- LxERP.t8('delete item') %]](image/close.png) |
- [%- 'Partnumber' | $T8 %] |
- [%- 'Description' | $T8 %] |
- [%- 'Qty' | $T8 %] |
+
+
+
+
[%- 'Price Factor' | $T8 %] |
[%- 'Unit' | $T8 %] |
- [%- 'Price' | $T8 %] |
- [%- 'Discount' | $T8 %] |
+ [%- 'Price Source' | $T8 %] |
+
+
[%- 'Extended' | $T8 %] |
[%- FOREACH item = SELF.order.items_sorted %]
- [%- PROCESS order/tabs/_row.html ITEM=item %]
+ [%- PROCESS order/tabs/_row.html ITEM=item ID=item.id ALL_PRICE_FACTORS=SELF.all_price_factors %]
[%- END %]
@@ -210,16 +237,21 @@
|
- [%- IF NOT taxincluded %]
-
+
+ |
+
+ [% L.yes_no_tag('order.taxincluded', SELF.order.taxincluded, class='recalc') %]
+ |
+
+
+
| [%- 'Subtotal' | $T8 %] |
[%- L.div_tag(SELF.order.netamount_as_number, id='netamount_id') %]
|
- [%- END %]
[%- FOREACH tax = SELF.taxes %]
- [%- PROCESS order/tabs/_tax_row.html TAX=tax %]
+ [%- PROCESS order/tabs/_tax_row.html TAX=tax TAXINCLUDED=SELF.order.taxincluded %]
[%- END %]
| [%- 'Total' | $T8 %] |
@@ -239,96 +271,4 @@
-
[% L.sortable_element('#row_table_id') %]
-
-
|