Merge branch 'develop' into 'devops-staging'

Top Saldo Feature

See merge request empatnusabangsa/ppob/ppob-frontend!141
This commit is contained in:
ajat sudrajat 2022-02-04 15:59:07 +00:00
commit ea18e6bfcf

View File

@ -201,7 +201,7 @@ export const Membership = observer(() => {
key: "action",
render: (text, record) => (
<Space size="middle">
{store.authentication.userData.role === "Admin" && (
{store.authentication.userData.role !== "Customer Service" && (
<Button
onClick={() => {
setDestination(record?.id);
@ -448,8 +448,8 @@ export const Membership = observer(() => {
<small>Username : {item.username}</small> <br />
<small>Role : {item.roles?.name}</small> <br />
<small>Saldo : {item.coa?.amount}</small> <br />
{store.authentication.userData.role ===
"Admin" && (
{store.authentication.userData.role !==
"Customer Service" && (
<Button
style={{ marginRight: 10, marginTop: 7 }}
onClick={() => {