Revision 19ee23d4
Von Bernd Bleßmann vor fast 7 Jahren hinzugefügt
templates/webpages/oe/edit_periodic_invoices_config.html | ||
---|---|---|
87 | 87 |
<tr> |
88 | 88 |
<th align="right">[%- LxERP.t8('Printer') %]</th> |
89 | 89 |
<td valign="top"> |
90 |
[% L.select_tag("printer_id", ALL_PRINTERS, title_key = 'printer_description', default = config.printer_id, disabled = !config.print, style=style) %] |
|
90 |
[% L.select_tag("printer_id", ALL_PRINTERS, title_key = 'printer_description', default = config.printer_id, disabled = !config.print, id = "pic_printer_id", style=style) %]
|
|
91 | 91 |
</td> |
92 | 92 |
</tr> |
93 | 93 |
|
94 | 94 |
<tr> |
95 | 95 |
<th align="right">[%- LxERP.t8('Copies') %]</th> |
96 |
<td valign="top">[% L.input_tag("copies", config.copies, size => 6, disabled => !config.print) %]</td> |
|
96 |
<td valign="top">[% L.input_tag("copies", config.copies, size => 6, disabled => !config.print, id = "pic_copies") %]</td>
|
|
97 | 97 |
</tr> |
98 | 98 |
|
99 | 99 |
<tr class="rule-before"> |
... | ... | |
147 | 147 |
<!-- |
148 | 148 |
function toggle_printer_id_ctrl() { |
149 | 149 |
var disabled = !$('#print').prop('checked'); |
150 |
$('#printer_id').prop('disabled', disabled); |
|
151 |
$('#copies').prop('disabled', disabled); |
|
150 |
$('#pic_printer_id').prop('disabled', disabled);
|
|
151 |
$('#pic_copies').prop('disabled', disabled);
|
|
152 | 152 |
} |
153 | 153 |
|
154 | 154 |
function toggle_send_email_ctrl() { |
Auch abrufbar als: Unified diff
Wiederkehrende Rechnungen: Template: eindeutige DOM-Ids
printer_id / copies werden so auch in den print_options benannt. Wenn dieses
Template als Vorlage für ein Popup-Dialog verwendet wird, kann es sonst zu
gleichen DOM-Ids kommen.