ActionBar: Angebote/Aufträge: E-Mail-Versand über Dialog implementiert
[kivitendo-erp.git] / templates / webpages / generic / print_options.html
index b5757e1..30b87df 100644 (file)
@@ -9,25 +9,25 @@
     <tr>
      [%- FOREACH row = SELECTS %]
      [%- IF row.show %]
-     <th align="left">[%- row.hname %]</th>
+     <th align="left" id="print_options_header_[% row.sname %]">[%- row.hname %]</th>
      [%- END %]
      [%- END %]
      [%- IF display_copies %]
-     <th align="left">[% 'Copies' | $T8 %]</th>
+     <th align="left" id="print_options_header_copies">[% 'Copies' | $T8 %]</th>
      [%- END %]
      [%- IF display_groupitems %]
-     <th align="left">[% 'Group Items' | $T8 %]</th>
+     <th align="left" id="print_options_header_groupitems">[% 'Group Items' | $T8 %]</th>
      [%- END %]
      [%- IF display_remove_draft %]
-     <th align="left">[% 'Remove Draft' | $T8 %]</th>
+     <th align="left" id="print_options_header_remove_draft">[% 'Remove Draft' | $T8 %]</th>
      [%- END %]
     </tr>
     [%- END %]
     <tr>
      [%- FOREACH row = SELECTS %]
      [%- IF row.show %]
-     <td>
-      <select name="[%- name_prefix %][%- row.sname %]">
+     <td id="print_options_input_[% row.sname %]">
+      <select name="[%- name_prefix %][%- row.sname %]" id="[%- id_prefix %][%- row.sname %]">
        [%- FOREACH data = row.DATA %]
         <option value="[% data.value %]" [% data.selected %]>[% data.oname %]</option>
        [%- END %]
      [%- END %]
      [%- END %]
      [%- IF display_copies %]
-     <td>[%- IF !show_headers %][%- 'Copies' | $T8 %][%- END %]<input name="[%- name_prefix %]copies" size="2" value="[% HTML.escape(copies) %]"></td>
+     <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>
      [%- END %]
      [%- IF display_groupitems %]
-     <td>[%- IF !show_headers %][% 'Group Items' | $T8 %][%- END %]
-      <input name="[%- name_prefix %]groupitems" type="checkbox" class="checkbox" [% groupitems_checked %]>
+     <td id="print_options_input_groupitems">[%- IF !show_headers %][% 'Group Items' | $T8 %][%- END %]
+      <input name="[%- name_prefix %]groupitems" id="[% id_prefix %]groupitems" type="checkbox" class="checkbox" [% groupitems_checked %]>
      </td>
      [%- END %]
      [%- IF display_remove_draft %]
-     <td>[%- IF !show_headers %][% 'Remove Draft' | $T8 %][%- END %]
-      <input name="[%- name_prefix %]remove_draft" type="checkbox" class="checkbox" [% remove_draft_checked %]>
+     <td id="print_options_input_remove_draft">[%- IF !show_headers %][% 'Remove Draft' | $T8 %][%- END %]
+      <input name="[%- name_prefix %]remove_draft" id="[% id_prefix %]remove_draft" type="checkbox" class="checkbox" [% remove_draft_checked %]>
      </td>
      [%- END %]
     </tr>