Merge branch 'develop' into 'devops-production'

Top Saldo Feature

See merge request empatnusabangsa/ppob/ppob-frontend!142
This commit is contained in:
ajat sudrajat 2022-02-04 15:59:35 +00:00
commit 319aee7259

View File

@ -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={() => {