Skip to content

PN-39-hide-pos-actions-when-shift-is-closed#226

Open
MohamedAliSmk wants to merge 1 commit intodevelopfrom
PN-39-hide-pos-actions-when-shift-is-closed
Open

PN-39-hide-pos-actions-when-shift-is-closed#226
MohamedAliSmk wants to merge 1 commit intodevelopfrom
PN-39-hide-pos-actions-when-shift-is-closed

Conversation

@MohamedAliSmk
Copy link
Copy Markdown
Collaborator

  • Updated role filters to include "Nexus Pos Manager" for access control.
  • Enhanced the bootstrap API to return a flag indicating if the user can switch to the desk view based on their role.
  • Modified the POS Sale page to conditionally render the "Switch To Desk" button based on the new role permission.
  • Improved the switchToDesk function to check for the new permission before allowing navigation.

- Updated role filters to include "Nexus Pos Manager" for access control.
- Enhanced the bootstrap API to return a flag indicating if the user can switch to the desk view based on their role.
- Modified the POS Sale page to conditionally render the "Switch To Desk" button based on the new role permission.
- Improved the switchToDesk function to check for the new permission before allowing navigation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant