style: adjust number to currency format
This commit is contained in:
@@ -48,11 +48,21 @@ export const ProductComponent = observer((props) => {
|
||||
title: "Harga Beli",
|
||||
dataIndex: "current_price_price",
|
||||
key: "current_price_price",
|
||||
render: (text) =>
|
||||
new Intl.NumberFormat("id-ID", {
|
||||
style: "currency",
|
||||
currency: "IDR",
|
||||
}).format(text),
|
||||
},
|
||||
{
|
||||
title: "Harga Jual",
|
||||
dataIndex: "mark_up_price",
|
||||
key: "mark_up_price",
|
||||
render: (text) =>
|
||||
new Intl.NumberFormat("id-ID", {
|
||||
style: "currency",
|
||||
currency: "IDR",
|
||||
}).format(text),
|
||||
},
|
||||
// {
|
||||
// title: "Gangguan",
|
||||
|
||||
Reference in New Issue
Block a user