fix: show company currency in asset depreciation schedule

(cherry picked from commit e32f898dd7)
This commit is contained in:
sudarshan-g
2025-12-17 12:09:22 +05:30
committed by Mergify
parent 89d6a8f02e
commit 5b1795b0a5

View File

@@ -274,8 +274,14 @@ frappe.ui.form.on("Asset", {
const row = [
sch["idx"],
frappe.format(sch["schedule_date"], { fieldtype: "Date" }),
frappe.format(sch["depreciation_amount"], { fieldtype: "Currency" }),
frappe.format(sch["accumulated_depreciation_amount"], { fieldtype: "Currency" }),
frappe.format(sch["depreciation_amount"], {
fieldtype: "Currency",
options: "Company:company:default_currency",
}),
frappe.format(sch["accumulated_depreciation_amount"], {
fieldtype: "Currency",
options: "Company:company:default_currency",
}),
sch["journal_entry"] || "",
];