Presenter: Neue Struktur im Warenstamm umgesetzt
[kivitendo-erp.git] / templates / webpages / part / _part_picker_result.html
1 [%- USE T8 %]
2 [%- USE HTML %]
3 [%- USE L %]
4 [%- USE P %]
5 [%- USE LxERP %]
6
7 [%# L.dump(SELF.parts) %]
8
9 [% BLOCK part_block %]
10 <div class='part_picker_part [% FORM.no_paginate ? 'ppp_line' : 'ppp_block' %]'>
11   <input type='hidden' class='part_picker_id' value='[% part.id %]'>
12   <input type='hidden' class='part_picker_partnumber' value='[% part.partnumber %]'>
13   <input type='hidden' class='part_picker_description' value='[% part.displayable_name %]'>
14   <input type='hidden' class='part_picker_unit' value='[% part.unit %]'>
15   <span class='ppp_block_number'>[% part.partnumber | html %]</span>
16   <span class='ppp_block_description'>[% part.description | html %]</span>
17   <div style='clear:both;'></div>
18   <span class='ppp_block_sellprice'>[% 'Sellprice' | $T8 %]: [% part.sellprice_as_number | html %]</span>
19   <span class='ppp_block_description'>[% part.presenter.typeclass_abbreviation %]</span>
20 </div>
21 [%- END %]
22
23
24 [% FOREACH part = SELF.parts %]
25   [% PROCESS part_block %]
26 [% END %]
27
28 <div style='clear:both'></div>
29
30 [% L.paginate_controls(target='#part_picker_result', selector='#part_picker_result', models=SELF.models) %]