_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.39', 'unifunc' => 'content_649432935282e3_26369826', 'has_nocache_code' => false, 'file_dependency' => array ( '92d21d6fb20e5b666a985ab2c25ee4b9ef3b1a93' => array ( 0 => 'C:\\xampp\\htdocs\\hotelcommerce\\admin\\themes\\default\\template\\controllers\\referrers\\helpers\\view\\view.tpl', 1 => 1687433793, 2 => 'file', ), ), 'includes' => array ( ), ),false)) { function content_649432935282e3_26369826 (Smarty_Internal_Template $_smarty_tpl) { $_smarty_tpl->_loadInheritance(); $_smarty_tpl->inheritance->init($_smarty_tpl, true); ?> inheritance->instanceBlock($_smarty_tpl, 'Block_105022136649432934d5745_86025831', "override_tpl"); ?> inheritance->endChild($_smarty_tpl, "helpers/view/view.tpl"); } /* {block "override_tpl"} */ class Block_105022136649432934d5745_86025831 extends Smarty_Internal_Block { public $subBlocks = array ( 'override_tpl' => array ( 0 => 'Block_105022136649432934d5745_86025831', ), ); 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(); }); } }); > tpl_vars['enable_calendar']->value) {?> tpl_vars['calendar_form']->value;?> type="text/javascript"> function updateConversionRate(id_product) { $.getJSON('ajax.php', { ajaxReferrers:1, ajaxProductFilter:1, id_employee:tpl_vars['id_employee']->value;?> , token:'tpl_vars['token']->value, ENT_QUOTES, 'UTF-8', true);?> ', id_referrer:tpl_vars['referrer']->value->id;?> , id_product:id_product }, function(j) { smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['display_tab']->value, 'value', false, 'key'); $_smarty_tpl->tpl_vars['value']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['value']->value) { $_smarty_tpl->tpl_vars['value']->do_else = false; ?> $("#tpl_vars['key']->value;?> ").html(j[0].tpl_vars['key']->value;?> ); smarty->ext->_foreach->restore($_smarty_tpl, 1);?> } ) } function fillProducts(filter) { var form = document.layers ? document.forms.product_referrers : document.product_referrers; var filter = form.filterProduct.value; $.getJSON('ajax.php', { ajaxReferrers:1, ajaxFillProducts:1, id_employee:tpl_vars['id_employee']->value;?> , token:'tpl_vars['token']->value, ENT_QUOTES, 'UTF-8', true);?> ', id_lang:tpl_vars['id_lang']->value;?> , filter:filter }, function(j) { form.selectProduct.length = j.length + 1; for (var i = 0; i < j.length; i++) { form.selectProduct.options[i+1].value = j[i].id_product; form.selectProduct.options[i+1].text = j[i].name; } } ); } >
| tpl_vars['label']->value;?> |