mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 21:59:13 +00:00
fix: broken set exchagne gain/loss btn broken in payment entry
This commit is contained in:
@@ -977,6 +977,7 @@ frappe.ui.form.on('Payment Entry', {
|
|||||||
precision("difference_amount"));
|
precision("difference_amount"));
|
||||||
|
|
||||||
const add_deductions = (details) => {
|
const add_deductions = (details) => {
|
||||||
|
let row = null;
|
||||||
if (!write_off_row.length && difference_amount) {
|
if (!write_off_row.length && difference_amount) {
|
||||||
row = frm.add_child("deductions");
|
row = frm.add_child("deductions");
|
||||||
row.account = details[account];
|
row.account = details[account];
|
||||||
|
|||||||
Reference in New Issue
Block a user