Tax amount showing under wrong tax header in the report (#13843)
This commit is contained in:
parent
284de4c15a
commit
0065624fe0
@ -145,6 +145,8 @@ cur_frm.cscript.account_head = function(doc, cdt, cdn) {
|
|||||||
frappe.model.set_value(cdt, cdn, "description", r.message.account_name);
|
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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user