fix: get membership

This commit is contained in:
ilham 2021-12-21 15:07:49 +07:00
parent a4ba756dbc
commit 2d87c65bbc

View File

@ -65,7 +65,7 @@ export const SupplierComponent = observer((props) => {
width: "5%",
},
{
title: "Saldo",
title: "Saldo di Supplier",
dataIndex: ["coa", "amount"],
key: ["coa", "amount"],
width: "20%",
@ -75,6 +75,17 @@ export const SupplierComponent = observer((props) => {
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",
dataIndex: "status",