Merge pull request #37105 from ruthra-kumar/move_unreconcile_btn_to_group
refactor: move `unreconcile` button into a drop down
This commit is contained in:
commit
855a0d3bec
@ -161,6 +161,7 @@ erpnext.accounts.PurchaseInvoice = class PurchaseInvoice extends erpnext.buying.
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.frm.set_df_property("tax_withholding_category", "hidden", doc.apply_tds ? 0 : 1);
|
this.frm.set_df_property("tax_withholding_category", "hidden", doc.apply_tds ? 0 : 1);
|
||||||
|
erpnext.accounts.unreconcile_payments.add_unreconcile_btn(me.frm);
|
||||||
}
|
}
|
||||||
|
|
||||||
unblock_invoice() {
|
unblock_invoice() {
|
||||||
|
|||||||
@ -19,7 +19,7 @@ erpnext.accounts.unreconcile_payments = {
|
|||||||
if (r.message) {
|
if (r.message) {
|
||||||
frm.add_custom_button(__("Un-Reconcile"), function() {
|
frm.add_custom_button(__("Un-Reconcile"), function() {
|
||||||
erpnext.accounts.unreconcile_payments.build_unreconcile_dialog(frm);
|
erpnext.accounts.unreconcile_payments.build_unreconcile_dialog(frm);
|
||||||
});
|
}, __('Actions'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user