123 lines
5.0 KiB
PHP
Executable File
123 lines
5.0 KiB
PHP
Executable File
<style>
|
|
body {
|
|
.multiselect-native-select {
|
|
position: relative;
|
|
|
|
/* bottom: 32px; */
|
|
select {
|
|
border: 0 !important;
|
|
clip: rect(0 0 0 0) !important;
|
|
height: 1px !important;
|
|
margin: -1px -1px -1px -3px !important;
|
|
overflow: hidden !important;
|
|
padding: 0 !important;
|
|
position: absolute !important;
|
|
width: 1px !important;
|
|
left: 50%;
|
|
top: 30px;
|
|
}
|
|
}
|
|
|
|
.multiselect-container {
|
|
width: 100% !important;
|
|
}
|
|
|
|
.multiselect-selected-text {
|
|
float: left !important;
|
|
}
|
|
|
|
}
|
|
</style>
|
|
<script>
|
|
var pageHideMainNavTitle = true;
|
|
var pageTitle = 'KYC Entity Type';
|
|
var pageBackButton = '<a href="<?= base_url('master/kyc/list') ?>" class="topbar-icon-btn" data-toggle="tooltip" data-placement="top" title="Back" aria-label="Back"><i class="ri-arrow-left-s-line"></i></a>';
|
|
</script>
|
|
<div class="row" id="insurer_add">
|
|
<div class="col-12">
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<!-- <div class="row" style="padding-bottom: 10px;">
|
|
<h4 class="d-flex align-items-center" style="gap: 8px;">
|
|
<span onclick="history.back()" style="cursor: pointer;">
|
|
<i class="mdi mdi-chevron-left" style="font-size: 43px;"></i>
|
|
</span>
|
|
<span class="title-text ">KYC Entity Type</span>
|
|
</h4>
|
|
</div> -->
|
|
<!-- <div class="row" style="padding-bottom: 10px;">
|
|
<div class="col-6" style="align-self: center;">
|
|
<h4 style="position: relative;">KYC Entity Type</h4>
|
|
</div>
|
|
<div class="col-6" style="text-align: right;">
|
|
<a href="<?= base_url("master/kyc/list"); ?>" ><i class="ri-arrow-left-circle-line" 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">
|
|
<span class="mr-1"><i class="mdi mdi-contacts"></i></span>
|
|
<span class="d-none d-sm-inline-block">General</span>
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a href="#branch-tab" data-toggle="tab" aria-expanded="false" class="nav-link px-3 py-2" id="kyc_docs_id">
|
|
<span class="mr-1"><i class="mdi mdi-source-branch"></i></span>
|
|
<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'); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<script>
|
|
function policy_type_branch_contact() {
|
|
var check_policy_type_id = $('#kyc_General_PrimaryKey');
|
|
var branchBackBtn = $('#btnBranchBack');
|
|
var branchAddBtn = $('#btnBranchAdd');
|
|
|
|
console.log(check_policy_type_id.val());
|
|
if (!check_policy_type_id.length || check_policy_type_id[0].value == '' || check_policy_type_id[0].value == null || check_policy_type_id[0].value == 0) {
|
|
if (branchAddBtn.length) {
|
|
branchAddBtn.hide();
|
|
}
|
|
toastr.warning('First Add the KYC Entity Type!', 'Warning', {
|
|
timeOut: 2000
|
|
});
|
|
} else {
|
|
if (!branchBackBtn.length || branchBackBtn[0].style.display == 'none') {
|
|
if (branchAddBtn.length) {
|
|
branchAddBtn.show();
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
var kycDocsTab = document.getElementById("kyc_docs_id");
|
|
if (kycDocsTab) {
|
|
kycDocsTab.addEventListener("click", function(event) {
|
|
event.preventDefault();
|
|
policy_type_branch_contact();
|
|
});
|
|
}
|
|
</script>
|