Tax amount showing under wrong tax header in the report (#13843)
diff --git a/erpnext/public/js/controllers/accounts.js b/erpnext/public/js/controllers/accounts.js
index 5baf848..3f664ae 100644
--- a/erpnext/public/js/controllers/accounts.js
+++ b/erpnext/public/js/controllers/accounts.js
@@ -145,6 +145,8 @@
frappe.model.set_value(cdt, cdn, "description", r.message.account_name);
}
})
+ } else if (d.charge_type == 'Actual' && d.account_head) {
+ frappe.model.set_value(cdt, cdn, "description", d.account_head.split(' - ')[0]);
}
}