From 38f538453c1aa8be4ff7c478ac12866cc66c14ad Mon Sep 17 00:00:00 2001
From: 18alantom <2.alan.tom@gmail.com>
Date: Mon, 28 Feb 2022 12:53:38 +0530
Subject: [PATCH] fix(ux): show outstanding amount in widget
---
models/doctype/Party/PartyWidget.vue | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/models/doctype/Party/PartyWidget.vue b/models/doctype/Party/PartyWidget.vue
index a02f397e..25b226eb 100644
--- a/models/doctype/Party/PartyWidget.vue
+++ b/models/doctype/Party/PartyWidget.vue
@@ -36,8 +36,8 @@
({{
frappe.format(
- invoice.baseGrandTotal,
- invoiceMeta.getField('baseGrandTotal')
+ invoice.outstandingAmount,
+ invoiceMeta.getField('outstandingAmount')
)
}})
@@ -49,9 +49,9 @@