GPA_GMCCHANGE : AADHAVAN
This commit is contained in:
parent
4ea3cff30e
commit
8c8704502f
@ -643,7 +643,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return word;
|
return word.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
function convertCommaNumberToWords(input) {
|
||||||
|
const number = parseInt(input.replace(/,/g, ''), 10);
|
||||||
|
return convertNumberToWords(number);
|
||||||
}
|
}
|
||||||
|
|
||||||
function onlyNumbers(event){
|
function onlyNumbers(event){
|
||||||
|
|||||||
@ -13,7 +13,7 @@
|
|||||||
.radiobuttondiv{
|
.radiobuttondiv{
|
||||||
margin-left: 32px;
|
margin-left: 32px;
|
||||||
}
|
}
|
||||||
.form-control-client-policy-master{
|
.{
|
||||||
width:62% !important;
|
width:62% !important;
|
||||||
margin-left: 30px;
|
margin-left: 30px;
|
||||||
margin-top: 3px
|
margin-top: 3px
|
||||||
@ -49,10 +49,10 @@
|
|||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
.jodit-container{
|
.jodit-container{
|
||||||
width: 821px !important;
|
/* width: 821px !important; */
|
||||||
margin-top: 3px;
|
/* margin-top: 3px; */
|
||||||
margin-bottom: 3px;
|
/* margin-bottom: 3px; */
|
||||||
margin-left: 30px;
|
/* margin-left: 30px; */
|
||||||
/* height: 0px !important; */
|
/* height: 0px !important; */
|
||||||
/* min-height: 100px !important; */
|
/* min-height: 100px !important; */
|
||||||
}
|
}
|
||||||
@ -65,7 +65,7 @@
|
|||||||
.jodit-wysiwyg{
|
.jodit-wysiwyg{
|
||||||
margin-bottom: 162px;
|
margin-bottom: 162px;
|
||||||
}
|
}
|
||||||
.form-control-client-policy-masters{
|
.s{
|
||||||
margin-left: 30px;
|
margin-left: 30px;
|
||||||
width: 689px;
|
width: 689px;
|
||||||
}
|
}
|
||||||
@ -85,22 +85,31 @@
|
|||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|
||||||
<div class="form-column">
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
<div class="col-md-6">
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Sum Insured</label>
|
<label for="sumInsured">Sum Insured</label>
|
||||||
<input type="text" name="sum_insured" id="sum_insured" class="form-control form-control-client-policy-master" onkeypress = "return onlyNumbers(event)">
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="sum_insured" id="sum_insured" class="form-control" onkeypress = "return onlyNumbers(event)" onkeyup="formatNumber(this)">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div id='numberToWordGMC' class="text-danger" ></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id='numberToWordGMC' class="text-danger" style="float: right;position: relative;right: 25px;bottom: 10px;"></div>
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
<label for="totalSumInsured">Family Floater</label>
|
||||||
<label class=" " style="width: 400px;">Family Floater</label><br>
|
</div>
|
||||||
<div class="flex-container">
|
<div class="col-md-6">
|
||||||
<div class="radiobuttondiv">
|
|
||||||
<input type="radio" name="family_floater" value="1"> Yes
|
<input type="radio" name="family_floater" value="1"> Yes
|
||||||
<input type="radio" name="family_floater" value="0" style="margin-left:10px"> No
|
<input type="radio" name="family_floater" value="0" style="margin-left:10px"> No
|
||||||
</div>
|
</div>
|
||||||
<div style=" margin-top: 27px;margin-bottom: 7px; margin-left: 31px;">
|
<div class="col-md-6">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
<div>
|
<div>
|
||||||
<input type="checkbox" name="family_floaters[]" value="self" id="self" checked disabled> Self
|
<input type="checkbox" name="family_floaters[]" value="self" id="self" checked disabled> Self
|
||||||
<input type="checkbox" name="family_floaters[]" value="spouse" id="spouse"> Spouse
|
<input type="checkbox" name="family_floaters[]" value="spouse" id="spouse"> Spouse
|
||||||
@ -118,84 +127,127 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Corporate Buffer</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master" style="display:none;">
|
<div class="col-md-6">
|
||||||
<label class="form-check-label " for="corporatebuffer" style="width: 400px;">Corporate Buffer</label>
|
|
||||||
<div class="radiobuttondiv">
|
|
||||||
<input type="radio" name="corporatebuffer" value="1"> Yes
|
<input type="radio" name="corporatebuffer" value="1"> Yes
|
||||||
<input type="radio" name="corporatebuffer" value="0" style="margin-left:10px"> No
|
<input type="radio" name="corporatebuffer" value="0" style="margin-left:10px"> No
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label class="form-check-label " for="waiverofpreexistingdiseases" style="width: 400px;">Waiver of Pre-existing Diseases</label>
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
<div class="radiobuttondiv">
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Waiver of Pre-existing Diseases</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
<input type="radio" name="waiverofpreexistingdiseases" value="1"> Yes, waived off
|
<input type="radio" name="waiverofpreexistingdiseases" value="1"> Yes, waived off
|
||||||
<input type="radio" name="waiverofpreexistingdiseases" value="0" style="margin-left:10px"> No
|
<input type="radio" name="waiverofpreexistingdiseases" value="0" style="margin-left:10px"> No
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master" style="display:none;">
|
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Maternity Coverage</label>
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
<input type="text" name="maternitycoverage" id="maternitycoverage" class="form-control form-control-client-policy-master">
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Maternity Coverage</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master" style="display:none;">
|
<div class="col-md-6">
|
||||||
<label for="emp_code" class=" " style="width: 400px; ">Twin Delivery</label>
|
<input type="text" name="maternitycoverage" id="maternitycoverage" class="form-control">
|
||||||
<input type="text" name="twindelivery" id="twindelivery" class="form-control form-control-client-policy-master">
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master" style="display:none;">
|
|
||||||
<label for="emp_code" class=" " style="width: 400px; ">Pre and Post natal</label>
|
|
||||||
<input type="text" name="preandpostnatal" id="preandpostnatal" class="form-control form-control-client-policy-master">
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master" style="display:none;">
|
|
||||||
<label for="emp_code" class=" " style="width: 400px; ">Baby Day 1 Cover</label>
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
<input type="text" name="babyday1cover" id="babyday1cover" class="form-control form-control-client-policy-master">
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Twin Delivery</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
<div class="col-md-6">
|
||||||
<label class="form-check-label " for="9monthwaitingperiodwaived" style="width: 400px;">9-month waiting Period –waived</label>
|
<input type="text" name="twindelivery" id="twindelivery" class="form-control ">
|
||||||
<div class="radiobuttondiv">
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Pre and Post natal</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="preandpostnatal" id="preandpostnatal" class="form-control ">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Baby Day 1 Cover</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="babyday1cover" id="babyday1cover" class="form-control ">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">9-month waiting Period –waived</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
<input type="radio" name="9monthwaitingperiodwaived" value="1"> Yes, waived off
|
<input type="radio" name="9monthwaitingperiodwaived" value="1"> Yes, waived off
|
||||||
<input type="radio" name="9monthwaitingperiodwaived" value="0" style="margin-left:10px"> No
|
<input type="radio" name="9monthwaitingperiodwaived" value="0" style="margin-left:10px"> No </div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Cover from the date of Joining</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="coverfromthedateofjoining" id="coverfromthedateofjoining" class="form-control ">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Cover from the date of Joining</label>
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
<input type="text" name="coverfromthedateofjoining" id="coverfromthedateofjoining" class="form-control form-control-client-policy-master">
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Waiver of 1, 2, 3 & 4th year Exclusions</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
<div class="col-md-6">
|
||||||
<label class="form-check-label " for="waiverof1,2,3&4thyearexclusions" style="width: 400px;">Waiver of 1, 2, 3 & 4th year Exclusions</label>
|
|
||||||
<div class="radiobuttondiv">
|
|
||||||
<input type="radio" name="waiverof1,2,3&4thyearexclusions" value="1"> Yes, waived off
|
<input type="radio" name="waiverof1,2,3&4thyearexclusions" value="1"> Yes, waived off
|
||||||
<input type="radio" name="waiverof1,2,3&4thyearexclusions" value="0" style="margin-left:10px"> No
|
<input type="radio" name="waiverof1,2,3&4thyearexclusions" value="0" style="margin-left:10px"> No
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label class="form-check-label " for="waiverof30dayswaitingperiod" style="width: 400px;">Waiver of 30 days waiting period</label>
|
|
||||||
<div class="radiobuttondiv">
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Waiver of 30 days waiting period</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
<input type="radio" name="waiverof30dayswaitingperiod" value="1"> Yes, waived off
|
<input type="radio" name="waiverof30dayswaitingperiod" value="1"> Yes, waived off
|
||||||
<input type="radio" name="waiverof30dayswaitingperiod" value="0" style="margin-left:10px"> No
|
<input type="radio" name="waiverof30dayswaitingperiod" value="0" style="margin-left:10px"> No
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Pre Hospitalization Cover</label>
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
<input type="text" name="prehospitalizationcover" id="prehospitalizationcover" class="form-control form-control-client-policy-master">
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Pre Hospitalization Cover</label>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="form-group col-md-6 form-group-client-policy-master">
|
<div class="col-md-6">
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Post Hospitalization Cover</label>
|
<input type="text" name="prehospitalizationcover" id="prehospitalizationcover" class="form-control ">
|
||||||
<input type="text" name="posthospitalizationcover" id="posthospitalizationcover" class="form-control form-control-client-policy-master">
|
</div>
|
||||||
</div> -->
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label class="form-check-label " for="congenitaldiseasesinternal" style="width: 400px;">Congenital Diseases - Internal</label>
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
<div class="radiobuttondiv">
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Congenital Diseases - Internal</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
<input type="radio" name="congenitaldiseasesinternal" value="internal"> Internal Covered
|
<input type="radio" name="congenitaldiseasesinternal" value="internal"> Internal Covered
|
||||||
<input type="radio" name="congenitaldiseasesinternal" value="no" style="margin-left:10px"> No
|
<input type="radio" name="congenitaldiseasesinternal" value="no" style="margin-left:10px"> No </div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Co-Pay/Zone wise Co Pay</label>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="form-group col-md-6 form-group-client-policy-master">
|
<div class="col-md-6">
|
||||||
<label class="form-check-label " for="congenitaldiseasesexternal" style="width: 400px;">Congenital Diseases - External</label>
|
<select name="copayzonewisecopay" id="copayzonewisecopay" class="form-control ">
|
||||||
<input type="text" name="congenitaldiseasesexternal" id="congenitaldiseasesexternal" class="form-control form-control-client-policy-master">
|
|
||||||
</div> -->
|
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label for="copayzonewisecopay" class=" " style="width: 400px;">Co-Pay/Zone wise Co Pay</label>
|
|
||||||
<select name="copayzonewisecopay" id="copayzonewisecopay" class="form-control form-control-client-policy-master">
|
|
||||||
<option value="">Select an option</option>
|
<option value="">Select an option</option>
|
||||||
<option value="5%">5%</option>
|
<option value="5%">5%</option>
|
||||||
<option value="10%">10%</option>
|
<option value="10%">10%</option>
|
||||||
@ -209,126 +261,222 @@
|
|||||||
<option value="50%">50%</option>
|
<option value="50%">50%</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Bio absorbable stent / Toric lens/ Multi Focal lens</label>
|
|
||||||
<input type="text" name="bioabsorbablestenttoriclensmultifocallens" id="bioabsorbablestenttoriclensmultifocallens" class="form-control form-control-client-policy-master">
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Room Rent Limit</label>
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
<input type="text" name="roomrentlimit" id="roomrentlimit" class="form-control form-control-client-policy-master">
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Bio absorbable stent / Toric lens/ Multi Focal lens</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
<div class="col-md-6">
|
||||||
<label for="proportionatedeductionclause" class=" " style="width: 400px;">Proportionate Deduction Clause</label>
|
<input type="text" name="bioabsorbablestenttoriclensmultifocallens" id="bioabsorbablestenttoriclensmultifocallens" class="form-control ">
|
||||||
<select name="proportionatedeductionclause" id="proportionatedeductionclause" class="form-control form-control-client-policy-master">
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Room Rent Limit</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="roomrentlimit" id="roomrentlimit" class="form-control ">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Proportionate Deduction Clause</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<select name="proportionatedeductionclause" id="proportionatedeductionclause" class="form-control ">
|
||||||
<option value="">Select an option</option>
|
<option value="">Select an option</option>
|
||||||
<option value="NotApplicable/WaivedOff">Not Applicable / Waived Off</option>
|
<option value="NotApplicable/WaivedOff">Not Applicable / Waived Off</option>
|
||||||
<option value="Applicable">Applicable</option>
|
<option value="Applicable">Applicable</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Nursing Allowance</label>
|
|
||||||
<input type="text" name="nursingallowance" id="nursingallowance" class="form-control form-control-client-policy-master">
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label class="form-check-label " for="ailmentcapping" style="width: 400px;">Ailment capping</label>
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
<div class="radiobuttondiv">
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Nursing Allowance</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="nursingallowance" id="nursingallowance" class="form-control ">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Ailment capping</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
<input type="radio" name="ailmentcapping" value="1"> Yes
|
<input type="radio" name="ailmentcapping" value="1"> Yes
|
||||||
<input type="radio" name="ailmentcapping" value="0" style="margin-left:10px"> No
|
<input type="radio" name="ailmentcapping" value="0" style="margin-left:10px"> No
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Ambulance Charges</label>
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
<input type="text" name="ambulancecharges" id="ambulancecharges" class="form-control form-control-client-policy-master">
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Ambulance Charges</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
<div class="col-md-6">
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Air Ambulance</label>
|
<input type="text" name="ambulancecharges" id="ambulancecharges" class="form-control ">
|
||||||
<input type="text" name="airambulance" id="airambulance" class="form-control form-control-client-policy-master">
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Family Transportation Benefit</label>
|
|
||||||
<input type="text" name="familytransportationbenefit" id="familytransportationbenefit" class="form-control form-control-client-policy-master">
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label class="form-check-label " for="reasonableandcustomarycharges" style="width: 400px;">Reasonable and Customary Charges</label>
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
<div class="radiobuttondiv">
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Air Ambulance</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="airambulance" id="airambulance" class="form-control ">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Family Transportation Benefit</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="familytransportationbenefit" id="familytransportationbenefit" class="form-control ">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Reasonable and Customary Charges</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
<input type="radio" name="reasonableandcustomarycharges" value="1">Applicable
|
<input type="radio" name="reasonableandcustomarycharges" value="1">Applicable
|
||||||
<input type="radio" name="reasonableandcustomarycharges" value="0" style="margin-left:10px">Not Applicable
|
<input type="radio" name="reasonableandcustomarycharges" value="0" style="margin-left:10px">Not Applicable </div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Day Care Treatment</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
<div class="col-md-6">
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Day Care Treatment</label>
|
|
||||||
<div class="radiobuttondiv">
|
|
||||||
<input type="radio" name="daycaretreatment" value="1"> Yes
|
<input type="radio" name="daycaretreatment" value="1"> Yes
|
||||||
<input type="radio" name="daycaretreatment" value="0" style="margin-left:10px"> No
|
<input type="radio" name="daycaretreatment" value="0" style="margin-left:10px"> No </div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">AYUSH treatment cover</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
<div class="col-md-6">
|
||||||
<label class="form-check-label " for="ayudhtreatmentcover" style="width: 400px;">AYUSH treatment cover</label>
|
|
||||||
<div class="radiobuttondiv">
|
|
||||||
<input type="radio" name="ayudhtreatmentcover" value="1"> Yes
|
<input type="radio" name="ayudhtreatmentcover" value="1"> Yes
|
||||||
<input type="radio" name="ayudhtreatmentcover" value="0" style="margin-left:10px"> No
|
<input type="radio" name="ayudhtreatmentcover" value="0" style="margin-left:10px"> No
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label for="emp_code" class=" " style="width: 400px;">ARMD Covered</label>
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
<input type="text" name="armdcovered" id="armdcovered" class="form-control form-control-client-policy-master">
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">ARMD Covered</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
<div class="col-md-6">
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Sum Insured enhancement</label>
|
<input type="text" name="armdcovered" id="armdcovered" class="form-control ">
|
||||||
<div class="radiobuttondiv">
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Sum Insured enhancement</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
<input type="radio" name="suminsuredenhancement" value="1"> Yes
|
<input type="radio" name="suminsuredenhancement" value="1"> Yes
|
||||||
<input type="radio" name="suminsuredenhancement" value="0" style="margin-left:10px"> No
|
<input type="radio" name="suminsuredenhancement" value="0" style="margin-left:10px"> No
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Automatic Sum Insured reinstatement</label>
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
<input type="text" name="automaticsuminsuredreinstatement" id="automaticsuminsuredreinstatement" class="form-control form-control-client-policy-master">
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Automatic Sum Insured reinstatement</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
<div class="col-md-6">
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Additional Sickness Benefit</label>
|
<input type="text" name="automaticsuminsuredreinstatement" id="automaticsuminsuredreinstatement" class="form-control ">
|
||||||
<textarea name="additionalsicknessbenefit" id="additionalsicknessbenefit" class="form-control form-control-client-policy-master"></textarea>
|
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Additional Sickness Benefit</label>
|
|
||||||
<input type="text" name="additionalsicknessbenefit" id="additionalsicknessbenefit" class="form-control form-control-client-policy-master">
|
|
||||||
</div> -->
|
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Lasik Surgery</label>
|
|
||||||
<input type="text" name="lasiksurgery" id="lasiksurgery" class="form-control form-control-client-policy-master">
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Mid Term inclusion</label>
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
<input type="text" name="midterminclusion" id="midterminclusion" class="form-control form-control-client-policy-master">
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Additional Sickness Benefit</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
<div class="col-md-6">
|
||||||
<label for="emp_code" class=" " style="width: 400px;">CAPD</label>
|
<textarea name="additionalsicknessbenefit" id="additionalsicknessbenefit" class="form-control "></textarea>
|
||||||
<input type="text" name="capd" id="capd" class="form-control form-control-client-policy-master">
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Organ donor expenses</label>
|
|
||||||
<input type="text" name="organdonorexpenses" id="organdonorexpenses" class="form-control form-control-client-policy-master">
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Modern treatments as per IRDAI</label>
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
<input type="text" name="moderntreatmentsasperirdai" id="moderntreatmentsasperirdai" class="form-control form-control-client-policy-master">
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Lasik Surgery</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
<div class="col-md-6">
|
||||||
<label for="emp_code" class=" " style="width: 400px;">Wellness</label>
|
<input type="text" name="lasiksurgery" id="lasiksurgery" class="form-control ">
|
||||||
<textarea name="Wellness" id="Wellness" class="form-control form-control-client-policy-master"></textarea>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
</div>
|
||||||
<label for="days_of_discharge" class=" ">Days of Discharge</label>
|
|
||||||
<div class="input-group mb-3" style="margin-left: 0px;">
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
<input type="text" id="days_of_discharge" name="days_of_discharge" class="form-control form-control-client-policy-master" placeholder="Enter the number of days">
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Mid Term inclusion</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="midterminclusion" id="midterminclusion" class="form-control ">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">CAPD</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="capd" id="capd" class="form-control ">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Organ donor expenses</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="organdonorexpenses" id="organdonorexpenses" class="form-control ">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Modern treatments as per IRDAI</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="moderntreatmentsasperirdai" id="moderntreatmentsasperirdai" class="form-control ">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Wellness</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<textarea name="Wellness" id="Wellness" class="form-control "></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Days of Discharge</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" id="days_of_discharge" name="days_of_discharge" class="form-control " placeholder="Enter the number of days">
|
||||||
<div class="input-group-append input-group-append-client-policy-master">
|
<div class="input-group-append input-group-append-client-policy-master">
|
||||||
<span class="input-group-text" id="basic-addon2">Days</span>
|
<span class="input-group-text" id="basic-addon2">Days</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
|
||||||
<label for="days_from_dod" class=" ">Days from DOD</label>
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
<div class="input-group mb-3" style="margin-left: 0px;">
|
<div class="col-md-6">
|
||||||
<input type="text" id="days_from_dod" name="days_from_dod" class="form-control form-control-client-policy-master" placeholder="Enter the number of days">
|
<label for="totalSumInsured">Days from DOD</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" id="days_from_dod" name="days_from_dod" class="form-control " placeholder="Enter the number of days">
|
||||||
<div class="input-group-append input-group-append-client-policy-master">
|
<div class="input-group-append input-group-append-client-policy-master">
|
||||||
<span class="input-group-text" id="basic-addon2">Days</span>
|
<span class="input-group-text" id="basic-addon2">Days</span>
|
||||||
</div>
|
</div>
|
||||||
@ -336,7 +484,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- <hr> -->
|
<!-- <hr> -->
|
||||||
@ -603,9 +750,9 @@ var grid_html = '';
|
|||||||
});
|
});
|
||||||
|
|
||||||
$("#sum_insured").on("keyup", function() {
|
$("#sum_insured").on("keyup", function() {
|
||||||
var inputNumber = parseInt($(this).val());
|
var inputNumber = $(this).val();
|
||||||
if (!isNaN(inputNumber)) {
|
if (inputNumber) {
|
||||||
var result = convertNumberToWords(inputNumber);
|
var result = convertCommaNumberToWords(inputNumber);
|
||||||
$("#numberToWordGMC").text(result);
|
$("#numberToWordGMC").text(result);
|
||||||
} else {
|
} else {
|
||||||
$("#numberToWordGMC").text("");
|
$("#numberToWordGMC").text("");
|
||||||
@ -644,7 +791,7 @@ var grid_html = '';
|
|||||||
var index =$('.modifyclassinput').length;
|
var index =$('.modifyclassinput').length;
|
||||||
var appendElement =`<div class="form-group col-md-6 form-group-client-policy-masters removeDom">
|
var appendElement =`<div class="form-group col-md-6 form-group-client-policy-masters removeDom">
|
||||||
<label for="specialconditionlabel" class="special_condition_label[]" style="width: 400px;"><input name="special_condition_label[]" id="special_condition_label[]"><span class="specialConditionClose" style="color: red;margin-left: 20px;">X</span></label>
|
<label for="specialconditionlabel" class="special_condition_label[]" style="width: 400px;"><input name="special_condition_label[]" id="special_condition_label[]"><span class="specialConditionClose" style="color: red;margin-left: 20px;">X</span></label>
|
||||||
<input type="text" name="special_condition_input[]" id="special_condition_input[]" class="form-control form-control-client-policy-masters special_condition_input[]">
|
<input type="text" name="special_condition_input[]" id="special_condition_input[]" class="form-control s special_condition_input[]">
|
||||||
</div>`;
|
</div>`;
|
||||||
$('.form-column').each(function() {
|
$('.form-column').each(function() {
|
||||||
$(this).append(appendElement);
|
$(this).append(appendElement);
|
||||||
@ -669,4 +816,15 @@ var grid_html = '';
|
|||||||
$('.nav.nav-pills.navtab-bg').prev().css('display','');
|
$('.nav.nav-pills.navtab-bg').prev().css('display','');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
function formatNumber(input) {
|
||||||
|
// Remove non-numeric characters
|
||||||
|
let value = input.value.replace(/\D/g, '');
|
||||||
|
|
||||||
|
// Add commas
|
||||||
|
value = Number(value).toLocaleString('en-IN');
|
||||||
|
|
||||||
|
// Update the input value
|
||||||
|
input.value = value;
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
@ -53,10 +53,10 @@
|
|||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
.jodit-container{
|
.jodit-container{
|
||||||
width: 690px !important;
|
/* width: 690px !important; */
|
||||||
margin-top: 3px;
|
/* margin-top: 3px; */
|
||||||
margin-bottom: 3px;
|
/* margin-bottom: 3px; */
|
||||||
margin-left: 30px;
|
/* margin-left: 30px; */
|
||||||
/* height: 0px !important; */
|
/* height: 0px !important; */
|
||||||
/* min-height: 100px !important; */
|
/* min-height: 100px !important; */
|
||||||
}
|
}
|
||||||
@ -86,7 +86,208 @@
|
|||||||
<input type="hidden" id="emp_count"/>
|
<input type="hidden" id="emp_count"/>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|
||||||
<div class="form-column">
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="sumInsured">Sum Insured</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input class="form-control" type="text" name="sumInsured2" id="sumInsured2" onkeypress = "return onlyNumbers(event)" onkeyup="formatNumber(this)" style="width: 100% !important;">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div id='numberToWordSumInsured' class="text-danger" ></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Total Sum Insured</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" style="width: 100% !important;" class="form-control" name="totalSumInsured" id="totalSumInsured" onkeypress = "return onlyNumbers(event)" onkeyup="formatNumber(this)">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div id='numberToWordTotalSumInsured' class="text-danger" ></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Accidental Death Benefit</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="radio" name="accidentalDeathBenefit" value="1"> Yes
|
||||||
|
<input type="radio" name="accidentalDeathBenefit" value="0" style="margin-left:10px" checked> No
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Permanent Total Disablement</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="permanentTotalDisablement" id="permanentTotalDisablement" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Permanent Partial Disablement</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="permanentPartialDisablement" id="permanentPartialDisablement" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Temporary Total Disablement benefit</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="temporaryTotalDisablementBenefit" id="temporaryTotalDisablementBenefit" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Accidental Hospitalization Expenses</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<select name="accidentalHospitalizationExpenses" id="accidentalHospitalizationExpenses" class="form-control">
|
||||||
|
<option value="">Select an option</option>
|
||||||
|
<option value="No">No</option>
|
||||||
|
<option value="10%-40%">Covered upto 10% of SI or 40% of actual which ever is less</option>
|
||||||
|
<option value="20%-50%">Covered upto 20% of SI or 50% of actual which ever is less</option>
|
||||||
|
<option value="50K-500k">INR 50K, to vary in multiples of 25K till 5 Lacs</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Children Education Welfare Fund</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<select name="childrenEducationWelfareFund" id="childrenEducationWelfareFund" class="form-control">
|
||||||
|
<option value="">Select an option</option>
|
||||||
|
<option value="No">No</option>
|
||||||
|
<option value="10000">Covered upto 10,000/ per child ( Restricted to 2 children)</option>
|
||||||
|
<option value="5000">Covered upto 5,000/ per child ( Restricted to 2 children)</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Compassionate Visit Expenses</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="radio" name="compassionateVisitExpenses" value="1"> Yes
|
||||||
|
<input type="radio" name="compassionateVisitExpenses" value="0" style="margin-left:10px" checked> No
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;display:none;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Compassionate Visit Expenses Data</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="compassionateVisitExpensesData" id="compassionateVisitExpensesData" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Broken Bone Expenses</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="radio" name="brokenBoneExpenses" value="1"> Yes
|
||||||
|
<input type="radio" name="brokenBoneExpenses" value="0" style="margin-left:10px" checked> No
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;display:none;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Broken Bone Expenses Data</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="brokenBoneExpensesData" id="brokenBoneExpensesData" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured"> Ambulance charges</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="radio" name="ambulanceCharges" value="1"> Yes
|
||||||
|
<input type="radio" name="ambulanceCharges" value="0" style="margin-left:10px" checked> No
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;display:none;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Ambulance charges Data</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="ambulanceChargesData" id="ambulanceChargesData" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured"> Burn Expenses</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="radio" name="burnExpenses" value="1"> Yes
|
||||||
|
<input type="radio" name="burnExpenses" value="0" style="margin-left:10px" checked> No
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;display:none;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Burn Expenses Data</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="burnExpensesData" id="burnExpensesData" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Carriage of Dead Body</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="radio" name="carriageOfDeadBody" value="1"> Yes
|
||||||
|
<input type="radio" name="carriageOfDeadBody" value="0" style="margin-left:10px" checked> No
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;display:none;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Carriage of Dead Body Data</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" name="carriageOfDeadBodyData" id="carriageOfDeadBodyData" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Animal/Snake/Insect bite</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="radio" name="animalSnakeInsectBite" value="1"> Yes
|
||||||
|
<input type="radio" name="animalSnakeInsectBite" value="0" style="margin-left:10px" checked> No
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Terrorism</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="radio" name="terrorism" value="1"> Yes
|
||||||
|
<input type="radio" name="terrorism" value="0" style="margin-left:10px" checked> No
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="margin-bottom: 10px;">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="totalSumInsured">Worldwide Cover</label>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="radio" name="worldwideCover" value="1"> Yes
|
||||||
|
<input type="radio" name="worldwideCover" value="0" style="margin-left:10px" checked> No
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- <div class="form-column">
|
||||||
|
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master">
|
<div class="form-group col-md-6 form-group-client-policy-master">
|
||||||
<label for="sumInsured" class=" " style="width: 400px;">Sum Insured</label>
|
<label for="sumInsured" class=" " style="width: 400px;">Sum Insured</label>
|
||||||
@ -100,7 +301,7 @@
|
|||||||
<input type="text" name="totalSumInsured" id="totalSumInsured" class="form-control form-control-client-policy-master">
|
<input type="text" name="totalSumInsured" id="totalSumInsured" class="form-control form-control-client-policy-master">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master" style="display:none;">
|
<div class="form-group col-md-6 form-group-client-policy-master">
|
||||||
<label class="form-check-label " for="corporatebuffer" style="width: 400px;">Accidental Death Benefit</label>
|
<label class="form-check-label " for="corporatebuffer" style="width: 400px;">Accidental Death Benefit</label>
|
||||||
<div class="radiobuttondiv">
|
<div class="radiobuttondiv">
|
||||||
<input type="radio" name="accidentalDeathBenefit" value="1"> Yes
|
<input type="radio" name="accidentalDeathBenefit" value="1"> Yes
|
||||||
@ -108,17 +309,17 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master" style="display:none;">
|
<div class="form-group col-md-6 form-group-client-policy-master">
|
||||||
<label for="permanentTotalDisablement" class=" " style="width: 400px;">Permanent Total Disablement</label>
|
<label for="permanentTotalDisablement" class=" " style="width: 400px;">Permanent Total Disablement</label>
|
||||||
<input type="text" name="permanentTotalDisablement" id="permanentTotalDisablement" class="form-control form-control-client-policy-master">
|
<input type="text" name="permanentTotalDisablement" id="permanentTotalDisablement" class="form-control form-control-client-policy-master">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master" style="display:none;">
|
<div class="form-group col-md-6 form-group-client-policy-master" >
|
||||||
<label for="permanentPartialDisablement" class=" " style="width: 400px;">Permanent Partial Disablement</label>
|
<label for="permanentPartialDisablement" class=" " style="width: 400px;">Permanent Partial Disablement</label>
|
||||||
<input type="text" name="permanentPartialDisablement" id="permanentPartialDisablement" class="form-control form-control-client-policy-master">
|
<input type="text" name="permanentPartialDisablement" id="permanentPartialDisablement" class="form-control form-control-client-policy-master">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-md-6 form-group-client-policy-master" style="display:none;">
|
<div class="form-group col-md-6 form-group-client-policy-master" >
|
||||||
<label for="temporaryTotalDisablementBenefit" class=" " style="width: 400px;">Temporary Total Disablement benefit</label>
|
<label for="temporaryTotalDisablementBenefit" class=" " style="width: 400px;">Temporary Total Disablement benefit</label>
|
||||||
<input type="text" name="temporaryTotalDisablementBenefit" id="temporaryTotalDisablementBenefit" class="form-control form-control-client-policy-master">
|
<input type="text" name="temporaryTotalDisablementBenefit" id="temporaryTotalDisablementBenefit" class="form-control form-control-client-policy-master">
|
||||||
</div>
|
</div>
|
||||||
@ -235,13 +436,14 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group text-right m-b-0" style="margin-top: -49px;">
|
<div class="form-group text-right m-b-0" style="margin-top: -49px;">
|
||||||
<button type="submit" class="btn btn-primary waves-effect waves-light mr-1" id="btnGPATermsSubmit" style="margin-top: 100px;">Submit</button>
|
<button type="submit" class="btn btn-primary waves-effect waves-light mr-1" id="btnGPATermsSubmit" style="margin-top: 100px;">Submit</button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -428,7 +630,8 @@
|
|||||||
if (res) {
|
if (res) {
|
||||||
|
|
||||||
let jsonObject = JSON.parse(res.data);
|
let jsonObject = JSON.parse(res.data);
|
||||||
$("#numberToWord").text(convertNumberToWords(jsonObject.sumInsured2));
|
$("#numberToWordSumInsured").text(convertCommaNumberToWords(jsonObject.sumInsured2));
|
||||||
|
$("#numberToWordTotalSumInsured").text(convertCommaNumberToWords(jsonObject.totalSumInsured));
|
||||||
if(jsonObject.compassionateVisitExpenses == '1'){
|
if(jsonObject.compassionateVisitExpenses == '1'){
|
||||||
var element = $('input[name="compassionateVisitExpenses"]').parent().parent().next()[0];
|
var element = $('input[name="compassionateVisitExpenses"]').parent().parent().next()[0];
|
||||||
$(element).css("display", "");
|
$(element).css("display", "");
|
||||||
@ -500,13 +703,37 @@
|
|||||||
|
|
||||||
|
|
||||||
$("#sumInsured2").on("keyup", function() {
|
$("#sumInsured2").on("keyup", function() {
|
||||||
var inputNumber = parseInt($(this).val());
|
var inputNumber = $(this).val();
|
||||||
if (!isNaN(inputNumber)) {
|
if (inputNumber) {
|
||||||
var result = convertNumberToWords(inputNumber);
|
var result = convertCommaNumberToWords(inputNumber);
|
||||||
$("#numberToWord").text(result);
|
$("#numberToWordSumInsured").text(result);
|
||||||
} else {
|
} else {
|
||||||
$("#numberToWord").text("");
|
$("#numberToWordSumInsured").text("");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
$("#totalSumInsured").on("keyup", function() {
|
||||||
|
var inputNumber = $(this).val();
|
||||||
|
if (inputNumber) {
|
||||||
|
var result = convertCommaNumberToWords(inputNumber);
|
||||||
|
$("#numberToWordTotalSumInsured").text(result);
|
||||||
|
} else {
|
||||||
|
$("#numberToWordTotalSumInsured").text("");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function formatNumber(input) {
|
||||||
|
// Remove non-numeric characters
|
||||||
|
let value = input.value.replace(/\D/g, '');
|
||||||
|
|
||||||
|
// Add commas
|
||||||
|
value = Number(value).toLocaleString('en-IN');
|
||||||
|
|
||||||
|
// Update the input value
|
||||||
|
input.value = value;
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
Loading…
Reference in New Issue
Block a user