<body> entfernt.
[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('Price') %]</th>
13     [%- IF IS_PURCHASE %]
14      <th>[% LxERP.t8('ROP') %]</th>
15     [%- END %]
16     <th>[% LxERP.t8('Qty') %]</th>
17     <th>[% LxERP.t8('Unit') %]</th>
18    </tr>
19
20    [%- FOREACH item = ITEM_LIST %]
21    <tr class="listrow[% loop.count % 2 %]">
22     <td><input name="select_item_id" class="radio" type="radio" value="[% HTML.escape(item.id) %]"[% IF loop.first %] checked[% END %]></td>
23     <td>[% HTML.escape(item.partnumber) %]</td>
24     <td>[% HTML.escape(item.description) %]</td>
25     <td align="right">[% LxERP.format_amount(item.display_sellprice, 2) %]</td>
26     [%- IF IS_PURCHASE %]
27      <td align="right">[% LxERP.format_amount(item.rop, '') %]</td>
28     [%- END %]
29     <td align="right">[% LxERP.format_amount(item.onhand, '') %]</td>
30     <td>[% HTML.escape(item.unit) %]</td>
31    </tr>
32    [%- END %]
33
34    <tr><td colspan="8"><hr size="3" noshade></td></tr>
35   </table>
36
37   [% L.hidden_tag('select_item_mode', MODE) %]
38   [% L.hidden_tag('select_item_previous_form', PREVIOUS_FORM) %]
39   [% L.hidden_tag('nextsub', 'item_selected') %]
40
41   [% L.submit_tag('action', LxERP.t8('Continue')) %]
42  </form>