diff --git a/.cpanel.yml b/.cpanel.yml
index b33925c0..8bbb3abb 100644
--- a/.cpanel.yml
+++ b/.cpanel.yml
@@ -2,4 +2,4 @@
deployment:
tasks:
- export DEPLOYPATH=home3/venbaehn/public_html/nhance/devauto/
- - /bin/cp . $DEPLOYPATH
\ No newline at end of file
+ - /bin/cp -R * $DEPLOYPATH
\ No newline at end of file
diff --git a/app/Controllers/LoginController.php b/app/Controllers/LoginController.php
index 4e677e88..37d78ae3 100644
--- a/app/Controllers/LoginController.php
+++ b/app/Controllers/LoginController.php
@@ -41,8 +41,12 @@ class LoginController extends BaseController
$user = $UserModel->getUserByEmail($value->email);
if($user){
if($user->is_active !== '0'){
-
- $session_data = ['isLoggedIn' => True ,'userid' => $user->id, 'userData' => $user];
+ $session_data = [
+ 'isLoggedIn' => True ,
+ 'userid' => $user->id,
+ 'userData' => $user,
+ 'userProfile' => $value->picture,
+ ];
set_session_data($session_data);
log_message('error', 'Set The UserId : `'. $user->id .'` in Session');
log_message('error', 'User Login Sucessfully');
diff --git a/app/Helpers/session_helper.php b/app/Helpers/session_helper.php
index 29255bcc..6e879e4b 100644
--- a/app/Helpers/session_helper.php
+++ b/app/Helpers/session_helper.php
@@ -28,6 +28,15 @@ if (!function_exists('get_session_userdata')) {
}
}
+if (!function_exists('get_userProfile')) {
+ function get_userProfile()
+ {
+ // $ci =& get_instance();
+ $session = \Config\Services::session();
+ return $session->get('userProfile');
+ }
+}
+
if (!function_exists('get_session_user')) {
function get_session_user()
{
diff --git a/app/Views/client_list.php b/app/Views/client_list.php
index 69e2ceba..d68aada4 100644
--- a/app/Views/client_list.php
+++ b/app/Views/client_list.php
@@ -1,3 +1,14 @@
+
+
diff --git a/app/Views/employee_list.php b/app/Views/employee_list.php
index 5463d12c..db60f466 100644
--- a/app/Views/employee_list.php
+++ b/app/Views/employee_list.php
@@ -1,53 +1,62 @@
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
-
+
-
- | SNO |
- Employee code |
- Name |
- Policy name |
- Insurar name |
- TPA ID |
- UHID ID |
- Policy status |
- Premium |
- Action |
-
+
+ | SNO |
+
+ Name/code |
+ Policy name |
+ Insurar name |
+ TPA ID |
+ UHID ID |
+ Policy status |
+ Premium |
+ Action |
+
@@ -79,11 +89,11 @@
if(isset($employees))
{
foreach ($employees as $key => $employee) { ?>
-
+
|
- |
- |
+
+ ( ) |
|
|
|
@@ -92,18 +102,26 @@
|
|
-
+
@@ -114,98 +132,97 @@
SPINNER
+document.getElementById('toggleIcon').addEventListener('click', function() {
+ var icon = document.getElementById('icon');
+ icon.classList.toggle('mdi-chevron-down');
+ icon.classList.toggle('mdi-chevron-up');
+});
+
\ No newline at end of file
diff --git a/app/Views/import_export.php b/app/Views/import_export.php
index 361c9124..de0cb419 100644
--- a/app/Views/import_export.php
+++ b/app/Views/import_export.php
@@ -1,4 +1,14 @@
+
diff --git a/app/Views/layout/header.php b/app/Views/layout/header.php
index f229cb95..af40c828 100644
--- a/app/Views/layout/header.php
+++ b/app/Views/layout/header.php
@@ -393,7 +393,7 @@
-
/assets/images/users/avatar-1.jpg" alt="user-image" class="rounded-circle">
+
= (isset(get_session_userdata()->first_name) ? get_session_userdata()->first_name : 'NOT SET') ?>
diff --git a/app/Views/policy_gmc_terms.php b/app/Views/policy_gmc_terms.php
index 5cf1a613..25f21abe 100644
--- a/app/Views/policy_gmc_terms.php
+++ b/app/Views/policy_gmc_terms.php
@@ -13,11 +13,12 @@
.radiobuttondiv{
margin-left: 32px;
}
- .{
+
+ /* .{
width:62% !important;
margin-left: 30px;
margin-top: 3px
- }
+ } */
/* .form-group.col-md-6 */
.form-group-client-policy-master{
display:-webkit-box;
@@ -48,14 +49,14 @@
.jodit-status-bar{
display:none;
}
- .jodit-container{
- /* width: 821px !important; */
- /* margin-top: 3px; */
- /* margin-bottom: 3px; */
- /* margin-left: 30px; */
- /* height: 0px !important; */
- /* min-height: 100px !important; */
- }
+ /* .jodit-container{
+ width: 821px !important;
+ margin-top: 3px;
+ margin-bottom: 3px;
+ margin-left: 30px;
+ height: 0px !important;
+ min-height: 100px !important;
+ } */
.input-group {
width: 64.5% !important;
}
@@ -643,7 +644,7 @@ var grid_html = '';
var gmc_policy_type_id = $(this).attr('id');
- if(gmc_policy_type_id >= '2'){
+ if(gmc_policy_type_id >= 2){
$('#policyGMCTerms').css('display', '');
$('#police-tab').css('display', 'none');