351489e6fc04bf4ffa8ae4caa71a6e9d99ef2cde
[kivitendo-erp.git] / templates / webpages / io / select_item.html
1 [% USE LxERP %][% USE HTML %][% USE L %]
2
3  <div class="listtop">[% title %]</div>
4
5  <form method="post" action="[% HTML.escape(script) %]">
6
7   <table width="100%">
8    <tr class="listheading">
9     <th>&nbsp;</th>
10     <th>[% LxERP.t8('Number') %]</th>
11     <th>[% LxERP.t8('Part Description') %]</th>
12     <th>[% LxERP.t8('Other Matches') %]</th>
13     <th>[% LxERP.t8('Price') %]</th>
14     [%- IF IS_PURCHASE %]
15      <th>[% LxERP.t8('ROP') %]</th>
16     [%- END %]
17     <th>[% LxERP.t8('Qty') %]</th>
18     <th>[% LxERP.t8('Unit') %]</th>
19    </tr>
20
21    [%- FOREACH item = ITEM_LIST %]
22    <tr class="listrow[% loop.count % 2 %]">
23     <td><input name="select_item_id" class="radio" type="radio" value="[% HTML.escape(item.id) %]"[% IF loop.first %] checked[% END %]></td>
24     <td>[% HTML.escape(item.partnumber) %]</td>
25     <td>[% HTML.escape(item.description) %]</td>
26     <td>[% HTML.escape(item.matches).join('<br>') %]</td>
27     <td align="right">[% LxERP.format_amount(item.display_sellprice, 2) %]</td>
28     [%- IF IS_PURCHASE %]
29      <td align="right">[% LxERP.format_amount(item.rop, '') %]</td>
30     [%- END %]
31     <td align="right">[% LxERP.format_amount(item.onhand, '') %]</td>
32     <td>[% HTML.escape(item.unit) %]</td>
33    </tr>
34    [%- END %]
35
36    <tr><td colspan="8"><hr size="3" noshade></td></tr>
37   </table>
38
39   [% L.hidden_tag('select_item_mode', MODE) %]
40   [% L.hidden_tag('select_item_previous_form', PREVIOUS_FORM) %]
41   [% L.hidden_tag('nextsub', 'item_selected') %]
42
43   [% L.submit_tag('action', LxERP.t8('Continue')) %]
44  </form>