CHANGE_new_theme_ui_fixes - VADIVEL J 2025-09-29
This commit is contained in:
parent
30f1c939c2
commit
28c963d150
@ -189,13 +189,13 @@
|
||||
<div class="col-12">
|
||||
<!-- <div class="card"> -->
|
||||
<div class="card-body">
|
||||
<ul class="nav nav-pills navtab-bg" id="myTab">
|
||||
<ul class="nav nav-pills navtab-bg nav-dash" >
|
||||
|
||||
<?php if(in_array(get_role_id(), [1,2,3,5])) { ?>
|
||||
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<a href="#pending-actions-dash-tab" data-toggle="tab" aria-expanded="false"
|
||||
class="nav-link px-3 py-1 dash-anchor" id="pending_actions_tab">
|
||||
class="nav-link px-3 py-2 dash-anchor nav-dash" id="pending_actions_tab">
|
||||
<img src="<?= base_url() . "public"; ?>/assets/images/inactive_pending_actions.png" alt="Logo" height="14" class="inactive_pending" >
|
||||
<img src="<?= base_url() . "public"; ?>/assets/images/active_pending_actions.png" alt="Logo" height="14"
|
||||
class="active_pending" style="display:none;">
|
||||
@ -209,7 +209,7 @@
|
||||
<?php if(in_array(get_role_id(), [1,2,3,5]) || (get_role_id() == 4 && in_array(MANAGEMENT_TEAM_ID, user_team()) || in_array(FINANCE_TEAM_ID, user_team()) || in_array(BUSINESS_TEAM_ID, user_team()))) { ?>
|
||||
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<a href="#bds-dash-tab" data-toggle="tab" aria-expanded="true" class="nav-link px-3 py-1 dash-anchor" id="bds_tab">
|
||||
<a href="#bds-dash-tab" data-toggle="tab" aria-expanded="true" class="nav-link px-3 py-2 dash-anchor nav-dash" id="bds_tab">
|
||||
<img src="<?= base_url() . "public"; ?>/assets/images/inactive_bds.png" alt="Logo" height="14" class="inactive_bds">
|
||||
<img src="<?= base_url() . "public"; ?>/assets/images/active_bds.png" alt="Logo" height="14"
|
||||
class="active_bds " style="display:none;">
|
||||
@ -225,7 +225,7 @@
|
||||
$isActive = get_role_id() == STAFF_ROLE_ID && in_array(CLAIMS_TEAM_ID,user_team()) ? 'active show' : '';
|
||||
?>
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<a href="#claims-dash-tab" data-toggle="tab" aria-expanded="true" class="nav-link px-3 py-1 dash-anchor" id="claims_tab">
|
||||
<a href="#claims-dash-tab" data-toggle="tab" aria-expanded="true" class="nav-link px-3 py-2 dash-anchor nav-dash" id="claims_tab">
|
||||
<img src="<?= base_url() . "public"; ?>/assets/images/inactive_claims.png" alt="Logo" height="14" class="inactive_claims">
|
||||
<img src="<?= base_url() . "public"; ?>/assets/images/active_claims.png" alt="Logo" height="14"
|
||||
class="active_claims " style="display:none;">
|
||||
@ -240,7 +240,7 @@
|
||||
$isActive = get_role_id() == STAFF_ROLE_ID && in_array(ENROLLMENT_TEAM_ID,user_team()) ? 'active show' : '';
|
||||
?>
|
||||
<li class="nav-item d-flex justify-content-center align-items-center ">
|
||||
<a href="#leads-dash-tab " data-toggle="tab" aria-expanded="true" class="nav-link px-3 py-1 dash-anchor" id="leads_tab" >
|
||||
<a href="#leads-dash-tab " data-toggle="tab" aria-expanded="true" class="nav-link px-3 py-2 dash-anchor nav-dash" id="leads_tab" >
|
||||
<img src="<?= base_url() . "public"; ?>/assets/images/inactive_leads_and_bds_renewal.png" alt="Logo" height="14" class="inactive_leads">
|
||||
<img src="<?= base_url() . "public"; ?>/assets/images/active_leads_and_bds_renewal.png" alt="Logo" height="14"
|
||||
class="active_leads " style="display:none;">
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
<style>
|
||||
|
||||
body {
|
||||
.multiselect-native-select {
|
||||
position: relative;
|
||||
|
||||
/* bottom: 32px; */
|
||||
select {
|
||||
border: 0 !important;
|
||||
@ -28,17 +28,12 @@ body {
|
||||
|
||||
}
|
||||
|
||||
.navtab-bg .nav-link {
|
||||
margin: 0 5px 10px!important;
|
||||
}
|
||||
|
||||
.readonly-select {
|
||||
pointer-events: none;
|
||||
/* background-color: #f0f0f0; */
|
||||
background-color: #e0e0e0;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<style>
|
||||
@ -255,33 +250,6 @@ body {
|
||||
border: 1px solid #dee2e6;
|
||||
}
|
||||
|
||||
#client_add .nav-pills ,
|
||||
#client_add .nav-link
|
||||
{
|
||||
background-color: #F5FFFF !important;
|
||||
color : #00999E !important;
|
||||
border-radius:10px;
|
||||
|
||||
}
|
||||
|
||||
#client_add .nav-pills
|
||||
{
|
||||
background-color: #F5FFFF !important;
|
||||
color : #00999E !important;
|
||||
box-shadow: 0px 2px 4px 0px #00000040;
|
||||
padding-top: 5px ;
|
||||
}
|
||||
|
||||
|
||||
#client_add .nav-link.active-tab {
|
||||
color: white !important;
|
||||
background-color: #00999E !important;
|
||||
font-size: small !important;
|
||||
padding:8px 16px;
|
||||
border-radius: 10px !important;
|
||||
box-shadow: 0px 2px 4px 0px #00000040;
|
||||
|
||||
}
|
||||
|
||||
#hr_activity_history_append_area {
|
||||
padding-top: 0;
|
||||
@ -295,8 +263,6 @@ body {
|
||||
#hr_activity_history_append_area tbody tr {
|
||||
background-color: white !important;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
@ -307,7 +273,9 @@ body {
|
||||
<div class="card-body">
|
||||
<div class="row" style="padding-bottom: 10px;">
|
||||
<div class="col-6" style="align-self: center;">
|
||||
<h4 style="position: relative;">Client Onboarding <?php if(isset($client)) {echo ' - ' . $client['client_name']; } ?></h4>
|
||||
<h4 style="position: relative;">Client Onboarding <?php if (isset($client)) {
|
||||
echo ' - ' . $client['client_name'];
|
||||
} ?></h4>
|
||||
</div>
|
||||
<div class="col-6" style="text-align: right;">
|
||||
<a href="<?= base_url("client/list"); ?>"><i class="mdi mdi-arrow-left" style="font-size: 17px;"></i></a>
|
||||
@ -316,14 +284,14 @@ body {
|
||||
|
||||
<br>
|
||||
|
||||
<div class="tab-wrapper">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="tab-wrapper position-relative">
|
||||
<!-- Left Arrow -->
|
||||
<button class="scroll-btn left-btn" type="button">◀</button>
|
||||
|
||||
|
||||
<ul class="nav nav-pills navtab-bg" id="myTab">
|
||||
<li class="nav-item ">
|
||||
<button class="scroll-btn left-btn" type="button">◀</button>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="#general-q-tab" data-toggle="tab" aria-expanded="false"
|
||||
class="nav-link px-3 py-2 active" id="general_tab">
|
||||
@ -385,18 +353,12 @@ body {
|
||||
<span class="d-none d-sm-inline-block">Others</span>
|
||||
</a>
|
||||
</li> -->
|
||||
<li class="nav-item">
|
||||
<button class="scroll-btn right-btn" type="button">▶</button>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<!-- Right Arrow -->
|
||||
<button class="scroll-btn right-btn" type="button">▶</button>
|
||||
</div>
|
||||
|
||||
<div class="tab-wrapper position-relative">
|
||||
<!-- Left Arrow -->
|
||||
<button class="scroll-btn left-btn" type="button">◀</button>
|
||||
|
||||
<!-- Right Arrow -->
|
||||
<button class="scroll-btn right-btn" type="button">▶</button>
|
||||
</div>
|
||||
|
||||
<div class="tab-content">
|
||||
@ -424,7 +386,8 @@ body {
|
||||
</div>
|
||||
|
||||
<?php include("client_api.php"); ?>
|
||||
<?php // include('client_others_tab.php'); ?>
|
||||
<?php // include('client_others_tab.php');
|
||||
?>
|
||||
<?php include('notification.php'); ?>
|
||||
<?php include('client_basic_info.php'); ?>
|
||||
<?php include('client_kyc.php'); ?>
|
||||
@ -439,7 +402,6 @@ body {
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
let hrAccessControlHtmlAppended = false;
|
||||
let hrActivityHistoryHtmlAppended = false;
|
||||
|
||||
@ -449,7 +411,9 @@ body {
|
||||
|
||||
if (check_client_id[0].value == '' || check_client_id[0].value == null || check_client_id[0].value == 0) {
|
||||
$('#btnBranchAdd').hide();
|
||||
toastr.warning('Please Add the Client!', 'warning',{timeOut: 2000});
|
||||
toastr.warning('Please Add the Client!', 'warning', {
|
||||
timeOut: 2000
|
||||
});
|
||||
} else {
|
||||
if ($('#btnBranchBack')[0].style.display == 'none') {
|
||||
$('#btnBranchAdd').show();
|
||||
@ -464,7 +428,9 @@ body {
|
||||
|
||||
if (check_client_id[0].value == '' || check_client_id[0].value == null || check_client_id[0].value == 0) {
|
||||
$('#relation_form').hide();
|
||||
toastr.warning('Please Add the Client!', 'warning',{timeOut: 2000});
|
||||
toastr.warning('Please Add the Client!', 'warning', {
|
||||
timeOut: 2000
|
||||
});
|
||||
} else {
|
||||
$('#relation_form').show();
|
||||
}
|
||||
@ -476,7 +442,9 @@ body {
|
||||
|
||||
if (check_client_id == '' || check_client_id == null || check_client_id == 0) {
|
||||
$('#BtnAdd').hide();
|
||||
toastr.warning('Please Add the Client!', 'warning',{timeOut: 2000});
|
||||
toastr.warning('Please Add the Client!', 'warning', {
|
||||
timeOut: 2000
|
||||
});
|
||||
} else {
|
||||
if ($('#btnPolicyBack')[0].style.display == 'none') {
|
||||
$('#BtnAdd').show();
|
||||
@ -491,7 +459,9 @@ body {
|
||||
|
||||
if (check_client_id[0].value == '' || check_client_id[0].value == null || check_client_id[0].value == 0) {
|
||||
$('#btnBranchAdd').hide();
|
||||
toastr.warning('Please Add the Client!', 'warning',{timeOut: 2000});
|
||||
toastr.warning('Please Add the Client!', 'warning', {
|
||||
timeOut: 2000
|
||||
});
|
||||
} else {
|
||||
if ($('#btnBranchBack')[0].style.display == 'none') {
|
||||
$('#btnBranchAdd').show();
|
||||
@ -506,7 +476,9 @@ body {
|
||||
|
||||
if (check_client_id[0].value == '' || check_client_id[0].value == null || check_client_id[0].value == 0) {
|
||||
$('#notification-tab').hide();
|
||||
toastr.warning('Please Add the Client!', 'warning',{timeOut: 2000});
|
||||
toastr.warning('Please Add the Client!', 'warning', {
|
||||
timeOut: 2000
|
||||
});
|
||||
} else {
|
||||
if ($('#notification-tab')[0].style.display == 'none') {
|
||||
$('#notification-tab').show();
|
||||
@ -547,7 +519,9 @@ body {
|
||||
console.log('client_id ', client_id);
|
||||
|
||||
let url = '<?= base_url('util/viewHrAccessData') ?>';
|
||||
let requestData = {client_id : client_id};
|
||||
let requestData = {
|
||||
client_id: client_id
|
||||
};
|
||||
|
||||
if (hrAccessControlHtmlAppended == false) {
|
||||
sendAjaxRequestForGlobal(url, 'GET', requestData, function(response) {
|
||||
@ -586,7 +560,11 @@ body {
|
||||
}
|
||||
|
||||
let url = '<?= base_url('user/getUserActivityHistory') ?>';
|
||||
let requestData = {client_id : client_id, startDate : startDate, endDate : endDate};
|
||||
let requestData = {
|
||||
client_id: client_id,
|
||||
startDate: startDate,
|
||||
endDate: endDate
|
||||
};
|
||||
|
||||
if (hrActivityHistoryHtmlAppended == false) {
|
||||
sendAjaxRequestForGlobal(url, 'GET', requestData, function(response) {
|
||||
@ -609,11 +587,9 @@ body {
|
||||
console.log('Already HTML appended');
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<script>
|
||||
|
||||
function toggleAccordion(header) {
|
||||
if (event.target.classList.contains('fa-info-circle') ||
|
||||
event.target.parentElement.classList.contains('fa-info-circle')) {
|
||||
@ -666,8 +642,7 @@ body {
|
||||
return Array.from(checkboxes).map(cb => parseInt(cb.value));
|
||||
}
|
||||
|
||||
function getHrActivityHistory()
|
||||
{
|
||||
function getHrActivityHistory() {
|
||||
console.log(event.target.dataset.id); //return;
|
||||
let ids = event.target.dataset.id.split('-');
|
||||
console.log('ids', ids)
|
||||
@ -677,7 +652,12 @@ body {
|
||||
console.log(url);
|
||||
let user_type = "hr";
|
||||
|
||||
let requestData = {user_id : ids[1], pre_hr_id : ids[0], user_type : user_type, client_id : client_id};
|
||||
let requestData = {
|
||||
user_id: ids[1],
|
||||
pre_hr_id: ids[0],
|
||||
user_type: user_type,
|
||||
client_id: client_id
|
||||
};
|
||||
console.log('requestData', requestData);
|
||||
|
||||
sendAjaxRequestForGlobal(url, 'GET', requestData, function(response) {
|
||||
@ -761,7 +741,10 @@ body {
|
||||
console.log(output);
|
||||
|
||||
let url = '<?= base_url('util/saveHrAccessData') ?>';
|
||||
let requestData = {json : output, client_id : client_id};
|
||||
let requestData = {
|
||||
json: output,
|
||||
client_id: client_id
|
||||
};
|
||||
|
||||
sendAjaxRequestForGlobal(url, 'POST', requestData, function(response) {
|
||||
console.log('Data fetched successfully:', response);
|
||||
@ -988,19 +971,4 @@ body {
|
||||
|
||||
// console.log('--- END ---');
|
||||
// });
|
||||
|
||||
</script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('#client_add .nav-link').click(function(){
|
||||
|
||||
// change bg color of tab
|
||||
$('#client_add .nav-link').removeClass('active-tab');
|
||||
$(this).addClass('active-tab');
|
||||
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@ -97,7 +97,7 @@ option:disabled {
|
||||
|
||||
|
||||
<button id="emp_form_submit_button" type="submit"
|
||||
class=" nav-link-btn px-3 py-1 btn btn-primary waves-effect waves-light justify-content-end">Upload</button>
|
||||
class=" nav-link-btn px-3 py-2 btn btn-primary waves-effect waves-light justify-content-end">Upload</button>
|
||||
|
||||
|
||||
|
||||
@ -105,7 +105,7 @@ option:disabled {
|
||||
|
||||
|
||||
|
||||
<a class=" nav-link-btn px-3 py-1 btn btn-primary waves-effect waves-light justify-content-end"
|
||||
<a class=" nav-link-btn px-3 py-2 btn btn-primary waves-effect waves-light justify-content-end"
|
||||
id="fetch_enrolled_data" data-toggle="modal"
|
||||
data-target="#full-width-modal" title="Download Sample Excel">Fetch
|
||||
Enrolled Data</a>
|
||||
|
||||
@ -10,7 +10,6 @@
|
||||
</style>
|
||||
|
||||
<script>
|
||||
|
||||
var client_list = ''; // local variable for storing the client branch list
|
||||
var branch_list = ''; // local variable for storing the client branch list
|
||||
var policy_list = ''; // local variable for storing the client policy list
|
||||
@ -21,8 +20,7 @@
|
||||
})
|
||||
|
||||
//featch client and branch and policy
|
||||
function getClientAndBranchAndPolicy()
|
||||
{
|
||||
function getClientAndBranchAndPolicy() {
|
||||
$.ajax({
|
||||
url: '<?= base_url("/util/getClientAndBranchAndPolicy") ?>',
|
||||
type: "GET",
|
||||
@ -51,33 +49,42 @@
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<div class="row" id="client_add" style="position: relative; bottom: 25px;">
|
||||
|
||||
<div class="col-12">
|
||||
<div class="card-body">
|
||||
<div class="tab-wrapper position-relative">
|
||||
<ul class="nav nav-pills navtab-bg " id="myTab">
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<a href="#general-q-tab" data-toggle="tab" aria-expanded="false" class="nav-link px-3 py-1 active-tab" id="general_tab">
|
||||
<button class="scroll-btn left-btn" type="button">◀</button>
|
||||
</li>
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<a href="#general-q-tab" data-toggle="tab" aria-expanded="false" class="nav-link px-3 py-2 active-tab " id="general_tab">
|
||||
<span class="mr-1"><i class="mdi mdi-contacts"></i></span>
|
||||
<span class="d-none d-sm-inline-block dash-tab-font">Data From Client</span>
|
||||
<span class="d-none d-sm-inline-block ">Data From Client</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<a href="#KYC-DOC-tab" data-toggle="tab" aria-expanded="true" class="nav-link px-3 py-1" id="kyc_tab">
|
||||
<a href="#KYC-DOC-tab" data-toggle="tab" aria-expanded="true" class="nav-link px-3 py-2" id="kyc_tab">
|
||||
<span class="mr-1"><i class="mdi mdi-file"></i></span>
|
||||
<span class="d-none d-sm-inline-block dash-tab-font">Insurer or TPA Data</span>
|
||||
<span class="d-none d-sm-inline-block ">Insurer or TPA Data</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<a href="#HR-DOC-tab" data-toggle="tab" aria-expanded="true" class="nav-link px-3 py-1" id="hr_tab">
|
||||
<a href="#HR-DOC-tab" data-toggle="tab" aria-expanded="true" class="nav-link px-3 py-2" id="hr_tab">
|
||||
<span class="mr-1"><i class="mdi mdi-file"></i></span>
|
||||
<span class="d-none d-sm-inline-block dash-tab-font">HR Uploaded Files</span>
|
||||
<span class="d-none d-sm-inline-block ">HR Uploaded Files</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<!-- Right Arrow -->
|
||||
<button class="scroll-btn right-btn" type="button">▶</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="tab-content">
|
||||
<?php include('employee_upload.php'); ?>
|
||||
<?php include('insurer_or_tpa_data.php'); ?>
|
||||
|
||||
@ -20,7 +20,12 @@
|
||||
<span class="title-text ">Insurer</span>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="tab-wrapper position-relative">
|
||||
<ul class="nav nav-pills navtab-bg" id="myTab">
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<button class="scroll-btn left-btn" type="button">◀</button>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="#general-q-tab" data-toggle="tab" aria-expanded="false"
|
||||
class="nav-link px-3 py-2 active-tab active">
|
||||
@ -46,8 +51,13 @@
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<!-- Right Arrow -->
|
||||
<button class="scroll-btn right-btn" type="button">▶</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="tab-content">
|
||||
<?php include('insurer_basic_info.php'); ?>
|
||||
<?php include('insurer_branch.php'); ?>
|
||||
@ -60,13 +70,14 @@
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
function insurer_branch_contact() {
|
||||
var check_insurer_id = $('#insurer_General_PrimaryKey');
|
||||
|
||||
if (check_insurer_id[0].value == '' || check_insurer_id[0].value == null || check_insurer_id[0].value == 0) {
|
||||
$('#btnBranchAdd').hide();
|
||||
toastr.warning('First Add the Insurer!', 'warning',{timeOut: 2000});
|
||||
toastr.warning('First Add the Insurer!', 'warning', {
|
||||
timeOut: 2000
|
||||
});
|
||||
} else {
|
||||
// if ($('#btnBranchBack')[0].style.display == 'none') {
|
||||
$('#btnBranchAdd').show();
|
||||
@ -80,5 +91,3 @@
|
||||
insurer_branch_contact();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
<style>
|
||||
|
||||
body {
|
||||
.multiselect-native-select {
|
||||
position: relative;
|
||||
|
||||
/* bottom: 32px; */
|
||||
select {
|
||||
border: 0 !important;
|
||||
@ -27,7 +27,6 @@ body {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<div class="row" id="insurer_add">
|
||||
@ -50,7 +49,11 @@ body {
|
||||
<a href="<?= base_url("master/kyc/list"); ?>" ><i class="mdi mdi-arrow-left" style="font-size: 17px;"></i> </a>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="tab-wrapper position-relative">
|
||||
<ul class="nav nav-pills navtab-bg" id="myTab">
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<button class="scroll-btn left-btn" type="button">◀</button>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="#general-q-tab" data-toggle="tab" aria-expanded="false"
|
||||
class="nav-link px-3 py-2 active-tab active">
|
||||
@ -64,7 +67,13 @@ body {
|
||||
<span class="d-none d-sm-inline-block">KYC Docs</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<!-- Right Arrow -->
|
||||
<button class="scroll-btn right-btn" type="button">▶</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="tab-content">
|
||||
<?php include('kyc_entity_type_basic_info.php'); ?>
|
||||
<?php include('kyc_docs.php'); ?>
|
||||
@ -83,7 +92,9 @@ body {
|
||||
console.log(check_policy_type_id.val());
|
||||
if (check_policy_type_id[0].value == '' || check_policy_type_id[0].value == null || check_policy_type_id[0].value == 0) {
|
||||
$('#btnBranchAdd').hide();
|
||||
toastr.warning('First Add the KYC Entity Type!', 'warning',{timeOut: 2000});
|
||||
toastr.warning('First Add the KYC Entity Type!', 'warning', {
|
||||
timeOut: 2000
|
||||
});
|
||||
} else {
|
||||
if ($('#btnBranchBack')[0].style.display == 'none') {
|
||||
$('#btnBranchAdd').show();
|
||||
|
||||
@ -1078,17 +1078,18 @@
|
||||
});
|
||||
|
||||
$(function(){
|
||||
let $nav = $("ul ");
|
||||
let $nav = $("#myTab");
|
||||
|
||||
$(".left-btn").on("click", function(){
|
||||
$nav.animate({ scrollLeft: $nav.scrollLeft() - 150 }, 200);
|
||||
$nav.stop().animate({ scrollLeft: $nav.scrollLeft() - 150 }, 200);
|
||||
});
|
||||
|
||||
$(".right-btn").on("click", function(){
|
||||
$nav.animate({ scrollLeft: $nav.scrollLeft() + 150 }, 200);
|
||||
$nav.stop().animate({ scrollLeft: $nav.scrollLeft() + 150 }, 200);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
// function openModal(modalId) {
|
||||
// console.log('openModal called with ID:', modalId);
|
||||
// var modalEl = document.getElementById(modalId);
|
||||
@ -1107,6 +1108,21 @@
|
||||
</script>
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('.nav-link').click(function(){
|
||||
|
||||
// change bg color of tab
|
||||
$('.nav-link').removeClass('active-tab');
|
||||
$(this).addClass('active-tab');
|
||||
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@ -190,6 +190,62 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<!-- tab-switch -->
|
||||
<style>
|
||||
.nav-pills ,
|
||||
.nav-link
|
||||
{
|
||||
background-color: #F5FFFF !important;
|
||||
color : #00999E !important;
|
||||
border-radius:10px;
|
||||
|
||||
}
|
||||
|
||||
.nav-pills
|
||||
{
|
||||
background-color: #F5FFFF !important;
|
||||
color : #00999E !important;
|
||||
box-shadow: 0px 2px 4px 0px #00000040 ;
|
||||
padding-top: 5px ;
|
||||
}
|
||||
|
||||
.nav-pills.nav-dash{
|
||||
background-color: white !important;
|
||||
box-shadow:none !important;
|
||||
}
|
||||
|
||||
.nav-pills .nav-dash {
|
||||
background-color: #D4F5F6 !important;
|
||||
border-radius: 10px;
|
||||
color: black!important;
|
||||
}
|
||||
|
||||
|
||||
.nav-link.active-tab {
|
||||
color: white !important;
|
||||
background-color: #00999E !important;
|
||||
font-size: small !important;
|
||||
padding:8px 16px;
|
||||
border-radius: 10px !important;
|
||||
box-shadow: 0px 2px 4px 0px #00000040;
|
||||
|
||||
}
|
||||
|
||||
.nav-link-btn {
|
||||
color: white !important;
|
||||
background-color: #00999E !important;
|
||||
font-size: small !important;
|
||||
padding: 8px 16px;
|
||||
border-radius: 10px !important;
|
||||
}
|
||||
|
||||
.navtab-bg .nav-link {
|
||||
margin: 5px !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
<!-- sidebar -->
|
||||
<style>
|
||||
#side-menu .menu-logo a:hover {
|
||||
@ -298,36 +354,6 @@
|
||||
color:#000;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
color: black !important;
|
||||
background-color: #D4F5F6 !important;
|
||||
font-size: small !important;
|
||||
padding: 8px;
|
||||
border-radius: 10px !important;
|
||||
padding: 8px 16px;
|
||||
|
||||
}
|
||||
|
||||
.nav-link-btn {
|
||||
color: white !important;
|
||||
background-color: #00999E !important;
|
||||
font-size: small !important;
|
||||
padding: 8px 16px;
|
||||
border-radius: 10px !important;
|
||||
}
|
||||
|
||||
.nav-link.active-tab {
|
||||
color: white !important;
|
||||
background-color: #00999E !important;
|
||||
font-size: small !important;
|
||||
padding: 8px 16px;
|
||||
border-radius: 10px !important;
|
||||
|
||||
}
|
||||
|
||||
.navtab-bg .nav-link {
|
||||
margin: 0 5px 10px !important;
|
||||
}
|
||||
|
||||
|
||||
.navbar-custom {
|
||||
@ -1587,6 +1613,7 @@
|
||||
|
||||
<!-- tab swich scrollable -->
|
||||
<style>
|
||||
|
||||
.tab-wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -1596,13 +1623,14 @@
|
||||
/* Make the UL a scrollable flex row */
|
||||
#myTab {
|
||||
display: flex;
|
||||
white-space: nowrap;
|
||||
flex-wrap: nowrap; /* prevent wrapping */
|
||||
overflow-x: auto; /* enable horizontal scroll */
|
||||
overflow-y: hidden;
|
||||
white-space: nowrap; /* keep items on one line */
|
||||
scroll-behavior: smooth;
|
||||
margin: 0;
|
||||
padding: 0 40px; /* leave space for arrows */
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
/* Hide scrollbars */
|
||||
@ -1610,7 +1638,8 @@
|
||||
#myTab { -ms-overflow-style: none; scrollbar-width: none; }
|
||||
|
||||
.scroll-btn {
|
||||
background: #f1f1f1;
|
||||
background-color: #F4FFFF;
|
||||
height: 55px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-size: 18px;
|
||||
@ -1619,7 +1648,9 @@
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
z-index: 10;
|
||||
color: #00999E;
|
||||
}
|
||||
|
||||
.left-btn { left: 0; }
|
||||
.right-btn { right: 0; }
|
||||
</style>
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
<style>
|
||||
|
||||
body {
|
||||
.multiselect-native-select {
|
||||
position: relative;
|
||||
|
||||
/* bottom: 32px; */
|
||||
select {
|
||||
border: 0 !important;
|
||||
@ -27,7 +27,6 @@ body {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<div id="policy_add">
|
||||
@ -50,7 +49,11 @@ body {
|
||||
<span class="title-text ">Policy Type</span>
|
||||
</h4>
|
||||
</div>
|
||||
<div class="tab-wrapper position-relative">
|
||||
<ul class="nav nav-pills navtab-bg" id="myTab">
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<button class="scroll-btn left-btn" type="button">◀</button>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="#general-q-tab" data-toggle="tab" aria-expanded="false"
|
||||
class="nav-link px-3 py-2 active-tab active">
|
||||
@ -65,7 +68,13 @@ body {
|
||||
<span class="d-none d-sm-inline-block">Policies</span>
|
||||
</a>
|
||||
</li> -->
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<!-- Right Arrow -->
|
||||
<button class="scroll-btn right-btn" type="button">▶</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="tab-content">
|
||||
<?php include('policy_type_basic_info.php'); ?>
|
||||
<?php include('policies.php'); ?>
|
||||
@ -83,7 +92,9 @@ body {
|
||||
|
||||
if (check_policy_type_id[0].value == '' || check_policy_type_id[0].value == null || check_policy_type_id[0].value == 0) {
|
||||
$('#btnBranchAdd').hide();
|
||||
toastr.warning('First Add the Policy Type!', 'warning',{timeOut: 2000});
|
||||
toastr.warning('First Add the Policy Type!', 'warning', {
|
||||
timeOut: 2000
|
||||
});
|
||||
} else {
|
||||
if ($('#btnBranchBack')[0].style.display == 'none') {
|
||||
$('#btnBranchAdd').show();
|
||||
@ -97,4 +108,3 @@ body {
|
||||
policy_type_branch_contact();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
@ -1,7 +1,11 @@
|
||||
<div class="row" id="pt_onboarding" style="position: relative; bottom: 25px; display:none;">
|
||||
<div class="col-xl-12">
|
||||
<div class="card-body">
|
||||
<div class="tab-wrapper position-relative">
|
||||
<ul class="nav nav-pills navtab-bg" id="myTab">
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<button class="scroll-btn left-btn" type="button">◀</button>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="#form" data-toggle="tab" aria-expanded="false" class="nav-link px-3 py-2 active" id="general_tab">
|
||||
<span class="mr-1"><i class="mdi mdi-contacts"></i></span>
|
||||
@ -26,7 +30,13 @@
|
||||
<span class="d-none d-sm-inline-block">Vehicle Docs</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<!-- Right Arrow -->
|
||||
<button class="scroll-btn right-btn" type="button">▶</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="tab-content">
|
||||
<?php include('policy_transaction_inception_form.php'); ?>
|
||||
<?php include('drive_file_upload.php'); ?>
|
||||
@ -39,7 +49,6 @@
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
$('#kyc_tab').on('click', function(e) {
|
||||
@ -78,6 +87,4 @@ $(document).ready(function() {
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
@ -8,16 +8,14 @@
|
||||
}
|
||||
|
||||
.nav-pills,
|
||||
.nav-link
|
||||
{
|
||||
.nav-link {
|
||||
background-color: #F5FFFF !important;
|
||||
color: #00999E !important;
|
||||
border-radius: 10px;
|
||||
|
||||
}
|
||||
|
||||
.nav-pills
|
||||
{
|
||||
.nav-pills {
|
||||
background-color: #F5FFFF !important;
|
||||
color: #00999E !important;
|
||||
box-shadow: 0px 2px 4px 0px #00000040;
|
||||
@ -34,7 +32,6 @@
|
||||
box-shadow: 0px 2px 4px 0px #00000040;
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
@ -53,7 +50,11 @@
|
||||
</div>
|
||||
|
||||
<!-- Navigation Tabs -->
|
||||
<div class="tab-wrapper position-relative">
|
||||
<ul class="nav nav-pills navtab-bg" id="myTab">
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<button class="scroll-btn left-btn" type="button">◀</button>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="#general-tab" data-toggle="tab" class="nav-link px-3 py-2 active label-font-size" id="general_tab"
|
||||
aria-expanded="true">
|
||||
@ -107,7 +108,13 @@
|
||||
</a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<!-- Right Arrow -->
|
||||
<button class="scroll-btn right-btn" type="button">▶</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Tab Content -->
|
||||
<div class="tab-content">
|
||||
@ -194,10 +201,10 @@
|
||||
<?php include("ticket_conversation.php") ?>
|
||||
</div>
|
||||
|
||||
<?php //include("ticket_form_handler.php") ?>
|
||||
<?php //include("ticket_form_handler.php")
|
||||
?>
|
||||
|
||||
<script>
|
||||
|
||||
function submitClaimForm(event, form) {
|
||||
|
||||
event.preventDefault();
|
||||
@ -256,7 +263,8 @@ function openFetchEmpDataodal() {
|
||||
myModal.show();
|
||||
}
|
||||
|
||||
function setMemberData(input) {is_head_approved
|
||||
function setMemberData(input) {
|
||||
is_head_approved
|
||||
|
||||
var selectedOption = $(input).find(':selected');
|
||||
|
||||
@ -342,5 +350,4 @@ function showConfirmationModal(event) {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
@ -1,8 +1,8 @@
|
||||
<style>
|
||||
|
||||
body {
|
||||
.multiselect-native-select {
|
||||
position: relative;
|
||||
|
||||
/* bottom: 32px; */
|
||||
select {
|
||||
border: 0 !important;
|
||||
@ -27,7 +27,6 @@ body {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<div class="row" id="tpa_add">
|
||||
@ -49,7 +48,11 @@ body {
|
||||
<a href="<?= base_url("master/tpa/list"); ?>"><i class="mdi mdi-arrow-left" style="font-size: 17px;"></i> </a>
|
||||
</div> -->
|
||||
</div>
|
||||
<div class="tab-wrapper position-relative">
|
||||
<ul class="nav nav-pills navtab-bg" id="myTab">
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<button class="scroll-btn left-btn" type="button">◀</button>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="#general-q-tab" data-toggle="tab" aria-expanded="false"
|
||||
class="nav-link px-3 py-2 active-tab active">
|
||||
@ -63,7 +66,13 @@ body {
|
||||
<span class="d-none d-sm-inline-block">Branch & Contacts</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item d-flex justify-content-center align-items-center">
|
||||
<!-- Right Arrow -->
|
||||
<button class="scroll-btn right-btn" type="button">▶</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="tab-content">
|
||||
<?php include('tpa_basic_info.php'); ?>
|
||||
<?php include('tpa_branch.php'); ?>
|
||||
@ -81,7 +90,9 @@ body {
|
||||
|
||||
if (check_tpa_id[0].value == '' || check_tpa_id[0].value == null || check_tpa_id[0].value == 0) {
|
||||
$('#btnBranchAdd').hide();
|
||||
toastr.warning('First Add the TPA!', 'warning',{timeOut: 2000});
|
||||
toastr.warning('First Add the TPA!', 'warning', {
|
||||
timeOut: 2000
|
||||
});
|
||||
} else {
|
||||
// if ($('#btnBranchBack')[0].style.display == 'none') {
|
||||
$('#btnBranchAdd').show();
|
||||
@ -95,4 +106,3 @@ body {
|
||||
tpa_branch_contact();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user