30b87df3c05432553e946d03229a39244fc3ae9f
[kivitendo-erp.git] / templates / webpages / generic / print_options.html
1 [%- USE T8 %]
2 [% USE HTML %]
3
4 <table width="100%" cellspacing="0" cellpadding="0">
5  <tr>
6   <td>
7    <table>
8     [%- IF show_headers %]
9     <tr>
10      [%- FOREACH row = SELECTS %]
11      [%- IF row.show %]
12      <th align="left" id="print_options_header_[% row.sname %]">[%- row.hname %]</th>
13      [%- END %]
14      [%- END %]
15      [%- IF display_copies %]
16      <th align="left" id="print_options_header_copies">[% 'Copies' | $T8 %]</th>
17      [%- END %]
18      [%- IF display_groupitems %]
19      <th align="left" id="print_options_header_groupitems">[% 'Group Items' | $T8 %]</th>
20      [%- END %]
21      [%- IF display_remove_draft %]
22      <th align="left" id="print_options_header_remove_draft">[% 'Remove Draft' | $T8 %]</th>
23      [%- END %]
24     </tr>
25     [%- END %]
26     <tr>
27      [%- FOREACH row = SELECTS %]
28      [%- IF row.show %]
29      <td id="print_options_input_[% row.sname %]">
30       <select name="[%- name_prefix %][%- row.sname %]" id="[%- id_prefix %][%- row.sname %]">
31        [%- FOREACH data = row.DATA %]
32         <option value="[% data.value %]" [% data.selected %]>[% data.oname %]</option>
33        [%- END %]
34       </select>
35      </td>
36      [%- END %]
37      [%- END %]
38      [%- IF display_copies %]
39      <td id="print_options_input_copies">[%- IF !show_headers %][%- 'Copies' | $T8 %][%- END %]<input name="[%- name_prefix %]copies" id="[% id_prefix %]copies" size="2" value="[% HTML.escape(copies) %]"></td>
40      [%- END %]
41      [%- IF display_groupitems %]
42      <td id="print_options_input_groupitems">[%- IF !show_headers %][% 'Group Items' | $T8 %][%- END %]
43       <input name="[%- name_prefix %]groupitems" id="[% id_prefix %]groupitems" type="checkbox" class="checkbox" [% groupitems_checked %]>
44      </td>
45      [%- END %]
46      [%- IF display_remove_draft %]
47      <td id="print_options_input_remove_draft">[%- IF !show_headers %][% 'Remove Draft' | $T8 %][%- END %]
48       <input name="[%- name_prefix %]remove_draft" id="[% id_prefix %]remove_draft" type="checkbox" class="checkbox" [% remove_draft_checked %]>
49      </td>
50      [%- END %]
51     </tr>
52    </table>
53   </td>
54   <td align=right>
55    <table><tr><th>[% status_msg %]</th></tr></table>
56   </td>
57  </tr>
58 </table>