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
|
const styleSaldoTitle = store.ui.mediaQuery.isDesktop
|
||||||
? {
|
? {
|
||||||
display: "flex",
|
display: "flex",
|
||||||
|
@ -232,13 +235,14 @@ export const ProductDetail = observer(() => {
|
||||||
description={
|
description={
|
||||||
<div style={{}}>
|
<div style={{}}>
|
||||||
<p>
|
<p>
|
||||||
<small>
|
{store.authentication.userData.role === "Admin" ?
|
||||||
|
`<small>
|
||||||
Markup Price :{" "}
|
Markup Price :{" "}
|
||||||
{new Intl.NumberFormat("id-ID", {
|
{new Intl.NumberFormat("id-ID", {
|
||||||
style: "currency",
|
style: "currency",
|
||||||
currency: "IDR",
|
currency: "IDR",
|
||||||
}).format(item.mark_up_price)}
|
}).format(item.mark_up_price)}
|
||||||
</small>{" "}
|
</small>{" "}` : ''}
|
||||||
<br />
|
<br />
|
||||||
<small>
|
<small>
|
||||||
Price:{" "}
|
Price:{" "}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user