- $(document).ready(function() {
- $("#select_all").click(function() {
- var checked = $(this).attr('checked');
- $('INPUT[name="items[].selected"]').each(function() {
- $(this).attr('checked', checked);
- });
- });
-
- [%- IF show_post_payments_button %]
- Calendar.setup({ inputField : "set_all_execution_date",
- ifFormat : "[% myconfig_jsc_dateformat %]",
- align : "BL",
- button : "set_all_execution_date_trigger",
- onUpdate : set_all_execution_date_fields });
-
- [%- FOREACH item = export.items %]
- [%- IF !item.executed %]
- Calendar.setup({ inputField : "execution_date_[% loop.count %]",
- ifFormat : "[% myconfig_jsc_dateformat %]",
- align : "BL",
- button : "execution_date_[% loop.count %]_trigger" });
- [%- END %]
- [%- END %]
- [%- END %]