Fixed document same day recurring save issue..
This commit is contained in:
parent
8d1b5a7e16
commit
2637c04585
|
|
@ -877,7 +877,7 @@ const app = new Vue({
|
|||
|
||||
onChangeRecurringDate() {
|
||||
let started_at = new Date(this.form.recurring_started_at);
|
||||
let due_at = format(addDays(started_at, this.form.payment_terms), 'yyyy-MM-dd hh:mm:ss');
|
||||
let due_at = format(addDays(started_at, this.form.payment_terms), 'yyyy-MM-dd');
|
||||
|
||||
this.form.due_at = due_at;
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue