Example #1
0
    if ($_REQUEST['frm_year']) {
        $intYear = intval($_REQUEST['frm_year']);
    } else {
        $intYear = date('Y');
    }
    ?>
			

				<div class="pull-left"><img src="<?php 
    echo $STR_URL;
    ?>
img/p4l_logo_print.png" /></div>						
				<?php 
    // In-Store All Store
    if ($strReport == 'reports_general_in_store_all.php') {
        $report->showReportGeneralInStoreAllStores($intYearMonth);
    } elseif ($strReport == 'reports_general_departments.php') {
        $report->showReportGeneralDepartments($intYearMonth);
    } elseif ($strReport == 'reports_booking_by_supplier.php') {
        $report->showReportBookingBySupplier($intSupplierID, $intYearMonth);
    } elseif ($strReport == 'reports_general_in_store_single_by_year.php') {
        $report->showReportGeneralInStoreByYear($intStoreID, $intYear);
    } elseif ($strReport == 'reports_general_in_store_single.php') {
        $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);