X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/4fd03c0080466299b66a6eb56f7db40a9c151612..eab277a411:/templates/webpages/part/_basic_data.html diff --git a/templates/webpages/part/_basic_data.html b/templates/webpages/part/_basic_data.html index 00ee4adf7..9e7fcee4d 100644 --- a/templates/webpages/part/_basic_data.html +++ b/templates/webpages/part/_basic_data.html @@ -23,12 +23,12 @@ [% 'Part Classification' | $T8 %] - [% P.select_classification('part.classification_id', default => SELF.part.classification_id, type => SELF.parts_classification_filter ) %] + [% P.part.select_classification('part.classification_id', default => SELF.part.classification_id, type => SELF.parts_classification_filter ) %] [% 'Part Description' | $T8 %] - [% L.areainput_tag("part.description", SELF.part.description, size=40) %] + [% L.areainput_tag("part.description", SELF.part.description, size=40) %] @@ -112,7 +112,7 @@ [% 'Price Factor' | $T8 %] - [%- L.select_tag('part.price_factor_id', SELF.all_price_factors, default=SELF.part.price_factor_id, title_key='description', value_key='id', with_empty=1) %] + [%- L.select_tag('part.price_factor_id', SELF.all_price_factors, default=SELF.part.price_factor_id, title_key='description', value_key='id', with_empty=1) %] [%- END %] @@ -121,7 +121,7 @@ [% 'Unit' | $T8 %] [%- IF !SELF.part.id or SELF.part.orphaned # same logic as unit_changable %] - [%- L.select_tag('part.unit', SELF.all_units, default=SELF.part.unit, title_key='name', value_key='name') %] + [%- L.select_tag('part.unit', SELF.all_units, default=SELF.part.unit, title_key='name', value_key='name') %] [%- ELSE %] [% L.hidden_tag('part.unit', SELF.part.unit) %] [% HTML.escape(SELF.part.unit) %] [%- END %] @@ -151,7 +151,7 @@ [% IF SELF.all_warehouses.size %] [% 'Default Warehouse' | $T8 %] - [% L.select_tag('part.warehouse_id', SELF.all_warehouses, default=SELF.part.warehouse.id, title_key='description', with_empty=>1) %] + [% L.select_tag('part.warehouse_id', SELF.all_warehouses, default=SELF.part.warehouse.id, title_key='description', with_empty=1) %] [% END %] @@ -219,14 +219,10 @@ -
[% PROCESS 'part/_pricegroup_prices.html' %] -
- + [% PROCESS 'part/_customerprices.html' %] [%- UNLESS SELF.part.is_assembly %] -
[% PROCESS 'part/_makemodel.html' %] -
[% END %]