Layout: title Ausgabe normalisieren
[kivitendo-erp.git] / templates / webpages / io / select_item.html
1 [% USE LxERP %][% USE HTML %][% USE L %]
2 <h1>[% title %]</h1>
3
4  <form method="post" action="[% HTML.escape(script) %]">
5
6   <table width="100%">
7    <tr class="listheading">
8     <th>&nbsp;</th>
9     <th>[% LxERP.t8('Number') %]</th>
10     <th>[% LxERP.t8('Part Description') %]</th>
11     <th>[% LxERP.t8('Other Matches') %]</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>[% HTML.escape(item.matches).join('<br>') %]</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>