X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fpart%2F_basic_data.html;h=fca9bb79efd889f35c1d32589bc3c9507afb80c0;hb=42298d2ceb5206a3d8df0a5cd9989eff5ebb843e;hp=c9a2d69d4828b454ae3a5973a538175b9e9667a1;hpb=e2ef75e554021d66214ad31b7c135243cc50765c;p=kivitendo-erp.git diff --git a/templates/webpages/part/_basic_data.html b/templates/webpages/part/_basic_data.html index c9a2d69d4..fca9bb79e 100644 --- a/templates/webpages/part/_basic_data.html +++ b/templates/webpages/part/_basic_data.html @@ -19,22 +19,16 @@
[% 'Part Number' | $T8 %] | - [% SET readonly = 1 %] - [%- IF !SELF.part.id or SELF.part.orphaned %][% readonly = 0 %][% END %] -[% 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.select_classification('part.classification_id', default => SELF.part.classification_id) %] | +[% 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) %] | - [%- END %] + [% L.areainput_tag("part.description", SELF.part.description, size=40) %]|
[% '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) %] |