_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.39', 'unifunc' => 'content_649432953c83a3_94571961', 'has_nocache_code' => false, 'file_dependency' => array ( '6de43418c04019fd066ee9da25317104fdc09917' => array ( 0 => 'C:\\xampp\\htdocs\\hotelcommerce\\admin\\themes\\default\\template\\controllers\\stats\\helpers\\view\\view.tpl', 1 => 1687433793, 2 => 'file', ), ), 'includes' => array ( ), ),false)) { function content_649432953c83a3_94571961 (Smarty_Internal_Template $_smarty_tpl) { $_smarty_tpl->_loadInheritance(); $_smarty_tpl->inheritance->init($_smarty_tpl, true); ?> inheritance->instanceBlock($_smarty_tpl, 'Block_2088630220649432953bf026_52019017', "override_tpl"); ?> inheritance->endChild($_smarty_tpl, "helpers/view/view.tpl"); } /* {block "override_tpl"} */ class Block_2088630220649432953bf026_52019017 extends Smarty_Internal_Block { public $subBlocks = array ( 'override_tpl' => array ( 0 => 'Block_2088630220649432953bf026_52019017', ), ); public function callBlock(Smarty_Internal_Template $_smarty_tpl) { ?> type="text/javascript"> $(function() { var btn_save_calendar = $('span[class~="process-icon-save-calendar"]').parent(); var btn_submit_calendar = $('#submitDatePicker'); if (btn_save_calendar.length > 0 && btn_submit_calendar.length > 0) { btn_submit_calendar.hide(); btn_save_calendar.click(function() { btn_submit_calendar.before(''); $('#calendar_form').submit(); }); } var btn_save_settings = $('span[class~="process-icon-save-settings"]').parent(); var btn_submit_settings = $('#submitSettings'); if (btn_save_settings.length > 0 && btn_submit_settings.length > 0) { btn_submit_settings.hide(); btn_save_settings.click(function() { btn_submit_settings.before(''); $('#settings_form').submit(); }); } }); >