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