X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fpart%2F_basic_data.html;h=fca9bb79efd889f35c1d32589bc3c9507afb80c0;hb=4aa438985bc3b8d48c1350fe729c1ee25548b613;hp=a923d913409698c7f4e6537da91123a398f1cd1b;hpb=9a28383a1193c4705909ea18dd09303dab6557e4;p=kivitendo-erp.git diff --git a/templates/webpages/part/_basic_data.html b/templates/webpages/part/_basic_data.html index a923d9134..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.used_in_record %][% 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) %] |