mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-23 00:28:30 +00:00
fix: show company currency in asset depreciation schedule
(cherry picked from commit e32f898dd7)
This commit is contained in:
@@ -274,8 +274,14 @@ frappe.ui.form.on("Asset", {
|
|||||||
const row = [
|
const row = [
|
||||||
sch["idx"],
|
sch["idx"],
|
||||||
frappe.format(sch["schedule_date"], { fieldtype: "Date" }),
|
frappe.format(sch["schedule_date"], { fieldtype: "Date" }),
|
||||||
frappe.format(sch["depreciation_amount"], { fieldtype: "Currency" }),
|
frappe.format(sch["depreciation_amount"], {
|
||||||
frappe.format(sch["accumulated_depreciation_amount"], { fieldtype: "Currency" }),
|
fieldtype: "Currency",
|
||||||
|
options: "Company:company:default_currency",
|
||||||
|
}),
|
||||||
|
frappe.format(sch["accumulated_depreciation_amount"], {
|
||||||
|
fieldtype: "Currency",
|
||||||
|
options: "Company:company:default_currency",
|
||||||
|
}),
|
||||||
sch["journal_entry"] || "",
|
sch["journal_entry"] || "",
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user