FIX_HIDE_SHOW_BUTTON_MASTER_AND_CLIENT_MODEL : AADHAVAN
This commit is contained in:
parent
3b13cb3b2d
commit
2b29730e16
@ -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>
|
||||||
|
|||||||
@ -158,7 +158,9 @@ 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{
|
||||||
$('#BtnAdd').show();
|
if ($('#btnPolicyBack')[0].style.display == 'none') {
|
||||||
|
$('#BtnAdd').show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -171,7 +173,9 @@ 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{
|
||||||
$('#btnBranchAdd').show();
|
if ($('#btnBranchBack')[0].style.display == 'none') {
|
||||||
|
$('#btnBranchAdd').show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -79,7 +79,9 @@ 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{
|
||||||
$('#btnBranchAdd').show();
|
if ($('#btnBranchBack')[0].style.display == 'none') {
|
||||||
|
$('#btnBranchAdd').show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -77,7 +77,9 @@ 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{
|
||||||
$('#btnBranchAdd').show();
|
if ($('#btnBranchBack')[0].style.display == 'none') {
|
||||||
|
$('#btnBranchAdd').show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -76,7 +76,9 @@ 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{
|
||||||
$('#btnBranchAdd').show();
|
if ($('#btnBranchBack')[0].style.display == 'none') {
|
||||||
|
$('#btnBranchAdd').show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -70,13 +70,15 @@ body {
|
|||||||
<script>
|
<script>
|
||||||
function tpa_branch_contact() {
|
function tpa_branch_contact() {
|
||||||
var check_tpa_id = $('#tpa_General_PrimaryKey');
|
var check_tpa_id = $('#tpa_General_PrimaryKey');
|
||||||
|
|
||||||
|
|
||||||
if(check_tpa_id[0].value == '' || check_tpa_id[0].value == null || check_tpa_id[0].value == 0){
|
if(check_tpa_id[0].value == '' || check_tpa_id[0].value == null || check_tpa_id[0].value == 0){
|
||||||
$('#btnBranchAdd').hide();
|
$('#btnBranchAdd').hide();
|
||||||
toastr.warning('First Add the TPA!', 'warning',{timeOut: 2000});
|
toastr.warning('First Add the TPA!', 'warning',{timeOut: 2000});
|
||||||
}else{
|
}else{
|
||||||
$('#btnBranchAdd').show();
|
if ($('#btnBranchBack')[0].style.display == 'none') {
|
||||||
|
$('#btnBranchAdd').show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user