]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/part/_multi_items_result.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / part / _multi_items_result.html
1 [% USE T8 %]
2 [% USE HTML %]
3 [% USE L %]
4 [% USE LxERP %]
5 [% USE P %]
6
7 <table id="multi_items" class="tbl-list">
8   <thead>
9     <tr>
10       <th>[% 'for all' | $T8 %]</th>
11       <th>[% L.input_tag("multi_items.all_qty", '', size=5, class='numeric wi-verysmall') %]</th>
12       <th colspan="4"></th>
13     </tr>
14     <tr>
15       <th></th>
16       <th>[% 'Qty'        | $T8 %]</th>
17       <th>[% 'Unit'       | $T8 %]</th>
18       <th>[% 'Article'    | $T8 %]</th>
19       <th>[% 'Sellprice'  | $T8 %]</th>
20       <th>[% 'Partsgroup' | $T8 %]</th>
21     </tr>
22   </thead>
23   <tbody>
24   [% FOREACH item = multi_items %]
25     <tr>
26       <td></td>
27       <td>
28         [% L.hidden_tag("add_items[+].parts_id", item.id) %]
29         [% L.input_tag("add_items[].qty_as_number", '', size=5, class = 'multi_items_qty numeric wi-verysmall') %]
30       </td>
31       <td>[% HTML.escape(item.unit) %]</td>
32       <td>[% item.presenter.part %] [% HTML.escape(item.description) %]</td>
33       <td class="numeric">[% HTML.escape(item.sellprice_as_number) %]</td>
34       <td class="numeric">[% HTML.escape(item.partsgroup.partsgroup) %]</td>
35     </tr>
36   [% END %]
37   </tbody>
38 </table>