Fixed recurring-document due_at issue
This commit is contained in:
parent
50eba765d2
commit
ccd82f5da4
@ -702,7 +702,7 @@ const app = new Vue({
|
|||||||
|
|
||||||
onChangeRecurringDate() {
|
onChangeRecurringDate() {
|
||||||
let started_at = new Date(this.form.recurring_started_at);
|
let started_at = new Date(this.form.recurring_started_at);
|
||||||
let due_at = format(addDays(started_at, this.form.payment_terms), 'YYYY-MM-DD');
|
let due_at = format(addDays(started_at, this.form.payment_terms), 'yyyy-MM-dd');
|
||||||
|
|
||||||
this.form.due_at = due_at;
|
this.form.due_at = due_at;
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user