Top Saldo Feature
This commit is contained in:
parent
aed1657b9a
commit
0283dedfbc
|
@ -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={() => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user