Merge branch 'devops-staging' of https://gitlab.com/empatnusabangsa/ppob/ppob-frontend
This commit is contained in:
commit
1b3225bc24
|
@ -115,6 +115,9 @@ export const ProductDetail = observer(() => {
|
|||
},
|
||||
];
|
||||
|
||||
if (store.authentication.userData.role === "Admin Partner") delete columns[0];
|
||||
if (store.authentication.userData.role === "Admin Partner") delete columns[3];
|
||||
|
||||
const styleSaldoTitle = store.ui.mediaQuery.isDesktop
|
||||
? {
|
||||
display: "flex",
|
||||
|
@ -232,13 +235,14 @@ export const ProductDetail = observer(() => {
|
|||
description={
|
||||
<div style={{}}>
|
||||
<p>
|
||||
<small>
|
||||
{store.authentication.userData.role === "Admin" ?
|
||||
`<small>
|
||||
Markup Price :{" "}
|
||||
{new Intl.NumberFormat("id-ID", {
|
||||
style: "currency",
|
||||
currency: "IDR",
|
||||
}).format(item.mark_up_price)}
|
||||
</small>{" "}
|
||||
</small>{" "}` : ''}
|
||||
<br />
|
||||
<small>
|
||||
Price:{" "}
|
||||
|
|
Loading…
Reference in New Issue
Block a user