diff --git a/src/component/ProductComponent.js b/src/component/ProductComponent.js
index 5ec507a..77cd3b2 100644
--- a/src/component/ProductComponent.js
+++ b/src/component/ProductComponent.js
@@ -43,32 +43,32 @@ export const ProductComponent = observer((props) => {
},
{
title: "Produk",
- dataIndex: "name",
+ dataIndex: ["name"],
key: "name",
},
{
title: "Harga Beli",
- dataIndex: "price",
- key: "price",
+ dataIndex: ["currentPrice","price"],
+ key: ["currentPrice","price"],
},
{
title: "Harga Jual",
- dataIndex: "basePrice",
- key: "basePrice",
- },
- {
- title: "Gangguan",
- dataIndex: "status",
- key: "status",
- render: (text, record) => (
-
- {capitalize(record?.status)}
-
- ),
+ dataIndex: ["currentPrice","mark_up_price"],
+ key: ["currentPrice","mark_up_price"],
},
+ // {
+ // title: "Gangguan",
+ // dataIndex: "status",
+ // key: "status",
+ // render: (text, record) => (
+ //
+ // {capitalize(record?.status)}
+ //
+ // ),
+ // },
{
title: "Tersedia",
dataIndex: "tersedia",
@@ -78,7 +78,7 @@ export const ProductComponent = observer((props) => {
color={record?.status === "ACTIVE" ? "blue" : "#E3E8EE"}
style={{color: "#4F566B"}}
>
- {record?.status === "ACTIVE" ? " Ya" : "Tidak"}
+ {record?.status === "ACTIVE" ? " Tersedia" : "Tidak"}
),
}