Tax amount showing under wrong tax header in the report (#13843)

This commit is contained in:
rohitwaghchaure 2018-05-02 12:20:55 +05:30 committed by Nabin Hait
parent 284de4c15a
commit 0065624fe0

View File

@ -145,6 +145,8 @@ cur_frm.cscript.account_head = function(doc, cdt, cdn) {
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]);
}
}