diff --git a/application/modules/Asset/controllers/Asset.php b/application/modules/Asset/controllers/Asset.php index c3258b2..490ee10 100644 --- a/application/modules/Asset/controllers/Asset.php +++ b/application/modules/Asset/controllers/Asset.php @@ -188,8 +188,7 @@ public function deleteAsset($id) } - - + diff --git a/application/modules/Audit/models/Audit_model.php b/application/modules/Audit/models/Audit_model.php new file mode 100644 index 0000000..e6eb229 --- /dev/null +++ b/application/modules/Audit/models/Audit_model.php @@ -0,0 +1,20 @@ +db->select('A.* , user.name as user_name '); + $this->db->from('history A'); + $this->db->join('user', 'user.id = A.created_by', 'left'); + $this->db->where('A.business_id', $business_id); + $this->db->where('A.primary_id', $id); + $this->db->where('A.table_name', $table); + $query = $this->db->get(); + $query = $query->result(); + return $query; + } + + + + +} \ No newline at end of file diff --git a/application/modules/Dashboard/views/dashboard.php b/application/modules/Dashboard/views/dashboard.php index 1a39938..2b9ecaf 100644 --- a/application/modules/Dashboard/views/dashboard.php +++ b/application/modules/Dashboard/views/dashboard.php @@ -1,25 +1,680 @@ -
Facebook Campaign
+Twitter Campaign
+Conventional Media
+Bill boards
+LOGGEDIN :
-IS_SUPERADMIN :
-IS_ADMIN :
-IS_USER :
-USER :
-SETTINGS :
-BUSINESS :
-|
+ Top 5 + |
+
+
+
+ Device +
+
+ Progress + |
+ ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| + + | +
+
|
+
+ Schedule meeting with new client
++ Create email address for new intern
++ Have IT fix the network printer
++ Copy backups to offsite location
++ Food truck fixie locavors mcsweeney
++ Food truck fixie locavors mcsweeney
++ Create email address for new intern
++ Have IT fix the network printer
++ Copy backups to offsite location
+