]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/part/_basic_data.html
Filesystem Wurzelverzeichnis nun in kivitendo.conf
[mfinanz.git] / templates / webpages / part / _basic_data.html
index 0fb2b3bf64dbb919dba3441cae043e00e9d1825b..38b15d2e5caec191273fd0cfa4913f355c198404 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>
              </tr>
              <tr>
               <th align="right">[% 'Part Description' | $T8 %]</th>
@@ -39,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>
-