b1cbeec74079c524c6c57ff1ab5327d4794b2897
[kivitendo-erp.git] / templates / webpages / io / select_item.html
1 [% USE LxERP %][% USE HTML %][% USE L %]
2 <body>
3
4  <div class="listtop">[% title %]</div>
5
6  <form method="post" action="[% HTML.escape(script) %]">
7
8   <table width="100%">
9    <tr class="listheading">
10     <th>&nbsp;</th>
11     <th>[% LxERP.t8('Number') %]</th>
12     <th>[% LxERP.t8('Part Description') %]</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 align="right">[% LxERP.format_amount(item.display_sellprice, 2) %]</td>
27     [%- IF IS_PURCHASE %]
28      <td align="right">[% LxERP.format_amount(item.rop, '') %]</td>
29     [%- END %]
30     <td align="right">[% LxERP.format_amount(item.onhand, '') %]</td>
31     <td>[% HTML.escape(item.unit) %]</td>
32    </tr>
33    [%- END %]
34
35    <tr><td colspan="8"><hr size="3" noshade></td></tr>
36   </table>
37
38   [% L.hidden_tag('select_item_mode', MODE) %]
39   [% L.hidden_tag('select_item_previous_form', PREVIOUS_FORM) %]
40   [% L.hidden_tag('nextsub', 'item_selected') %]
41
42   [% L.submit_tag('action', LxERP.t8('Continue')) %]
43  </form>
44 </body>