X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fpart%2F_basic_data.html;h=9e7fcee4dcac2c98838d95bd533b6122a4802e10;hb=46f028ef78a55580e7e33c2439cedd0e60bde998;hp=1b04cd94f6c6a6f3eed5a17bf88b2e14122f1960;hpb=df41380a9c1150938985322c48ef20fe7f2cd98b;p=kivitendo-erp.git diff --git a/templates/webpages/part/_basic_data.html b/templates/webpages/part/_basic_data.html index 1b04cd94f..9e7fcee4d 100644 --- a/templates/webpages/part/_basic_data.html +++ b/templates/webpages/part/_basic_data.html @@ -19,18 +19,16 @@ - [% SET readonly = 1 %] - [% UNLESS SELF.part.id %][% readonly = 0 %][% END %] - + + + + + - [%- END %] + [% L.areainput_tag("part.description", SELF.part.description, size=40) %] @@ -114,7 +112,7 @@ + [%- 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 %] @@ -123,7 +121,7 @@ + [%- 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 %] @@ -153,7 +151,7 @@ [% IF SELF.all_warehouses.size %] - [% END %] @@ -221,18 +219,13 @@ -
[% PROCESS 'part/_pricegroup_prices.html' %] -
- + [% PROCESS 'part/_customerprices.html' %] [%- UNLESS SELF.part.is_assembly %] -
[% PROCESS 'part/_makemodel.html' %] -
[% END %]
[% 'Part Number' | $T8 %][% L.input_tag("part.partnumber", SELF.part.partnumber, size=40, readonly=readonly class="initial_focus") %][% L.input_tag("part.partnumber", SELF.part.partnumber, size=40, class="initial_focus") %]
[% 'Part Classification' | $T8 %][% P.part.select_classification('part.classification_id', default => SELF.part.classification_id, type => SELF.parts_classification_filter ) %]
[% 'Part Description' | $T8 %] - [%- IF description_area %] - - [%- ELSE %] - [% L.input_tag("part.description", SELF.part.description, size=40) %]
[% '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) %]
[% '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') %]
[% '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) %]

-