Merge branch 'develop' into 'devops-staging'

Develop

See merge request empatnusabangsa/ppob/ppob-frontend!186
This commit is contained in:
Rahman Efendi 2022-08-12 11:32:56 +00:00
commit 5fcbe4d6ee

View File

@ -168,6 +168,16 @@ export const Profile = observer(() => {
currency: "IDR",
}).format(text),
},
{
title: "Sisa Saldo",
dataIndex: "balance_remaining",
key: "balance_remaining",
render: (text) =>
new Intl.NumberFormat("id-ID", {
style: "currency",
currency: "IDR",
}).format(text),
},
{
title: "Pembeli",
dataIndex: "buyer",
@ -342,6 +352,7 @@ export const Profile = observer(() => {
},
},
];
if (store.authentication.userData.role !== "Admin Partner") delete columns[2];
const styleSaldoTitle = store.ui.mediaQuery.isDesktop
? {
display: "flex",