[% USE HTML %]
[% USE LxERP %]
[% USE L %]
-<body>
<div class="listtop">[% title %]</div>
<tr>
<th align="right">[%- LxERP.t8('Record in') %]</th>
<td valign="top">
- [% L.select_tag("ar_chart_id", L.options_for_select(AR, title => 'description', default => ar_chart_id)) %]
+ [% L.select_tag("ar_chart_id", AR, title_key => 'description', default => ar_chart_id) %]
</td>
</tr>
<tr>
<th align="right">[%- LxERP.t8('Printer') %]</th>
<td valign="top">
- [% L.select_tag("printer_id", L.options_for_select(ALL_PRINTERS, title => 'printer_description', default => printer_id), disabled => !print) %]
+ [% L.select_tag("printer_id", ALL_PRINTERS, title_key = 'printer_description', default = printer_id, disabled = !print) %]
</td>
</tr>
<script type="text/javascript">
<!--
function toggle_printer_id_ctrl() {
- var disabled = !$('#print').attr('checked');
- $('#printer_id').attr('disabled', disabled);
- $('#copies').attr('disabled', disabled);
+ var disabled = !$('#print').prop('checked');
+ $('#printer_id').prop('disabled', disabled);
+ $('#copies').prop('disabled', disabled);
}
-->
</script>
-
-</body>
-</html>