fix: Use this.frm (Linter)
This commit is contained in:
parent
0498a31c42
commit
5a952987a3
@ -149,8 +149,8 @@ erpnext.accounts.SalesInvoiceController = class SalesInvoiceController extends e
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (payment_is_overdue) {
|
if (payment_is_overdue) {
|
||||||
cur_frm.add_custom_button(__('Dunning'), function () {
|
this.frm.add_custom_button(__('Dunning'), () => {
|
||||||
cur_frm.events.create_dunning(cur_frm);
|
this.frm.events.create_dunning(this.frm);
|
||||||
}, __('Create'));
|
}, __('Create'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user