Scanner App – Initial Workflow #
- Initial Launch (Unregistered Device):
- Display a message: “Device Not Registered”.
- Provide a Register Device button.
- Device Registration:
- After pressing the Register Device button:
- A modal opens for department selection.
- Departments available to select:
- Store
- Production
- User selects one or both departments.
- Submit button sends a request to the system for registration.
- After pressing the Register Device button:
System Workflow – Device Management #
- Scanner Devices Overview:
- Table displaying the following columns:
- ID: Unique ID of each scanner.
- Department: Assigned department(s) for each scanner.
- Status: Shows whether the scanner is Active or Not Active.
- Actions:
- Deactivate (for active devices): Button with an “X” icon to deactivate the device.
- Activate (for inactive devices): Button with a checkmark icon to activate the device.
- Table displaying the following columns:
- Request Handling:
- When a scanner is registered, the system receives the request in the backend.
- An admin/operator:
- Reviews the device details.
- Activates the scanner if approved.
- Assigns or updates departments if required.
- Activation/Deactivation Logic:
- Activate: Enables the scanner for assigned operations.
- Deactivate: Disables the scanner, making it ineligible for operations until reactivated.
