From 547471022d0273cc466085ff3e987e3d01e1c870 Mon Sep 17 00:00:00 2001 From: sriramv Date: Wed, 26 Dec 2018 19:21:46 +0530 Subject: [PATCH] dashboard --- Apollo/api/application/config/database.php | 12 ++++++------ Apollo/api/application/models/Dashboard_model.php | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Apollo/api/application/config/database.php b/Apollo/api/application/config/database.php index 64156240..ac3b188c 100755 --- a/Apollo/api/application/config/database.php +++ b/Apollo/api/application/config/database.php @@ -76,13 +76,13 @@ $query_builder = TRUE; $db['default'] = array( 'dsn' => '', 'hostname' => 'apollodec.com', - // 'username' => 'apollod4_DEV', - // 'password' => 'apollo1234', - // 'database' => 'apollod4_ApolloDECDev', + 'username' => 'apollod4_DEV', + 'password' => 'apollo1234', + 'database' => 'apollod4_ApolloDECDev', - 'username' => 'apollod4_SIT', - 'password' => 'apollosit1234', - 'database' => 'apollod4_ApolloDECNEWSIT', + // 'username' => 'apollod4_SIT', + // 'password' => 'apollosit1234', + // 'database' => 'apollod4_ApolloDECNEWSIT', 'dbdriver' => 'mysqli', 'dbprefix' => '', diff --git a/Apollo/api/application/models/Dashboard_model.php b/Apollo/api/application/models/Dashboard_model.php index 4c0d6dbe..11081413 100755 --- a/Apollo/api/application/models/Dashboard_model.php +++ b/Apollo/api/application/models/Dashboard_model.php @@ -655,7 +655,7 @@ public function leadCountMonth($branchId = null, $requestedBy = null){ $ltd=$this->db->query($sql); - print_r($sql); + // print_r($sql); $tlead = $ltd->result(); if (count($tlead) > 0) { $results['lList'] = true;