ProjectPicker: unbenutzte Variable last_unverified_dummy entfernt
[kivitendo-erp.git] / templates / webpages / part / _part_picker_result.html
index 5d9486b..c150a08 100644 (file)
@@ -1,6 +1,7 @@
 [%- USE T8 %]
 [%- USE HTML %]
 [%- USE L %]
+[%- USE P %]
 [%- USE LxERP %]
 
 [%# L.dump(SELF.parts) %]
 <div class='part_picker_part [% FORM.no_paginate ? 'ppp_line' : 'ppp_block' %]'>
   <input type='hidden' class='part_picker_id' value='[% part.id %]'>
   <input type='hidden' class='part_picker_partnumber' value='[% part.partnumber %]'>
-  <input type='hidden' class='part_picker_description' value='[% part.description %]'>
+  <input type='hidden' class='part_picker_description' value='[% part.displayable_name %]'>
   <input type='hidden' class='part_picker_unit' value='[% part.unit %]'>
   <span class='ppp_block_number'>[% part.partnumber | html %]</span>
   <span class='ppp_block_description'>[% part.description | html %]</span>
   <div style='clear:both;'></div>
   <span class='ppp_block_sellprice'>[% 'Sellprice' | $T8 %]: [% part.sellprice_as_number | html %]</span>
+  <span class='ppp_block_description'>[% P.typeclass_abbreviation(part) %]</span>
 </div>
 [%- END %]