X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/ff5279eda2b2e7fb378bfc65ea582b10a06ed604..486d0a3bc8e6ff90823a1b5e0461d0b61c11b771:/templates/webpages/order/tabs/basic_data.html
diff --git a/templates/webpages/order/tabs/basic_data.html b/templates/webpages/order/tabs/basic_data.html
index 26aedd524..c040f11ce 100644
--- a/templates/webpages/order/tabs/basic_data.html
+++ b/templates/webpages/order/tabs/basic_data.html
@@ -213,6 +213,7 @@
[%- 'position' | $T8 %] |
![[%- LxERP.t8('reorder item') %]](image/updown.png) |
![[%- LxERP.t8('delete item') %]](image/close.png) |
+ [%- IF SELF.show_update_button -%]
[%- L.img_tag(src="image/rotate_cw.svg",
alt=LxERP.t8('Update from master data'),
@@ -220,6 +221,7 @@
onclick="if (!confirm('" _ LxERP.t8("Are you sure to update all positions from master data?") _ "')) return false; kivi.Order.update_all_rows_from_master_data();",
id='update_from_master') %]
|
+ [%- END %]
[%- IF SELF.search_cvpartnumber -%]
@@ -240,7 +242,14 @@
[%- FOREACH item = SELF.order.items_sorted %]
- [%- PROCESS order/tabs/_row.html ITEM=item ID=(item.id||item.new_fake_id) TYPE=SELF.type ALL_PRICE_FACTORS=SELF.all_price_factors SEARCH_CVPARTNUMBER=SELF.search_cvpartnumber %]
+ [%- PROCESS order/tabs/_row.html
+ ITEM=item
+ ID=(item.id||item.new_fake_id)
+ TYPE=SELF.type
+ ALL_PRICE_FACTORS=SELF.all_price_factors
+ SEARCH_CVPARTNUMBER=SELF.search_cvpartnumber
+ SHOW_UPDATE_BUTTON=SELF.show_update_button
+ -%]
[%- END %]