From fd9d1432693d4e80343d8b8621c3fa50be91cdb3 Mon Sep 17 00:00:00 2001 From: WShells Date: Tue, 1 Oct 2019 05:09:30 +0300 Subject: [PATCH] Fix Graphical Summary 500 Internal Server Error 500 Internal Server Error Fix On Summary Graphical Reports Fix --- application/controllers/Reports.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/Reports.php b/application/controllers/Reports.php index 044329c3c..03fbecfd5 100644 --- a/application/controllers/Reports.php +++ b/application/controllers/Reports.php @@ -850,9 +850,9 @@ class Reports extends Secure_Controller } //Graphical summary payments report - public function graphical_summary_payments($start_date, $end_date, $sale_type) + public function graphical_summary_payments($start_date, $end_date, $sale_type, $location_id = 'all') { - $inputs = array('start_date' => $start_date, 'end_date' => $end_date, 'sale_type' => $sale_type); + $inputs = array('start_date' => $start_date, 'end_date' => $end_date, 'sale_type' => $sale_type, 'location_id' => $location_id); $this->load->model('reports/Summary_payments'); $model = $this->Summary_payments;