Artikel aus Belegen anlegen - Artikelklassifizierung berücksichtigen
[kivitendo-erp.git] / templates / webpages / part / _basic_data.html
index 1131c20..4720206 100644 (file)
             <table id="ic3">
              <tr>
               <th align="right">[% 'Part Number' | $T8 %]</th>
-              [% SET readonly = 1 %]
-              [% UNLESS SELF.part.id %][% readonly = 0 %][% END %]
-              <td>[% L.input_tag("part.partnumber", SELF.part.partnumber, size=40, readonly=readonly class="initial_focus") %]</td>
+              <td>[% L.input_tag("part.partnumber", SELF.part.partnumber, size=40, class="initial_focus") %]</td>
              </tr>
              <tr>
               <th align="right">[% 'Part Classification' | $T8 %]</th>
-              <td>[% P.select_classification('part.classification_id', default => SELF.part.classification_id) %]</td>
+              <td>[% P.select_classification('part.classification_id', default => SELF.part.classification_id, type => SELF.parts_classification_filter ) %]</td>
              </tr>
              <tr>
               <th align="right">[% 'Part Description' | $T8 %]</th>
@@ -43,7 +41,7 @@
              </tr>
              <tr>
               [%- IF SELF.all_partsgroups.size %]
-              <th align="right">[% 'Group' | $T8 %]</th>
+              <th align="right">[% 'Partsgroup' | $T8 %]</th>
               <td>[%- L.select_tag('part.partsgroup_id', SELF.all_partsgroups, default=SELF.part.partsgroup_id, title_key='partsgroup', value_key='id', with_empty=1 style='width: 200px') %]</td>
               [% END %]
              </tr>
     <td><hr size="3" noshade></td>
   </tr>
  </table>
-