X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/4db13ebb44454523e8fab2d1cfa034e28a059ec0..b30eacc6bbc6f:/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 cad409f97..11735808d 100644 --- a/templates/webpages/order/tabs/basic_data.html +++ b/templates/webpages/order/tabs/basic_data.html @@ -213,13 +213,16 @@ [%- 'position' | $T8 %] [%- LxERP.t8('reorder item') %] [%- LxERP.t8('delete item') %] - [%- 'Partnumber' | $T8 %] - [%- 'Type' | $T8 %] - [%- 'Description' | $T8 %] + [%- 'Partnumber' | $T8 %] + [%- IF SELF.search_cvpartnumber -%] + [%- SELF.cv == "customer" ? LxERP.t8('Customer Part Number') : LxERP.t8('Model') %] + [%- END -%] + [%- 'Type' | $T8 %] + [%- 'Description' | $T8 %] [%- IF (SELF.type == "sales_order" || SELF.type == "purchase_order") -%] - [%- 'Delivered' | $T8 %] + [%- 'Delivered' | $T8 %] [%- END -%] - [%- 'Qty' | $T8 %] + [%- 'Qty' | $T8 %] [%- 'Price Factor' | $T8 %] [%- 'Unit' | $T8 %] [%- 'Price Source' | $T8 %] @@ -230,7 +233,7 @@ [%- 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 %] + [%- 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 %] [%- END %]