feat: add number format
This commit is contained in:
@@ -66,10 +66,12 @@ export const SupplierComponent = observer((props) => {
|
||||
key: ["coa", "amount"],
|
||||
width: "20%",
|
||||
render: (text, record) =>
|
||||
new Intl.NumberFormat("id-ID", {
|
||||
style: "currency",
|
||||
currency: "IDR",
|
||||
}).format(text),
|
||||
text
|
||||
? new Intl.NumberFormat("id-ID", {
|
||||
style: "currency",
|
||||
currency: "IDR",
|
||||
}).format(text)
|
||||
: "-",
|
||||
},
|
||||
{
|
||||
title: "Status",
|
||||
|
||||
Reference in New Issue
Block a user