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:
ruthra kumar 2023-09-15 16:57:32 +05:30 committed by GitHub
commit 855a0d3bec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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);
erpnext.accounts.unreconcile_payments.add_unreconcile_btn(me.frm);
}
unblock_invoice() {

View File

@ -19,7 +19,7 @@ erpnext.accounts.unreconcile_payments = {
if (r.message) {
frm.add_custom_button(__("Un-Reconcile"), function() {
erpnext.accounts.unreconcile_payments.build_unreconcile_dialog(frm);
});
}, __('Actions'));
}
}
});