diff --git a/application/controllers/CostCenter.php b/application/controllers/CostCenter.php
index 426922aa..78a1bf3f 100644
--- a/application/controllers/CostCenter.php
+++ b/application/controllers/CostCenter.php
@@ -3,7 +3,7 @@
require APPPATH . '/libraries/BaseController.php';
/**
- * Class : purchaseorder (PurchaseorderController)
+ * Class : Cost Center (Cost Center Controller)
* User Class to control all user related operations.
* @author : VenbaMail Mali
* @version : 1.1
@@ -18,6 +18,9 @@ class CostCenter extends BaseController
{
parent::__construct();
$this->load->model('costcenter_model');
+ //$this->load->library('session');
+ $this->load->library('form_validation');
+
$this->isLoggedIn();
}
/**
diff --git a/application/logs/log-2017-05-02.php b/application/logs/log-2017-05-02.php
new file mode 100644
index 00000000..8da17d4b
--- /dev/null
+++ b/application/logs/log-2017-05-02.php
@@ -0,0 +1,7 @@
+
+
+ERROR - 2017-05-02 07:36:45 --> Severity: Notice --> Undefined variable: option C:\xampp\htdocs\siddharth_application\application\views\addCostCenter.php 86
+ERROR - 2017-05-02 07:36:45 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\system\helpers\form_helper.php 332
+ERROR - 2017-05-02 08:23:39 --> Severity: Notice --> Undefined variable: option C:\xampp\htdocs\siddharth_application\application\views\addCostCenter.php 83
+ERROR - 2017-05-02 08:23:39 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\system\helpers\form_helper.php 332
+ERROR - 2017-05-02 08:23:56 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\system\helpers\form_helper.php 332
diff --git a/application/views/addCostCenter.php b/application/views/addCostCenter.php
index ef91608d..9950c462 100644
--- a/application/views/addCostCenter.php
+++ b/application/views/addCostCenter.php
@@ -33,7 +33,13 @@
@@ -41,17 +47,26 @@
-
-
Department
-
+
@@ -62,362 +77,246 @@
Selected Department
-
+
+
-
+
-
+
-
-
-
-
-
-
-
-
+
+
-
+
@@ -456,7 +355,17 @@ $("#mytable #checkall").click(function () {
-
+