Пример #1
0
     $report->showReportGeneralInStoreSingleStores($intStoreID, $intYearMonth);
 } elseif ($strReport == 'reports_general_catalogue.php') {
     if ($_REQUEST['frm_report_by'] == 'supplier') {
         $report->showReportGeneralCatalogueBySupplier($intYearMonth);
     } elseif ($_REQUEST['frm_report_by'] == 'product') {
         $report->showReportGeneralCatalogueByProduct($intYearMonth);
     } else {
         $report->showReportGeneralCatalogueByActivity($intYearMonth);
     }
 } elseif ($strReport == 'reports_general_newspaper.php') {
     if ($_REQUEST['frm_report_by'] == 'supplier') {
         $report->showReportGeneralNewspaperBySupplier($intYearMonth);
     } elseif ($_REQUEST['frm_report_by'] == 'product') {
         $report->showReportGeneralNewspaperByProduct($intYearMonth);
     } else {
         $report->showReportGeneralNewspaperByActivity($intYearMonth);
     }
 } elseif ($strReport == 'reports_general_email.php') {
     if ($_REQUEST['frm_report_by'] == 'supplier') {
         $report->showReportGeneralEmailBySupplier($intYearMonth);
     } elseif ($_REQUEST['frm_report_by'] == 'product') {
         $report->showReportGeneralEmailByProduct($intYearMonth);
     } else {
         $report->showReportGeneralEmailByActivity($intYearMonth);
     }
 } elseif ($strReport == 'reports_general_prep_school.php') {
     if ($_REQUEST['frm_report_by'] == 'supplier') {
         $report->showReportGeneralPREPSchoolBySupplier($intYearMonth);
     } elseif ($_REQUEST['frm_report_by'] == 'product') {
         $report->showReportGeneralPREPSchoolByProduct($intYearMonth);
     } else {