decodeProperties(array ( 'file_dependency' => array ( '4baebb61258b96996e4294831f685348aaf9a0b3' => array ( 0 => 'C:\\inetpub\\wwwroot\\sophalcrm\\includes\\runtime/../../layouts/v7\\modules\\Reports\\step2.tpl', 1 => 1520586670, 2 => 'file', ), ), 'nocache_hash' => '82975415e31acd15fb1d3-72900834', 'function' => array ( ), 'variables' => array ( 'MODULE' => 0, 'RECORD_ID' => 0, 'REPORT_MODEL' => 0, 'PRIMARY_MODULE' => 0, 'SECONDARY_MODULES' => 0, 'SELECTED_FIELDS' => 0, 'IS_DUPLICATE' => 0, 'PRIMARY_MODULE_FIELDS' => 0, 'PRIMARY_MODULE_NAME' => 0, 'BLOCK_LABEL' => 0, 'BLOCK' => 0, 'FIELD_KEY' => 0, 'FIELD_LABEL' => 0, 'SECONDARY_MODULE_FIELDS' => 0, 'SECONDARY_MODULE' => 0, 'SECONDARY_MODULE_NAME' => 0, 'SELECTED_SORT_FIELDS' => 0, 'ROW_VAL' => 0, 'SELECTED_SORT_FEILDS_ARRAY' => 0, 'SELECTED_SORT_FIELDS_COUNT' => 0, 'CALCULATION_FIELDS' => 0, 'CALCULATION_FIELDS_MODULE' => 0, 'CALCULATION_FIELD_KEY' => 0, 'FIELD_EXPLODE' => 0, 'FIELDNAME_EXPLODE' => 0, 'fieldNameArray' => 0, 'CALCULATION_FIELDS_MODULE_LABEL' => 0, 'CALCULATION_FIELD' => 0, 'FIELD_OPERATION_VALUES' => 0, 'FIELD_OPERATION_VALUE' => 0, 'FIELD_CALCULATION_VALUE' => 0, 'SELECTED_CALCULATION_FIELDS' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.7', 'unifunc' => 'content_5e31acd170b72', ),false); /*/%%SmartyHeaderCode%%*/?>
tpl_vars['REPORT_MODEL']->value->get('members')){?>tpl_vars['REPORT_MODEL']->value->get('members'));?> />tpl_vars['SECONDARY_MODULES']->value);?> />value);?> ' />tpl_vars['REPORT_MODEL']->value->get('schdayoftheweek'));?> >tpl_vars['REPORT_MODEL']->value->get('schdayofthemonth'));?> >tpl_vars['REPORT_MODEL']->value->get('schannualdates'));?> >tpl_vars['REPORT_MODEL']->value->get('recipients'));?> >tpl_vars['REPORT_MODEL']->value->get('specificemails'));?> >
tpl_vars['ROW_VAL'] = new Smarty_variable(1, null, 0);?>tpl_vars['SELECTED_SORT_FIELD_VALUE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['SELECTED_SORT_FIELD_VALUE']->_loop = false; $_smarty_tpl->tpl_vars['SELECTED_SORT_FIELD_KEY'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['SELECTED_SORT_FIELDS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['SELECTED_SORT_FIELD_VALUE']->key => $_smarty_tpl->tpl_vars['SELECTED_SORT_FIELD_VALUE']->value){ $_smarty_tpl->tpl_vars['SELECTED_SORT_FIELD_VALUE']->_loop = true; $_smarty_tpl->tpl_vars['SELECTED_SORT_FIELD_KEY']->value = $_smarty_tpl->tpl_vars['SELECTED_SORT_FIELD_VALUE']->key; ?>
getSubTemplate (vtemplate_path('RelatedFields.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('ROW_VAL'=>$_smarty_tpl->tpl_vars['ROW_VAL']->value), 0);?> tpl_vars['ROW_VAL'] = new Smarty_variable(($_smarty_tpl->tpl_vars['ROW_VAL']->value+1), null, 0);?>
tpl_vars['SELECTED_SORT_FEILDS_ARRAY'] = new Smarty_variable($_smarty_tpl->tpl_vars['SELECTED_SORT_FIELDS']->value, null, 0);?>tpl_vars['SELECTED_SORT_FIELDS_COUNT'] = new Smarty_variable(count($_smarty_tpl->tpl_vars['SELECTED_SORT_FEILDS_ARRAY']->value), null, 0);?>tpl_vars['SELECTED_SORT_FIELDS_COUNT']->value<3){?>
getSubTemplate (vtemplate_path('RelatedFields.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('ROW_VAL'=>$_smarty_tpl->tpl_vars['ROW_VAL']->value), 0);?> tpl_vars['ROW_VAL'] = new Smarty_variable(($_smarty_tpl->tpl_vars['ROW_VAL']->value+1), null, 0);?>tpl_vars['SELECTED_SORT_FIELDS_COUNT'] = new Smarty_variable(($_smarty_tpl->tpl_vars['SELECTED_SORT_FIELDS_COUNT']->value+1), null, 0);?>
tpl_vars['MODULE']->value);?>
tpl_vars['FIELD_OPERATION_VALUES'] = new Smarty_variable(explode(',','SUM:2,AVG:3,MIN:4,MAX:5'), null, 0);?>tpl_vars['CALCULATION_FIELDS_MODULE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['CALCULATION_FIELDS_MODULE']->_loop = false; $_smarty_tpl->tpl_vars['CALCULATION_FIELDS_MODULE_LABEL'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['CALCULATION_FIELDS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['CALCULATION_FIELDS_MODULE']->key => $_smarty_tpl->tpl_vars['CALCULATION_FIELDS_MODULE']->value){ $_smarty_tpl->tpl_vars['CALCULATION_FIELDS_MODULE']->_loop = true; $_smarty_tpl->tpl_vars['CALCULATION_FIELDS_MODULE_LABEL']->value = $_smarty_tpl->tpl_vars['CALCULATION_FIELDS_MODULE']->key; ?>tpl_vars['CALCULATION_FIELD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['CALCULATION_FIELD']->_loop = false; $_smarty_tpl->tpl_vars['CALCULATION_FIELD_KEY'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['CALCULATION_FIELDS_MODULE']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['CALCULATION_FIELD']->key => $_smarty_tpl->tpl_vars['CALCULATION_FIELD']->value){ $_smarty_tpl->tpl_vars['CALCULATION_FIELD']->_loop = true; $_smarty_tpl->tpl_vars['CALCULATION_FIELD_KEY']->value = $_smarty_tpl->tpl_vars['CALCULATION_FIELD']->key; ?>tpl_vars['FIELD_EXPLODE'] = new Smarty_variable(explode(':',$_smarty_tpl->tpl_vars['CALCULATION_FIELD_KEY']->value), null, 0);?>tpl_vars['tableName'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_EXPLODE']->value['0'], null, 0);?>tpl_vars['columnName'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_EXPLODE']->value['1'], null, 0);?>tpl_vars['FIELDNAME_EXPLODE'] = new Smarty_variable(explode('_',$_smarty_tpl->tpl_vars['FIELD_EXPLODE']->value['2']), null, 0);?>tpl_vars['fieldNameArray'] = new Smarty_variable(array_slice($_smarty_tpl->tpl_vars['FIELDNAME_EXPLODE']->value,1), null, 0);?>tpl_vars['fieldName'] = new Smarty_variable(implode('_',$_smarty_tpl->tpl_vars['fieldNameArray']->value), null, 0);?>tpl_vars['FIELD_OPERATION_VALUE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['FIELD_OPERATION_VALUE']->_loop = false; $_from = $_smarty_tpl->tpl_vars['FIELD_OPERATION_VALUES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['FIELD_OPERATION_VALUE']->key => $_smarty_tpl->tpl_vars['FIELD_OPERATION_VALUE']->value){ $_smarty_tpl->tpl_vars['FIELD_OPERATION_VALUE']->_loop = true; ?>tpl_vars['FIELD_CALCULATION_VALUE'] = new Smarty_variable((("cb:".($_smarty_tpl->tpl_vars['tableName']->value).":".($_smarty_tpl->tpl_vars['columnName']->value).":".($_smarty_tpl->tpl_vars['fieldName']->value)).('_')).($_smarty_tpl->tpl_vars['FIELD_OPERATION_VALUE']->value), null, 0);?>
tpl_vars['MODULE']->value);?> tpl_vars['MODULE']->value);?> tpl_vars['MODULE']->value);?> tpl_vars['MODULE']->value);?> tpl_vars['MODULE']->value);?>
tpl_vars['CALCULATION_FIELDS_MODULE_LABEL']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?> -tpl_vars['CALCULATION_FIELD']->value,$_smarty_tpl->tpl_vars['CALCULATION_FIELDS_MODULE_LABEL']->value);?> tpl_vars['SELECTED_CALCULATION_FIELDS']->value)&&in_array($_smarty_tpl->tpl_vars['FIELD_CALCULATION_VALUE']->value,$_smarty_tpl->tpl_vars['SELECTED_CALCULATION_FIELDS']->value)){?> checked="" />