commit | 94ce43b0d5d131e31e6fc01ac06cfa748d73caed | [log] [tgz] |
---|---|---|
author | ruthra kumar <ruthra@erpnext.com> | Fri Sep 15 16:21:50 2023 +0530 |
committer | ruthra kumar <ruthra@erpnext.com> | Fri Sep 15 16:21:50 2023 +0530 |
tree | 61515dbc5ba2006bed723ac2ad2e0cd7b445bf3a | |
parent | f2b0ac6868387611d9d6d00274fea6655aceb9c0 [diff] |
refactor: add `unreconcile` btn to purchase invoice
diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js index efe9741..c8c9ad1 100644 --- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js +++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js
@@ -161,6 +161,7 @@ } 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() {