From 2d87c65bbc1ca8d3d769c27670557d577ca7cb31 Mon Sep 17 00:00:00 2001 From: ilham Date: Tue, 21 Dec 2021 15:07:49 +0700 Subject: [PATCH] fix: get membership --- src/component/SupplierComponent.js | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/src/component/SupplierComponent.js b/src/component/SupplierComponent.js index 8071879..29b1298 100644 --- a/src/component/SupplierComponent.js +++ b/src/component/SupplierComponent.js @@ -65,15 +65,26 @@ export const SupplierComponent = observer((props) => { width: "5%", }, { - title: "Saldo", + title: "Saldo di Supplier", dataIndex: ["coa", "amount"], key: ["coa", "amount"], width: "20%", render: (text, record) => - new Intl.NumberFormat("id-ID", { - style: "currency", - currency: "IDR", - }).format(text) + new Intl.NumberFormat("id-ID", { + style: "currency", + currency: "IDR", + }).format(text) + }, + { + title: "Saldo di System", + dataIndex: ["coa_undistribute", "amount"], + key: ["coa_undistribute", "amount"], + width: "20%", + render: (text, record) => + new Intl.NumberFormat("id-ID", { + style: "currency", + currency: "IDR", + }).format(text) }, { title: "Status",