38 lines
1.4 KiB
PHP
38 lines
1.4 KiB
PHP
|
|
<?php
|
||
|
|
|
||
|
|
/*+********************************************************************************
|
||
|
|
* The content of this file is subject to the Reports 4 You license.
|
||
|
|
* ("License"); You may not use this file except in compliance with the License
|
||
|
|
* The Initial Developer of the Original Code is IT-Solutions4You s.r.o.
|
||
|
|
* Portions created by IT-Solutions4You s.r.o. are Copyright(C) IT-Solutions4You s.r.o.
|
||
|
|
* All Rights Reserved.
|
||
|
|
********************************************************************************/
|
||
|
|
|
||
|
|
require_once('Smarty_setup.php');
|
||
|
|
require_once("data/Tracker.php");
|
||
|
|
require_once('include/logging.php');
|
||
|
|
require_once('include/utils/utils.php');
|
||
|
|
require_once('modules/ITS4YouReports/ITS4YouReports.php');
|
||
|
|
|
||
|
|
global $app_strings;
|
||
|
|
global $app_list_strings;
|
||
|
|
global $mod_strings;
|
||
|
|
global $currentModule;
|
||
|
|
global $image_path;
|
||
|
|
global $theme;
|
||
|
|
global $current_user;
|
||
|
|
|
||
|
|
$ITS4YouReports = ITS4YouReports::getStoredITS4YouReport();
|
||
|
|
|
||
|
|
$smarty_obj = new vtigerCRM_Smarty;
|
||
|
|
$smarty_obj->assign("MOD", $mod_strings);
|
||
|
|
$smarty_obj->assign("APP", $app_strings);
|
||
|
|
$smarty_obj->assign("IMAGE_PATH",$image_path);
|
||
|
|
$smarty_obj->assign("DATEFORMAT",$current_user->date_format);
|
||
|
|
$smarty_obj->assign("JS_DATEFORMAT",parse_calendardate($app_strings['NTC_DATE_FORMAT']));
|
||
|
|
|
||
|
|
$smarty_obj = $ITS4YouReports->getSelectedValuesToSmarty($smarty_obj,"ReportGraphs");
|
||
|
|
|
||
|
|
$smarty_obj->display(vtlib_getModuleTemplate($currentModule,'ReportGraphs.tpl'));
|
||
|
|
?>
|