Perbaikan Menu Profil
This commit is contained in:
parent
467d67089f
commit
07c08472b3
|
@ -105,7 +105,7 @@ export const Profile = observer(() => {
|
||||||
title: "Price",
|
title: "Price",
|
||||||
dataIndex: "price",
|
dataIndex: "price",
|
||||||
key: "price",
|
key: "price",
|
||||||
width: "20%",
|
|
||||||
render: (text) =>
|
render: (text) =>
|
||||||
new Intl.NumberFormat("id-ID", {
|
new Intl.NumberFormat("id-ID", {
|
||||||
style: "currency",
|
style: "currency",
|
||||||
|
@ -113,10 +113,34 @@ export const Profile = observer(() => {
|
||||||
}).format(text),
|
}).format(text),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Buyer",
|
title: "Pembeli",
|
||||||
dataIndex: "buyer",
|
dataIndex: "buyer",
|
||||||
key: "buyer",
|
key: "buyer",
|
||||||
width: "50%",
|
},
|
||||||
|
{
|
||||||
|
title: "Tujuan",
|
||||||
|
dataIndex: "tujuan",
|
||||||
|
key: "tujuan",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "ID Transaksi",
|
||||||
|
dataIndex: "id_transaksi",
|
||||||
|
key: "id_transaksi",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Status",
|
||||||
|
dataIndex: "status",
|
||||||
|
key: "status",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "No Seri",
|
||||||
|
dataIndex: "no_seri",
|
||||||
|
key: "no_seri",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "IDTrx Mitra",
|
||||||
|
dataIndex: "idtrx_mitra",
|
||||||
|
key: "idtrx_mitra",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Transaction Date",
|
title: "Transaction Date",
|
||||||
|
@ -206,6 +230,8 @@ export const Profile = observer(() => {
|
||||||
<Col></Col>
|
<Col></Col>
|
||||||
</Row>
|
</Row>
|
||||||
</Col>
|
</Col>
|
||||||
|
{store.authentication.userData.role === "Admin" ||
|
||||||
|
(store.authentication.userData.role === "Supervisor" && (
|
||||||
<Col span={store.ui.mediaQuery.isMobile ? 8 : 5}>
|
<Col span={store.ui.mediaQuery.isMobile ? 8 : 5}>
|
||||||
<Row justify={"center"}>
|
<Row justify={"center"}>
|
||||||
<Col lg={12} xs={12}>
|
<Col lg={12} xs={12}>
|
||||||
|
@ -224,12 +250,13 @@ export const Profile = observer(() => {
|
||||||
<Col></Col>
|
<Col></Col>
|
||||||
</Row>
|
</Row>
|
||||||
</Col>
|
</Col>
|
||||||
|
))}
|
||||||
</Row>
|
</Row>
|
||||||
<Row>
|
<Row>
|
||||||
<Col span={24}>
|
<Col span={24}>
|
||||||
<div>
|
<div>
|
||||||
<Title strong level={3}>
|
<Title strong level={3}>
|
||||||
History User Transaction
|
History Transaction
|
||||||
</Title>
|
</Title>
|
||||||
<Button
|
<Button
|
||||||
style={{ marginBottom: "1rem" }}
|
style={{ marginBottom: "1rem" }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user