Skip to content

Commit

Permalink
chore: resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
ruthra-kumar committed Oct 24, 2023
1 parent be90be3 commit 0b082f0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions erpnext/accounts/doctype/payment_entry/payment_entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,16 +152,12 @@ frappe.ui.form.on('Payment Entry', {
frm.events.hide_unhide_fields(frm);
frm.events.set_dynamic_labels(frm);
frm.events.show_general_ledger(frm);
<<<<<<< HEAD
=======
erpnext.accounts.ledger_preview.show_accounting_ledger_preview(frm);
if(frm.doc.references.find((elem) => {return elem.exchange_gain_loss != 0})) {
frm.add_custom_button(__("View Exchange Gain/Loss Journals"), function() {
frappe.set_route("List", "Journal Entry", {"voucher_type": "Exchange Gain Or Loss", "reference_name": frm.doc.name});
}, __('Actions'));

}
>>>>>>> 150728deaa (refactor: button on PE to filter associated Journals)
erpnext.accounts.unreconcile_payments.add_unreconcile_btn(frm);
},

Expand Down

0 comments on commit 0b082f0

Please sign in to comment.