Merge branch 'develop' into 'devops-staging'
Top Saldo Feature See merge request empatnusabangsa/ppob/ppob-frontend!141
This commit is contained in:
commit
ea18e6bfcf
|
@ -201,7 +201,7 @@ export const Membership = observer(() => {
|
||||||
key: "action",
|
key: "action",
|
||||||
render: (text, record) => (
|
render: (text, record) => (
|
||||||
<Space size="middle">
|
<Space size="middle">
|
||||||
{store.authentication.userData.role === "Admin" && (
|
{store.authentication.userData.role !== "Customer Service" && (
|
||||||
<Button
|
<Button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setDestination(record?.id);
|
setDestination(record?.id);
|
||||||
|
@ -448,8 +448,8 @@ export const Membership = observer(() => {
|
||||||
<small>Username : {item.username}</small> <br />
|
<small>Username : {item.username}</small> <br />
|
||||||
<small>Role : {item.roles?.name}</small> <br />
|
<small>Role : {item.roles?.name}</small> <br />
|
||||||
<small>Saldo : {item.coa?.amount}</small> <br />
|
<small>Saldo : {item.coa?.amount}</small> <br />
|
||||||
{store.authentication.userData.role ===
|
{store.authentication.userData.role !==
|
||||||
"Admin" && (
|
"Customer Service" && (
|
||||||
<Button
|
<Button
|
||||||
style={{ marginRight: 10, marginTop: 7 }}
|
style={{ marginRight: 10, marginTop: 7 }}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user