Merge branch 'dev' of bitbucket.org:jubilian/nhance into dev

This commit is contained in:
VENKATESHWARAN 2024-03-30 10:35:08 +05:30
commit 56c69cbc20
11 changed files with 25 additions and 13 deletions

View File

@ -23,7 +23,7 @@
<div class="col-12"> <div class="col-12">
<div class="card-body"> <div class="card-body">
<div class="row float-right" style="position: relative; bottom: 20px; right: 13px;"> <div class="row float-right" style="position: relative; bottom: 20px; right: 13px;">
<button type="button" class="btn btn-primary waves-effect waves-light btn-sm btnBack"><span class="fa fa-list" aria-hidden="true" style="padding: 5px 10px;"></span>Back To List</button> <button type="button" id="btnBranchBack" class="btn btn-primary waves-effect waves-light btn-sm btnBack"><span class="fa fa-list" aria-hidden="true" style="padding: 5px 10px;"></span>Back To List</button>
</div> </div>
<hr> <hr>

View File

@ -158,8 +158,10 @@ body {
$('#BtnAdd').hide(); $('#BtnAdd').hide();
toastr.warning('Please Add the Client!', 'warning',{timeOut: 2000}); toastr.warning('Please Add the Client!', 'warning',{timeOut: 2000});
}else{ }else{
if ($('#btnPolicyBack')[0].style.display == 'none') {
$('#BtnAdd').show(); $('#BtnAdd').show();
} }
}
} }
@ -171,8 +173,10 @@ body {
$('#btnBranchAdd').hide(); $('#btnBranchAdd').hide();
toastr.warning('Please Add the Client!', 'warning',{timeOut: 2000}); toastr.warning('Please Add the Client!', 'warning',{timeOut: 2000});
}else{ }else{
if ($('#btnBranchBack')[0].style.display == 'none') {
$('#btnBranchAdd').show(); $('#btnBranchAdd').show();
} }
}
} }

View File

@ -28,7 +28,7 @@
<div class="card-body"> <div class="card-body">
<div class="row float-right" style="position: relative; bottom: 20px; right: 13px;"> <div class="row float-right" style="position: relative; bottom: 20px; right: 13px;">
<button type="button" class="btn btn-primary waves-effect waves-light btn-sm btnBack btn-sm"><span class="fa fa-list" aria-hidden="true" style="padding: 5px 10px;"></span>Back To List</button> <button type="button" id="btnPolicyBack" class="btn btn-primary waves-effect waves-light btn-sm btnBack btn-sm"><span class="fa fa-list" aria-hidden="true" style="padding: 5px 10px;"></span>Back To List</button>
</div> </div>
<hr> <hr>

View File

@ -23,7 +23,7 @@
<div class="col-12"> <div class="col-12">
<div class="card-body"> <div class="card-body">
<div class="row float-right" style="position: relative; bottom: 20px; right: 13px;"> <div class="row float-right" style="position: relative; bottom: 20px; right: 13px;">
<button type="button" class="btn btn-primary waves-effect waves-light btn-sm btnBack"><span class="fa fa-list" aria-hidden="true" style="padding: 5px 10px;"></span>Back To List</button> <button type="button" id="btnBranchBack" class="btn btn-primary waves-effect waves-light btn-sm btnBack"><span class="fa fa-list" aria-hidden="true" style="padding: 5px 10px;"></span>Back To List</button>
</div> </div>
<hr> <hr>

View File

@ -79,9 +79,11 @@ body {
$('#btnBranchAdd').hide(); $('#btnBranchAdd').hide();
toastr.warning('First Add the Insurer!', 'warning',{timeOut: 2000}); toastr.warning('First Add the Insurer!', 'warning',{timeOut: 2000});
}else{ }else{
if ($('#btnBranchBack')[0].style.display == 'none') {
$('#btnBranchAdd').show(); $('#btnBranchAdd').show();
} }
} }
}
document.getElementById("insurer_branch_contacts_id").addEventListener("click", function(event) { document.getElementById("insurer_branch_contacts_id").addEventListener("click", function(event) {
event.preventDefault(); event.preventDefault();

View File

@ -22,7 +22,7 @@
<div class="col-12"> <div class="col-12">
<div class="card-body"> <div class="card-body">
<div class="row float-right" style="position: relative; bottom: 20px; right: 13px;"> <div class="row float-right" style="position: relative; bottom: 20px; right: 13px;">
<button type="button" class="btn btn-primary waves-effect waves-light btn-sm btnBack"><span class="fa fa-list" aria-hidden="true" style="padding: 5px 10px;"></span>Back To List</button> <button type="button" id="btnBranchBack" class="btn btn-primary waves-effect waves-light btn-sm btnBack"><span class="fa fa-list" aria-hidden="true" style="padding: 5px 10px;"></span>Back To List</button>
</div> </div>
<hr> <hr>

View File

@ -77,8 +77,10 @@ body {
$('#btnBranchAdd').hide(); $('#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{ }else{
if ($('#btnBranchBack')[0].style.display == 'none') {
$('#btnBranchAdd').show(); $('#btnBranchAdd').show();
} }
}
} }

View File

@ -23,7 +23,7 @@
<div class="col-12"> <div class="col-12">
<div class="card-body"> <div class="card-body">
<div class="row float-right" style="position: relative; bottom: 20px; right: 13px;"> <div class="row float-right" style="position: relative; bottom: 20px; right: 13px;">
<button type="button" class="btn btn-primary waves-effect waves-light btn-sm btnBack"><span class="fa fa-list" aria-hidden="true" style="padding: 5px 10px;"></span>Back To List</button> <button type="button" id="btnBranchBack" class="btn btn-primary waves-effect waves-light btn-sm btnBack"><span class="fa fa-list" aria-hidden="true" style="padding: 5px 10px;"></span>Back To List</button>
</div> </div>
<hr> <hr>

View File

@ -76,8 +76,10 @@ body {
$('#btnBranchAdd').hide(); $('#btnBranchAdd').hide();
toastr.warning('First Add the Policy Type!', 'warning',{timeOut: 2000}); toastr.warning('First Add the Policy Type!', 'warning',{timeOut: 2000});
}else{ }else{
if ($('#btnBranchBack')[0].style.display == 'none') {
$('#btnBranchAdd').show(); $('#btnBranchAdd').show();
} }
}
} }

View File

@ -23,7 +23,7 @@
<div class="col-12"> <div class="col-12">
<div class="card-body"> <div class="card-body">
<div class="row float-right" style="position: relative; bottom: 20px; right: 13px;"> <div class="row float-right" style="position: relative; bottom: 20px; right: 13px;">
<button type="button" class="btn btn-primary waves-effect waves-light btn-sm btnBack"><span class="fa fa-list" aria-hidden="true" style="padding: 5px 10px;"></span>Back To List</button> <button type="button" id="btnBranchBack" class="btn btn-primary waves-effect waves-light btn-sm btnBack"><span class="fa fa-list" aria-hidden="true" style="padding: 5px 10px;"></span>Back To List</button>
</div> </div>
<hr> <hr>

View File

@ -76,8 +76,10 @@ body {
$('#btnBranchAdd').hide(); $('#btnBranchAdd').hide();
toastr.warning('First Add the TPA!', 'warning',{timeOut: 2000}); toastr.warning('First Add the TPA!', 'warning',{timeOut: 2000});
}else{ }else{
if ($('#btnBranchBack')[0].style.display == 'none') {
$('#btnBranchAdd').show(); $('#btnBranchAdd').show();
} }
}
} }