FIX_EXISTING_CLIENT_TOGGLE_HIDE_FOR_RENEWAL
This commit is contained in:
parent
a5b609c926
commit
8b60f04379
@ -219,7 +219,7 @@
|
||||
<div class="card-body">
|
||||
<div class="d-flex justify-content-between align-items-center mb-3">
|
||||
<h4 class="card-title mb-0">Client Information</h4>
|
||||
<div class="form-group freshFields mb-0 d-flex align-items-center">
|
||||
<div class="form-group freshFields existing-client-toggle mb-0 d-flex align-items-center">
|
||||
<label for="exixting_client" class="mb-0 mr-2">Existing Client</label>
|
||||
<label class="switch mb-0">
|
||||
<input id="exixting_client" type="checkbox" name="exixting_client">
|
||||
@ -2357,6 +2357,11 @@
|
||||
function leadTypeBsedHideAndShow(value, resetValues = false, fallbackPolicyTypeId = null) {
|
||||
|
||||
togglePolicyDateFields(value, fallbackPolicyTypeId);
|
||||
if (value == 2) {
|
||||
$('.existing-client-toggle').removeClass('d-flex').addClass('d-none');
|
||||
} else {
|
||||
$('.existing-client-toggle').removeClass('d-none').addClass('d-flex');
|
||||
}
|
||||
|
||||
if (value == 1) {
|
||||
$('.btnDiv').show();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user