73 lines
3.0 KiB
PHP
73 lines
3.0 KiB
PHP
<?php /* Smarty version Smarty-3.1.7, created on 2020-02-02 10:46:04
|
|
compiled from "C:\inetpub\wwwroot\sophalcrm\includes\runtime/../../layouts/v7\modules\Reports\ChartReportContents.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:10597641575e36a86ce30f19-46620129%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'f20a26155b236aaa55df1b3fc5541fe98419c507' =>
|
|
array (
|
|
0 => 'C:\\inetpub\\wwwroot\\sophalcrm\\includes\\runtime/../../layouts/v7\\modules\\Reports\\ChartReportContents.tpl',
|
|
1 => 1520586670,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'nocache_hash' => '10597641575e36a86ce30f19-46620129',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'variables' =>
|
|
array (
|
|
'CHART_TYPE' => 0,
|
|
'DATA' => 0,
|
|
'CLICK_THROUGH' => 0,
|
|
'YAXIS_FIELD_TYPE' => 0,
|
|
'MODULE' => 0,
|
|
'REPORT_MODEL' => 0,
|
|
'BASE_CURRENCY_INFO' => 0,
|
|
),
|
|
'has_nocache_code' => false,
|
|
'version' => 'Smarty-3.1.7',
|
|
'unifunc' => 'content_5e36a86ce5fef',
|
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if ($_valid && !is_callable('content_5e36a86ce5fef')) {function content_5e36a86ce5fef($_smarty_tpl) {?>
|
|
|
|
<input type='hidden' name='charttype' value="<?php echo $_smarty_tpl->tpl_vars['CHART_TYPE']->value;?>
|
|
" />
|
|
<input type='hidden' name='data' value='<?php echo Vtiger_Functions::jsonEncode($_smarty_tpl->tpl_vars['DATA']->value);?>
|
|
' />
|
|
<input type='hidden' name='clickthrough' value="<?php echo $_smarty_tpl->tpl_vars['CLICK_THROUGH']->value;?>
|
|
" />
|
|
|
|
<br>
|
|
<div class="dashboardWidgetContent">
|
|
<input type="hidden" class="yAxisFieldType" value="<?php echo $_smarty_tpl->tpl_vars['YAXIS_FIELD_TYPE']->value;?>
|
|
" />
|
|
<div class='border1px filterConditionContainer' style="padding:30px;">
|
|
<div id='chartcontent' name='chartcontent' style="min-height:400px;" data-mode='Reports'></div>
|
|
<br>
|
|
<?php if ($_smarty_tpl->tpl_vars['CLICK_THROUGH']->value!='true'){?>
|
|
<div class='row-fluid alert-info'>
|
|
<span class='col-lg-4 offset4'> </span>
|
|
<span class='span alert-info'>
|
|
<i class="icon-info-sign"></i>
|
|
<?php echo vtranslate('LBL_CLICK_THROUGH_NOT_AVAILABLE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
|
|
|
</span>
|
|
</div>
|
|
<br>
|
|
<?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['REPORT_MODEL']->value->isInventoryModuleSelected()){?>
|
|
<div class="alert alert-info">
|
|
<?php $_smarty_tpl->tpl_vars['BASE_CURRENCY_INFO'] = new Smarty_variable(Vtiger_Util_Helper::getUserCurrencyInfo(), null, 0);?>
|
|
<i class="icon-info-sign" style="margin-top: 1px;"></i>
|
|
<?php echo vtranslate('LBL_CALCULATION_CONVERSION_MESSAGE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
|
- <?php echo $_smarty_tpl->tpl_vars['BASE_CURRENCY_INFO']->value['currency_name'];?>
|
|
(<?php echo $_smarty_tpl->tpl_vars['BASE_CURRENCY_INFO']->value['currency_code'];?>
|
|
)
|
|
</div>
|
|
<?php }?>
|
|
</div>
|
|
</div>
|
|
<br>
|
|
|
|
<?php }} ?>
|