886 lines
43 KiB
PHP
Executable File
886 lines
43 KiB
PHP
Executable File
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
<title><?= isset($page_name) ? $page_name : 'NHance'; ?></title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta content="" name="description" />
|
|
<meta content="NHANCE" name="NHANCE" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
|
|
|
<!-- App favicon -->
|
|
<link rel="shortcut icon" href="<?= base_url() . "public"; ?>/assets/images/Nhance_Favi.svg">
|
|
|
|
<!-- plugin css -->
|
|
<link href="<?= base_url() . "public"; ?>/assets/libs/admin-resources/jquery.vectormap/jquery-jvectormap-1.2.2.css" rel="stylesheet" type="text/css" />
|
|
|
|
<!-- third party css -->
|
|
<link href="<?= base_url() . "public"; ?>/assets/libs/datatables.net-bs4/css/dataTables.bootstrap4.min.css" rel="stylesheet" type="text/css" />
|
|
<link href="<?= base_url() . "public"; ?>/assets/libs/datatables.net-responsive-bs4/css/responsive.bootstrap4.min.css" rel="stylesheet" type="text/css" />
|
|
<link href="<?= base_url() . "public"; ?>/assets/libs/datatables.net-buttons-bs4/css/buttons.bootstrap4.min.css" rel="stylesheet" type="text/css" />
|
|
<link href="<?= base_url() . "public"; ?>/assets/libs/datatables.net-select-bs4/css//select.bootstrap4.min.css" rel="stylesheet" type="text/css" />
|
|
<!-- third party css end -->
|
|
|
|
<!-- App css -->
|
|
<link href="<?= base_url() . "public"; ?>/assets/css/bootstrap-creative.min.css" rel="stylesheet" type="text/css" id="bs-default-stylesheet" />
|
|
<link href="<?= base_url() . "public"; ?>/assets/css/app-creative.min.css" rel="stylesheet" type="text/css" id="app-default-stylesheet" />
|
|
|
|
<link href="<?= base_url() . "public"; ?>/assets/css/bootstrap-creative-dark.min.css" rel="stylesheet" type="text/css" id="bs-dark-stylesheet" />
|
|
<link href="<?= base_url() . "public"; ?>/assets/css/app-creative-dark.min.css" rel="stylesheet" type="text/css" id="app-dark-stylesheet" />
|
|
|
|
<!-- icons -->
|
|
<link href="<?= base_url() . "public"; ?>/assets/css/icons.min.css" rel="stylesheet" type="text/css" />
|
|
|
|
<link href="<?= base_url() . "public"; ?>/assets/libs/bootstrap-datepicker/css/bootstrap-datepicker.min.css" rel="stylesheet" type="text/css" />
|
|
<link href="<?= base_url() . "public"; ?>/assets/libs/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet" type="text/css">
|
|
<link href="<?= base_url() . "public"; ?>/assets/libs/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet" type="text/css">
|
|
|
|
|
|
<!-- <link href="<?= base_url() . "public"; ?>/assets/css/bootstrap-material.min.css" rel="stylesheet" type="text/css" id="bs-default-stylesheet" /> -->
|
|
<!-- <link href="<?= base_url() . "public"; ?>/assets/css/app-material.min.css" rel="stylesheet" type="text/css" id="app-default-stylesheet" /> -->
|
|
|
|
|
|
<!-- <link href="<?= base_url() . "public"; ?>/assets/css/bootstrap-editable.css" rel="stylesheet" type="text/css" /> -->
|
|
<link href="https://cdn.jsdelivr.net/npm/remixicon/fonts/remixicon.css" rel="stylesheet">
|
|
|
|
<!-- Jodit Css -->
|
|
<link href="<?= base_url() . "public"; ?>/assets/css/jodit.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
|
<!-- JQuery CDN -->
|
|
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
|
|
|
<!-- Sweet Alert CDN -->
|
|
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.10.4/dist/sweetalert2.all.min.js"></script>
|
|
|
|
<!-- select2 -->
|
|
<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/css/select2.min.css" rel="stylesheet" type="text/css">
|
|
|
|
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.3/dist/umd/popper.min.js"></script>
|
|
|
|
<link rel="manifest" href="../manifest.json">
|
|
|
|
<script>
|
|
if ('serviceWorker' in navigator) {
|
|
window.addEventListener('load', function() {
|
|
navigator.serviceWorker.register('../service-worker.js').then(function(registration) {
|
|
// console.log('Service Worker registration successful with scope:', registration.scope);
|
|
}, function(err) {
|
|
// console.log('Service Worker registration failed:', err);
|
|
});
|
|
});
|
|
}
|
|
</script>
|
|
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css" />
|
|
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css" />
|
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js"></script>
|
|
<!-- srinivas -->
|
|
|
|
<link href="https://cdn.jsdelivr.net/gh/gitbrent/bootstrap4-toggle@3.6.1/css/bootstrap4-toggle.min.css" rel="stylesheet">
|
|
<script src="https://cdn.jsdelivr.net/gh/gitbrent/bootstrap4-toggle@3.6.1/js/bootstrap4-toggle.min.js"></script>
|
|
<script src="https://editor.unlayer.com/embed.js"></script>
|
|
|
|
<!-- MD5 Hash Start -->
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/blueimp-md5/2.19.0/js/md5.min.js"></script>
|
|
|
|
|
|
<!-- MD5 Hash End -->
|
|
|
|
<!-- <script src="<?= base_url('public/unlayer/js/embed.js') . '' ?>"></script> -->
|
|
<!-- srinivas -->
|
|
<style>
|
|
body[data-sidebar-size=condensed]:not([data-layout=compact]):not(.auth-fluid-pages) {
|
|
min-height: 0;
|
|
}
|
|
|
|
.navbar-custom {
|
|
top: -10px !important;
|
|
height: 61px !important;
|
|
}
|
|
|
|
.logo-box {
|
|
top: -10px !important;
|
|
height: 61px !important;
|
|
}
|
|
|
|
.content-page {
|
|
padding: 80px 15px 65px 15px !important;
|
|
}
|
|
|
|
/* Media query for small screens */
|
|
@media screen and (min-width: 768px) {
|
|
|
|
/* Styles for screens with a minimum width of 768px (e.g., tablets and larger devices) */
|
|
.navbar-custom .button-menu-mobile {
|
|
display: none;
|
|
/* Hide the button on larger screens */
|
|
}
|
|
}
|
|
|
|
|
|
.loader-mask {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: #00000069;
|
|
z-index: 99999;
|
|
}
|
|
|
|
.loader {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
width: 50px;
|
|
height: 50px;
|
|
font-size: 0;
|
|
color: #00c9d0;
|
|
display: inline-block;
|
|
margin: -25px 0 0 -25px;
|
|
text-indent: -9999em;
|
|
-webkit-transform: translateZ(0);
|
|
-ms-transform: translateZ(0);
|
|
transform: translateZ(0);
|
|
}
|
|
|
|
.lead {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.loader div {
|
|
background-color: #6ad9cf;
|
|
display: inline-block;
|
|
float: none;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 50px;
|
|
height: 50px;
|
|
opacity: .5;
|
|
border-radius: 50%;
|
|
-webkit-animation: ballPulseDouble 2s ease-in-out infinite;
|
|
animation: ballPulseDouble 2s ease-in-out infinite;
|
|
}
|
|
|
|
.loader div:last-child {
|
|
-webkit-animation-delay: -1s;
|
|
animation-delay: -1s;
|
|
}
|
|
|
|
@-webkit-keyframes ballPulseDouble {
|
|
|
|
0%,
|
|
100% {
|
|
-webkit-transform: scale(0);
|
|
transform: scale(0);
|
|
}
|
|
|
|
50% {
|
|
-webkit-transform: scale(1);
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes ballPulseDouble {
|
|
|
|
0%,
|
|
100% {
|
|
-webkit-transform: scale(0);
|
|
transform: scale(0);
|
|
}
|
|
|
|
50% {
|
|
-webkit-transform: scale(1);
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.toast-success {
|
|
background-color: #009688 !important;
|
|
color: #FFFFFF !important;
|
|
}
|
|
|
|
/* .dataTables_wrapper .text-right {
|
|
position: relative;
|
|
} */
|
|
|
|
.dataTables_wrapper .dt-buttons .buttons-csv,
|
|
.dataTables_wrapper .dt-buttons .buttons-html5 {
|
|
background-color: #02a8b5;
|
|
color: #fff;
|
|
border-color: #02a8b5;
|
|
}
|
|
|
|
.dataTables_wrapper .dt-buttons .buttons-csv:hover,
|
|
.dataTables_wrapper .dt-buttons .buttons-html5:hover {
|
|
background-color: #028291;
|
|
border-color: #028291;
|
|
}
|
|
|
|
|
|
.modal-full-width {
|
|
width: 80% !important;
|
|
/* width: 95% !important; */
|
|
/* max-width: none; */
|
|
}
|
|
|
|
.modal-body {
|
|
/* position: relative;
|
|
flex: 1 1 auto; */
|
|
padding: 2rem !important;
|
|
}
|
|
</style>
|
|
|
|
<style>
|
|
.text-danger-2 {
|
|
font-style: italic;
|
|
color: black !important;
|
|
/* color: #02a8b5 !important; */
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* .form-group {
|
|
margin-bottom: -0.2rem !important;
|
|
}
|
|
.form-row{
|
|
width: 84%;
|
|
} */
|
|
</style>
|
|
|
|
<style>
|
|
.select2-container--default .select2-selection--single {
|
|
height: 37px !important;
|
|
}
|
|
|
|
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
|
line-height: 35px !important;
|
|
}
|
|
|
|
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
|
top: 7px !important;
|
|
}
|
|
</style>
|
|
|
|
<style>
|
|
.toast-body {
|
|
padding: .75rem;
|
|
background: aliceblue !important;
|
|
}
|
|
|
|
#messages-list li {
|
|
margin-top: 0;
|
|
margin-bottom: -25px;
|
|
/* Adjust this value to reduce the space */
|
|
}
|
|
|
|
.toast-footer {
|
|
text-align: right;
|
|
color: #000;
|
|
border-top: 1px solid aliceblue;
|
|
margin-top: 11px;
|
|
margin-bottom: -6px;
|
|
}
|
|
|
|
|
|
.right-bar {
|
|
width: 300px;
|
|
/* Adjust as needed */
|
|
overflow: hidden;
|
|
}
|
|
|
|
.fixed-header {
|
|
position: relative;
|
|
top: 0;
|
|
z-index: 1000;
|
|
background-color: #f8f9fa !important;
|
|
}
|
|
|
|
.scrollable-content {
|
|
max-height: 42vh;
|
|
overflow-y: auto;
|
|
padding-top: 0px;
|
|
}
|
|
|
|
/* Additional styles to enhance appearance */
|
|
.header-title {
|
|
position: relative;
|
|
bottom: 5px;
|
|
left: 60px;
|
|
}
|
|
|
|
#app_content_management:hover {
|
|
color: red;
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
$(window).on('load', function() {
|
|
setTimeout(function() {
|
|
$('.loader').fadeOut();
|
|
$('.loader-mask').fadeOut('slow');
|
|
}, 1000);
|
|
});
|
|
</script>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body class="loading" data-layout-mode="" data-layout='{"mode": "light", "width": "fluid", "menuPosition": "fixed", "sidebar": { "color": "light", "size": "condensed", "showuser": false}, "topbar": {"color": "dark"}, "showRightSidebarOnPageLoad": false}'></body>
|
|
|
|
<!-- Preloader -->
|
|
<div class="loader-mask">
|
|
<div class="loader">
|
|
<img src="<?= base_url() . "public" ?>/assets/images/nhance-loader-fast.gif" height="40" width="40" alt="Loading...">
|
|
</div>
|
|
</div>
|
|
|
|
<!-- <img src="<?= base_url() . "public" ?>/assets/images/nhance-loader-fast.gif" height="40" width="40" alt="Loading..."> -->
|
|
<!-- Begin page -->
|
|
<div id="wrapper">
|
|
|
|
<!-- Topbar Start -->
|
|
<div class="navbar-custom">
|
|
<div class="container-fluid">
|
|
<ul class="list-unstyled topnav-menu float-right mb-0">
|
|
|
|
<li class="d-none d-lg-block">
|
|
<form class="app-search">
|
|
<div class="app-search-box dropdown">
|
|
<div class="input-group">
|
|
<input type="search" class="form-control" placeholder="Search..." id="top-search">
|
|
<div class="input-group-append">
|
|
<button class="btn" type="submit">
|
|
<i class="fe-search"></i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<!-- <div class="dropdown-menu dropdown-lg" id="search-dropdown">
|
|
<div class="dropdown-header noti-title">
|
|
<h5 class="text-overflow mb-2">Found <span class="text-danger">09</span> results</h5>
|
|
</div>
|
|
|
|
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
|
<i class="fe-home mr-1"></i>
|
|
<span>Analytics Report</span>
|
|
</a>
|
|
|
|
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
|
<i class="fe-aperture mr-1"></i>
|
|
<span>How can I help you?</span>
|
|
</a>
|
|
|
|
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
|
<i class="fe-settings mr-1"></i>
|
|
<span>User profile settings</span>
|
|
</a>
|
|
|
|
<div class="dropdown-header noti-title">
|
|
<h6 class="text-overflow mb-2 text-uppercase">Users</h6>
|
|
</div>
|
|
|
|
<div class="notification-list">
|
|
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
|
<div class="media">
|
|
<img class="d-flex mr-2 rounded-circle" src="<?= base_url() . "public"; ?>/assets/images/users/avatar-2.jpg" alt="Generic placeholder image" height="32">
|
|
<div class="media-body">
|
|
<h5 class="m-0 font-14">Erwin E. Brown</h5>
|
|
<span class="font-12 mb-0">UI Designer</span>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
|
|
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
|
<div class="media">
|
|
<img class="d-flex mr-2 rounded-circle" src="<?= base_url() . "public"; ?>/assets/images/users/avatar-5.jpg" alt="Generic placeholder image" height="32">
|
|
<div class="media-body">
|
|
<h5 class="m-0 font-14">Jacob Deo</h5>
|
|
<span class="font-12 mb-0">Developer</span>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
</div> -->
|
|
</div>
|
|
</form>
|
|
</li>
|
|
|
|
<li class="dropdown notification-list topbar-dropdown">
|
|
<a class="nav-link dropdown-toggle right-bar-toggle waves-effect waves-light">
|
|
<i class="fe-bell noti-icon"></i>
|
|
<span class="badge badge-danger rounded-circle noti-icon-badge" id="notification_count">0</span>
|
|
</a>
|
|
</li>
|
|
|
|
<li class="dropdown notification-list topbar-dropdown">
|
|
<a class="nav-link dropdown-toggle nav-user mr-0 waves-effect waves-light" data-toggle="dropdown" href="#" role="button" aria-haspopup="false" aria-expanded="false">
|
|
<img src="<?php echo (get_userProfile() != null && !empty(get_userProfile())) ? get_userProfile() : base_url() . 'public/assets/images/avatar_2x.png'; ?>" alt="user-image" class="rounded-circle">
|
|
<span class="pro-user-name ml-1" style="font-size: 16px;">
|
|
<?= (isset(get_session_userdata()->first_name) ? get_session_userdata()->first_name : 'NOT SET') ?>
|
|
<!-- <i class="mdi mdi-chevron-down"></i> -->
|
|
</span>
|
|
</a>
|
|
<!--<div class="dropdown-menu dropdown-menu-right profile-dropdown ">
|
|
<div class="dropdown-header noti-title">
|
|
<h6 class="text-overflow m-0">Welcome !</h6>
|
|
</div>
|
|
|
|
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
|
<i class="ri-account-circle-line"></i>
|
|
<span>My Account</span>
|
|
</a>
|
|
|
|
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
|
<i class="ri-settings-3-line"></i>
|
|
<span>Settings</span>
|
|
</a>
|
|
|
|
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
|
<i class="ri-wallet-line"></i>
|
|
<span>My Wallet <span class="badge badge-success float-right">3</span> </span>
|
|
</a>
|
|
|
|
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
|
<i class="ri-lock-line"></i>
|
|
<span>Lock Screen</span>
|
|
</a>
|
|
|
|
|
|
<a href="<?= base_url('/logout'); ?>" class="dropdown-item notify-item">
|
|
<i class="ri-logout-box-line"></i>
|
|
<span>Logout</span>
|
|
</a>
|
|
|
|
</div>-->
|
|
</li>
|
|
|
|
<!-- <li class="dropdown notification-list">
|
|
<a href="javascript:void(0);" class="nav-link right-bar-toggle waves-effect waves-light">
|
|
<i class="fe-settings noti-icon"></i>
|
|
</a>
|
|
</li> -->
|
|
|
|
<li class="dropdown notification-list">
|
|
<a href="<?= base_url('/logout'); ?>" class="nav-link waves-effect waves-light">
|
|
<i class="ri-logout-box-r-line" style="font-size: 25px;"></i>
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<!-- LOGO -->
|
|
<div class="logo-box">
|
|
<a href="https://localhost/nhance/dashboard/view" class="logo logo-dark text-center">
|
|
<span class="logo-sm">
|
|
<img src="<?= base_url() . "public"; ?>/assets/images/Nhance_Favi.svg" alt="" height="24">
|
|
<!-- <span class="logo-lg-text-light">NHANCE</span> -->
|
|
</span>
|
|
<span class="logo-lg">
|
|
<img src="<?= base_url() . "public"; ?>/assets/images/Nhance_Favi.svg" alt="" height="20">
|
|
<!-- <span class="logo-lg-text-light">M</span> -->
|
|
</span>
|
|
</a>
|
|
|
|
<a href="https://localhost/nhance/dashboard/view" class="logo logo-light text-center">
|
|
<span class="logo-sm">
|
|
<img src="<?= base_url() . "public"; ?>/assets/images/Nhance_Favi.svg" alt="" height="24">
|
|
</span>
|
|
<!-- <span class="logo-lg">
|
|
<img src="<?= base_url() . "public"; ?>/assets/images/logo-light.png" alt="" height="20">
|
|
</span> -->
|
|
</a>
|
|
</div>
|
|
|
|
<ul class="list-unstyled topnav-menu topnav-menu-left m-0">
|
|
<li>
|
|
<button class="button-menu-mobile waves-effect waves-light">
|
|
<i class="fe-menu"></i>
|
|
</button>
|
|
</li>
|
|
|
|
<li>
|
|
<!-- Mobile menu toggle (Horizontal Layout)-->
|
|
<a class="navbar-toggle nav-link" data-toggle="collapse" data-target="#topnav-menu-content">
|
|
<div class="lines">
|
|
<span></span>
|
|
<span></span>
|
|
<span></span>
|
|
</div>
|
|
</a>
|
|
<!-- End mobile menu toggle-->
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
</div>
|
|
<!-- end Topbar -->
|
|
|
|
<!-- ========== Left Sidebar Start ========== -->
|
|
<div class="left-side-menu">
|
|
|
|
<!-- LOGO -->
|
|
<div class="logo-box">
|
|
<a href="<?= base_url('/dashboard/view') ?>" class="logo logo-dark text-center">
|
|
<span class="logo-sm">
|
|
<img src="<?= base_url() . "public"; ?>/assets/images/logo-sm-dark.png" alt="" height="24">
|
|
<!-- <span class="logo-lg-text-light">nHance</span> -->
|
|
</span>
|
|
<span class="logo-lg">
|
|
<img src="<?= base_url() . "public"; ?>/assets/images/logo-dark.png" alt="" height="20">
|
|
<!-- <span class="logo-lg-text-light">N</span> -->
|
|
</span>
|
|
</a>
|
|
|
|
<a href="<?= base_url('/dashboard/view') ?>" class="logo logo-light text-center">
|
|
<span class="logo-sm">
|
|
<img src="<?= base_url() . "public"; ?>/assets/images/Nhance_Favi_white_2.png" alt="" width="30" height="30">
|
|
</span>
|
|
<!-- <span class="logo-lg">
|
|
<img src="<?= base_url() . "public"; ?>./assets/images/logo-light.png" alt="" height="20">
|
|
</span> -->
|
|
</a>
|
|
</div>
|
|
|
|
<div class="h-100" data-simplebar>
|
|
<!--- Sidemenu -->
|
|
<div id="sidebar-menu">
|
|
<ul id="side-menu">
|
|
|
|
<li>
|
|
<a href="<?= base_url('/dashboard/view') ?>">
|
|
<i class="ri-dashboard-line"></i>
|
|
<span> Dashboard </span>
|
|
</a>
|
|
</li>
|
|
|
|
<!-- client -->
|
|
<?php if (in_array(get_role_id(), [1,2,3,5])) { ?>
|
|
<li>
|
|
<a href="<?= base_url('/client/list') ?>">
|
|
<i class="mdi mdi-domain"></i>
|
|
<span> Clients </span>
|
|
</a>
|
|
</li>
|
|
<?php } ?>
|
|
|
|
<!-- Enrollment process -->
|
|
<?php if (in_array(get_role_id(), [1,2,3,5]) || in_array(ENROLLMENT_TEAM_ID, user_team())) { ?>
|
|
<li>
|
|
<a href="#sidebarDashboards" data-toggle="collapse" class="waves-effect">
|
|
<i class="fas fa-user-tie"></i>
|
|
<span class="badge badge-success badge-pill float-right">2</span>
|
|
<span> Action on Policies </span>
|
|
</a>
|
|
<div class="collapse" id="sidebarDashboards">
|
|
<ul class="nav-second-level">
|
|
|
|
<li>
|
|
<a href="<?= base_url('/employee/upload') ?>">View Inception</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/employee/list') ?>">View Members</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/employee/endorsement-list') ?>">View Endorsement</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/employee/enrollment-list') ?>">View Enrolment</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/employee/test_members_list') ?>">Test Members List</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
<?php } ?>
|
|
|
|
<!-- Masters -->
|
|
<?php if (get_role_id() == 1 || get_role_id() == 5) { ?>
|
|
|
|
<li>
|
|
<a href="#sidebarDashboards" data-toggle="collapse" class="waves-effect">
|
|
<i class="ri-database-2-line"></i>
|
|
<span class="badge badge-success badge-pill float-right">2</span>
|
|
<span> Masters </span>
|
|
</a>
|
|
<div class="collapse" id="sidebarDashboards">
|
|
<ul class="nav-second-level">
|
|
<li>
|
|
<a href="<?= base_url('/master/insurer/list') ?>">Insurer</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/master/tpa/list') ?>">TPA</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/master/kyc/list') ?>">KYC</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/master/policy/list') ?>">Policy</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/master/cash_deposite/list') ?>">CD Master</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/master/vehicle/list') ?>">Vehicle Master</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/user/list') ?>"> Users </a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
|
|
<?php } ?>
|
|
|
|
<!-- <li>
|
|
<?php
|
|
$sessionData = get_session_userdata();
|
|
$currentUrl = base_url();
|
|
$parsedUrl = parse_url($currentUrl);
|
|
$baseUrl = $parsedUrl['scheme'] . '://' . $parsedUrl['host'] . '/';
|
|
$hashedEmail = hash('sha256', $sessionData->email);
|
|
$redirectUrl = getenv('helpdeskURL') . '/staff/login?' . http_build_query(['token' => $hashedEmail]);
|
|
?>
|
|
<a href="<?php echo $redirectUrl; ?>" target="_blank">
|
|
<i class="mdi mdi-lifebuoy"></i>
|
|
<span> Tickets </span>
|
|
</a>
|
|
</li> -->
|
|
|
|
<!-- Claims -->
|
|
<?php if (in_array(get_role_id(), [1,2,3,5]) || in_array(CLAIMS_TEAM_ID, user_team())) { ?>
|
|
<li>
|
|
<a href="#sidebarDashboardsTicket" data-toggle="collapse" class="waves-effect">
|
|
<i class="mdi mdi-lifebuoy"></i>
|
|
<span class="badge badge-success badge-pill float-right">2</span>
|
|
<span> Claims </span>
|
|
</a>
|
|
<div class="collapse" id="sidebarDashboardsTicket">
|
|
<ul class="nav-second-level">
|
|
<li>
|
|
<a href="#" onclick="openTicketTypeAskModal()">New claim</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/ticket/list') ?>">Claim List</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/ticket/mail_template') ?>">Mail Template</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/ticket/ticket_reports') ?>">Claim Reports</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/ticket/feedback-list') ?>">Claim Feedback List</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
<?php } ?>
|
|
|
|
<!-- leads -->
|
|
<?php if (in_array(get_role_id(), [1,2,3,5]) || in_array(BUSINESS_SUPPORT_TEAM_ID, user_team()) || in_array(SALES_TEAM_ID, user_team())) { ?>
|
|
<li>
|
|
<a href="<?= base_url('/leads/list') ?>">
|
|
<i class="mdi mdi-chart-bar"></i>
|
|
<span> Leads </span>
|
|
</a>
|
|
</li>
|
|
<?php } ?>
|
|
|
|
<!-- BDS -->
|
|
<?php if ((get_role_id() == 1 || get_role_id() == 5) || (in_array(MANAGEMENT_TEAM_ID, user_team()) || in_array(FINANCE_TEAM_ID, user_team()) || in_array(BUSINESS_TEAM_ID, user_team()) || in_array(POS_TEAM_ID, user_team()))) { ?>
|
|
<li>
|
|
<a href="#policyTransactions" data-toggle="collapse" class="waves-effect">
|
|
<i class="mdi mdi-format-list-bulleted"></i>
|
|
<span class="badge badge-success badge-pill float-right">2</span>
|
|
<span> Policy Transactions </span>
|
|
</a>
|
|
<div class="collapse" id="policyTransactions">
|
|
<ul class="nav-second-level">
|
|
<li>
|
|
<a href="#policyTransactionsSub" data-toggle="collapse" class="waves-effect">
|
|
<i class="mdi mdi-format-list-bulleted"></i>
|
|
<span>Policy Transactions</span>
|
|
</a>
|
|
<div class="collapse" id="policyTransactionsSub">
|
|
<ul>
|
|
|
|
<?php if (in_array(get_role_id(), [1,5]) || (in_array(MANAGEMENT_TEAM_ID, user_team()) || in_array(FINANCE_TEAM_ID, user_team()) || in_array(BUSINESS_TEAM_ID, user_team()) || in_array(POS_TEAM_ID, user_team()))) { ?>
|
|
<li>
|
|
<a href="<?= base_url('/policy_tranction/inception/list') ?>">Policy</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/policy_tranction/endorsement/list') ?>">Endorsement</a>
|
|
</li>
|
|
<?php } ?>
|
|
|
|
<?php if (in_array(get_role_id(), [1,5]) || in_array(FINANCE_TEAM_ID, user_team()) || in_array(MANAGEMENT_TEAM_ID, user_team())) { ?>
|
|
<li>
|
|
<a href="<?= base_url('/policy_tranction/statement/list') ?>">Statement Upload</a>
|
|
</li>
|
|
<?php } ?>
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
|
|
<?php if ((get_role_id() == 1 || get_role_id() == 5) || (in_array(MANAGEMENT_TEAM_ID, user_team()) || in_array(FINANCE_TEAM_ID, user_team()) || in_array(BUSINESS_TEAM_ID, user_team()) || in_array(POS_TEAM_ID, user_team()))) { ?>
|
|
|
|
<?php if (in_array(get_role_id(), [1,5]) || in_array(MANAGEMENT_TEAM_ID, user_team()) || in_array(POS_TEAM_ID, user_team()) ) { ?>
|
|
<li>
|
|
<a href="#policyReports" data-toggle="collapse" class="waves-effect">
|
|
<i class="ri-file-chart-fill"></i>
|
|
<span> Policy Reports </span>
|
|
</a>
|
|
<div class="collapse" id="policyReports">
|
|
<ul class="nav-third-level">
|
|
<li>
|
|
<a href="<?= base_url('/policy_tranction/report/list') ?>">BDS</a>
|
|
</li>
|
|
<?php if (in_array(get_role_id(), [1,5]) || in_array(MANAGEMENT_TEAM_ID, user_team())) { ?>
|
|
<li>
|
|
<a href="<?= base_url('/policy_tranction/report/report-varience-list') ?>">Variance</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/policy_tranction/report/report-outstanding-list') ?>">Outstanding</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/bdsReport/irba_report') ?>">IRDA Reports</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/bdsReport/renewal_report') ?>">Renewal Reports</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/bdsReport/getTATReport') ?>">TAT Band Reports</a>
|
|
</li>
|
|
<?php } ?>
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
<?php } ?>
|
|
<li>
|
|
<a href="#policy_tat_report_type" data-toggle="collapse" class="waves-effect">
|
|
<i class="ri-file-chart-fill"></i>
|
|
<span> Policy TAT Reports </span>
|
|
</a>
|
|
<div class="collapse" id="policy_tat_report_type">
|
|
<ul class="nav-third-level">
|
|
<li>
|
|
<a href="<?= base_url('/bdsReport/getMultiReport/1') ?>">TAT Band Wise</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="<?= base_url('/bdsReport/getMultiReport/2') ?>">ACM Status Wise</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/bdsReport/getMultiReport/3') ?>">ACM TAT Wise</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
|
|
<?php if ((get_role_id() == 1 || get_role_id() == 5) || (in_array(MANAGEMENT_TEAM_ID, user_team()) || in_array(FINANCE_TEAM_ID, user_team()) || in_array(BUSINESS_TEAM_ID, user_team()) )) { ?>
|
|
<li>
|
|
<a href="#policyPendingActions" data-toggle="collapse" class="waves-effect">
|
|
<i class="mdi mdi-timer-sand"></i>
|
|
<span> Policy Pending Actions </span>
|
|
</a>
|
|
<div class="collapse" id="policyPendingActions">
|
|
<ul class="nav-third-level">
|
|
<?php if (in_array(get_role_id(), [1,5]) || in_array(MANAGEMENT_TEAM_ID, user_team()) || in_array(FINANCE_TEAM_ID, user_team())) { ?>
|
|
<li>
|
|
<a href="<?= base_url('/policy_tranction/report/report-finance-list') ?>">Finance Team</a>
|
|
</li>
|
|
<?php } ?>
|
|
|
|
<?php if (in_array(get_role_id(), [1,5]) || in_array(MANAGEMENT_TEAM_ID, user_team()) || in_array(BUSINESS_TEAM_ID, user_team())) { ?>
|
|
<li>
|
|
<a href="<?= base_url('/policy_tranction/report/report-business-list') ?>">Business Team</a>
|
|
</li>
|
|
<?php } ?>
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
<?php } ?>
|
|
|
|
<?php if ((get_role_id() == 1 || get_role_id() == 5) || (in_array(MANAGEMENT_TEAM_ID, user_team()) || in_array(FINANCE_TEAM_ID, user_team()) || in_array(BUSINESS_TEAM_ID, user_team()) )) { ?>
|
|
<li>
|
|
<a href="#policyMasters" data-toggle="collapse" class="waves-effect">
|
|
<i class="ri-database-2-line"></i>
|
|
<span> Masters </span>
|
|
</a>
|
|
<div class="collapse" id="policyMasters">
|
|
<ul class="nav-third-level">
|
|
<li>
|
|
<a href="<?= base_url('/master/cash_deposite/list') ?>">CD Master</a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/master/vehicle/list') ?>">Vehicle Master</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
<?php } ?>
|
|
|
|
<?php if ((get_role_id() == 1 || get_role_id() == 5) || (in_array(MANAGEMENT_TEAM_ID, user_team()) || in_array(FINANCE_TEAM_ID, user_team()) || in_array(BUSINESS_TEAM_ID, user_team()))) { ?>
|
|
<li>
|
|
<a href="<?= base_url('/dmsSearch') ?>">
|
|
<i class="ri-book-open-line"></i>
|
|
<span> Documents</span>
|
|
</a>
|
|
</li>
|
|
<?php } ?>
|
|
|
|
<?php } ?>
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
<?php } ?>
|
|
|
|
<!-- Ad -->
|
|
<?php if (in_array(get_role_id(), [1,2,3,5])) { ?>
|
|
<li>
|
|
<a id="app_content_management" href="#sidebarDashboardsmenu" data-toggle="collapse" class="waves-effect" style="color: grey;">
|
|
<i class="fa fa-info-circle" aria-hidden="true"></i>
|
|
<span class="badge badge-success badge-pill float-right">2</span>
|
|
<span> App Content Management </span>
|
|
</a>
|
|
<div class="collapse" id="sidebarDashboardsmenu">
|
|
<ul class="nav-second-level">
|
|
<li>
|
|
<a href="<?= base_url('/add_image_index') ?>"> Advertisement Images </a>
|
|
</li>
|
|
<li>
|
|
<a href="<?= base_url('/frontend_content') ?>">Front-end Content</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
<?php } ?>
|
|
|
|
</ul>
|
|
</div>
|
|
<!-- End Sidebar -->
|
|
</div>
|
|
<!-- Sidebar -left -->
|
|
|
|
</div>
|
|
<!-- Left Sidebar End -->
|
|
|
|
<!-- ============================================================== -->
|
|
<!-- Start Page Content here -->
|
|
<!-- ============================================================== -->
|
|
|
|
<div class="content-page">
|
|
<div class="content">
|
|
|
|
<!-- Start Content-->
|
|
<div class="container-fluid">
|