CHANGE_SET_RENEWAL_MAX_DATE_AS_END_DATE
This commit is contained in:
parent
9b887f58be
commit
47c49f2228
@ -644,6 +644,7 @@ $(document).ready(function(){
|
||||
var renewal_date = new Date(policy_end_date);
|
||||
// renewal_date.setMonth(renewal_date.getMonth() - 1);
|
||||
renewal_datePicker.setDate(renewal_date); // Set renewal date
|
||||
renewal_datePicker.set('maxDate', policy_end_date); // set max date
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@ -643,6 +643,7 @@ $(document).ready(function(){
|
||||
var renewal_date = new Date(policy_end_date);
|
||||
// renewal_date.setMonth(renewal_date.getMonth() - 1);
|
||||
renewal_datePicker.setDate(renewal_date); // Set renewal date
|
||||
renewal_datePicker.set('maxDate', policy_end_date); // set max date
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user