X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9a28383a1193c4705909ea18dd09303dab6557e4..b30eacc6bbc6f:/templates/webpages/part/_basic_data.html 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) %] |