Part Controller - Erzeugnisbestandteile können keine Einheiten
[kivitendo-erp.git] / templates / webpages / part / _assembly_row.html
index 82e5c46..e57215e 100644 (file)
@@ -24,6 +24,9 @@
     <td nowrap>
        [% P.part(ITEM.part) %]
     </td>
+    <td nowrap>
+       [% P.type_abbreviation(ITEM.part.part_type) %][% P.classification_abbreviation(ITEM.part.classification_id) %]
+    </td>
     <td>
        [% HTML.escape(ITEM.part.description) %]
     </td>
     [% END %]
     </td>
     <td nowrap>
-    [% IF orphaned %]
-      [%- L.select_tag("assembly_items[].unit",
-                      ITEM.part.available_units,
-                      default = ITEM.part.unit,
-                      title_key = 'name',
-                      value_key = 'name',
-                      class = 'unitselect') %]
-    [% ELSE %]
       [% ITEM.part.unit | html %]
-    [% END %]
     </td>
     [% IF orphaned %]
     <td>[% L.checkbox_tag("assembly_items[].bom", checked=ITEM.bom, for_submit=1) %]</td>