Presenter: Neue Struktur im Warenstamm umgesetzt
[kivitendo-erp.git] / templates / webpages / part / _multi_items_result.html
1 [%- USE T8 %][%- USE HTML %][%- USE L %][%- USE LxERP %][% USE P %]
2
3 <table id="multi_items">
4     <tr>
5       <td>[% 'for all' | $T8 %]
6       <td>[% L.input_tag("multi_items.all_qty", '', size = 5, class='numeric') %]</td>
7     </tr>
8     <tr>
9       <td colspan="5"><hr></td>
10     </tr>
11     <tr>
12       <th></th>
13       <th>[% 'Qty'       | $T8 %]</th>
14       <th>[% 'Unit'      | $T8 %]</th>
15       <th>[% 'Article'   | $T8 %]</th>
16       <th>[% 'Sellprice' | $T8 %]</th>
17       <th>[% 'Partsgroup' | $T8 %]</th>
18     </tr>
19   [%- FOREACH item = multi_items %]
20     <tr>
21       <td></td>
22       <td>
23         [% L.hidden_tag("add_items[+].parts_id", item.id) %]
24         [% L.input_tag("add_items[].qty_as_number", '', size = 5,
25                        class = 'multi_items_qty numeric') %]
26       </td>
27       <td>[% HTML.escape(item.unit) %]</td>
28       <td>[% item.presenter.part %] [% HTML.escape(item.description) %]</td>
29       <td class="numeric">[% HTML.escape(item.sellprice_as_number) %]</td>
30       <td class="numeric">[% HTML.escape(item.partsgroup.partsgroup) %]</td>
31     </tr>
32   [%- END %]
33 </table>