[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
1 <?php 2 /********************************************************************************* 3 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 4 * ("License"); You may not use this file except in compliance with the License 5 * The Original Code is: vtiger CRM Open Source 6 * The Initial Developer of the Original Code is vtiger. 7 * Portions created by vtiger are Copyright (C) vtiger. 8 * All Rights Reserved. 9 * 10 ********************************************************************************/ 11 require_once ('Smarty_setup.php'); 12 require_once ("modules/Reports/ReportRun.php"); 13 require_once ("modules/Reports/Reports.php"); 14 15 global $app_strings; 16 $oPrint_smarty=new vtigerCRM_Smarty; 17 $reportid = $_REQUEST["record"]; 18 $oReport = new Reports($reportid); 19 $filtercolumn = $_REQUEST["stdDateFilterField"]; 20 $filter = $_REQUEST["stdDateFilter"]; 21 $oReportRun = new ReportRun($reportid); 22 $filterlist = $oReportRun->RunTimeFilter($filtercolumn,$filter,$_REQUEST["startdate"],$_REQUEST["enddate"]); 23 24 $arr_values = $oReportRun->GenerateReport("PRINT",$filterlist); 25 $total_report = $oReportRun->GenerateReport("PRINT_TOTAL",$filterlist); 26 $oPrint_smarty->assign("COUNT",$arr_values[1]); 27 $oPrint_smarty->assign("APP",$app_strings); 28 $oPrint_smarty->assign("REPORT_NAME",$oReport->reportname); 29 $oPrint_smarty->assign("PRINT_CONTENTS",$arr_values[0]); 30 $oPrint_smarty->assign("TOTAL_HTML",$total_report); 31 $oPrint_smarty->display("PrintReport.tpl"); 32 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |