FIX_CLIENT_POLICY_GST_NO : RV
This commit is contained in:
parent
b113c596ca
commit
14458fd3f5
@ -133,7 +133,7 @@
|
|||||||
|
|
||||||
<div class="form-group col-md-4">
|
<div class="form-group col-md-4">
|
||||||
<label for="mobile">GST ( % )<span id="tpa_danger" class="text-danger">*</span></label>
|
<label for="mobile">GST ( % )<span id="tpa_danger" class="text-danger">*</span></label>
|
||||||
<input value="18" type="text" class="form-control" placeholder="GST (%)" id="gst" name="gst" required>
|
<input type="text" class="form-control" placeholder="GST (%)" id="gst_no" name="gst" required>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-md-4">
|
<div class="form-group col-md-4">
|
||||||
@ -326,6 +326,7 @@
|
|||||||
$('#base_policy_id').hide();
|
$('#base_policy_id').hide();
|
||||||
$('#policy_PrimaryKey').val("");
|
$('#policy_PrimaryKey').val("");
|
||||||
$('#insurer_policy_id').val("");
|
$('#insurer_policy_id').val("");
|
||||||
|
$('#gst_no').val(18);
|
||||||
|
|
||||||
|
|
||||||
$('#first').hide();
|
$('#first').hide();
|
||||||
@ -761,6 +762,10 @@
|
|||||||
success: function(res) {
|
success: function(res) {
|
||||||
|
|
||||||
console.log('client_policy_res', res)
|
console.log('client_policy_res', res)
|
||||||
|
console.log('gst', res.data.gst);
|
||||||
|
|
||||||
|
var gst = (res.data.gst == 0.00) ? 18 : res.data.gst;
|
||||||
|
console.log(gst);
|
||||||
|
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
$('.loader').fadeOut();
|
$('.loader').fadeOut();
|
||||||
@ -798,6 +803,7 @@
|
|||||||
$('#start_date').val(rearrangeDateFormat(res.data.policy_start_date));
|
$('#start_date').val(rearrangeDateFormat(res.data.policy_start_date));
|
||||||
$('#end_date').val(rearrangeDateFormat(res.data.policy_end_date));
|
$('#end_date').val(rearrangeDateFormat(res.data.policy_end_date));
|
||||||
$('#policy_status').val(checkDateStatus(res.data.policy_end_date));
|
$('#policy_status').val(checkDateStatus(res.data.policy_end_date));
|
||||||
|
$('#gst_no').val(gst);
|
||||||
$('#policy_status_field').show();
|
$('#policy_status_field').show();
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user