]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/part/_part_picker_result.html
Presenter: Neue Struktur im Warenstamm umgesetzt
[mfinanz.git] / templates / webpages / part / _part_picker_result.html
index d283e6cac0b891740995af0df46c98ed8fcb0cce..677e772dbea007fb11fe1e4cb07303ae20b5ef93 100644 (file)
@@ -1,6 +1,7 @@
 [%- USE T8 %]
 [%- USE HTML %]
 [%- USE L %]
+[%- USE P %]
 [%- USE LxERP %]
 
 [%# L.dump(SELF.parts) %]
@@ -15,6 +16,7 @@
   <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'>[% part.presenter.typeclass_abbreviation %]</span>
 </div>
 [%- END %]
 
@@ -26,7 +28,3 @@
 <div style='clear:both'></div>
 
 [% L.paginate_controls(target='#part_picker_result', selector='#part_picker_result', models=SELF.models) %]
-
-<script type='text/javascript'>
-  kivi.PartPicker($('#'+$('#part_picker_real_id').val())).init_results()
-</script>