From 745874f0b3e1640f3e600d324c6e08e5e2794774 Mon Sep 17 00:00:00 2001 From: jekkos Date: Thu, 21 Jul 2016 01:41:22 +0200 Subject: [PATCH] Fix graphical items summary report (#742) --- application/controllers/Reports.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Reports.php b/application/controllers/Reports.php index 4336f7827..0acd032f9 100644 --- a/application/controllers/Reports.php +++ b/application/controllers/Reports.php @@ -404,7 +404,7 @@ class Reports extends Secure_Controller 'chart_type' => 'reports/graphs/hbar', 'labels_1' => $labels, 'series_data_1' => $series, - 'summary_data_1' => $this->xss_clean($model->getSummaryData(array('start_date' => $start_date, 'end_date' => $end_date, 'sale_type' => $sale_type))), + 'summary_data_1' => $this->xss_clean($model->getSummaryData(array('start_date' => $start_date, 'end_date' => $end_date, 'sale_type' => $sale_type, 'location_id' => $location_id))), 'yaxis_title' => $this->lang->line('reports_items'), 'xaxis_title' => $this->lang->line('reports_revenue'), 'show_currency' => TRUE