Skip to content

Creating GuestScanConfirmationFragment

Closes #124 (closed). After the barcode is scanned, the guest will be asked to verify if their name appears. They will be sent to the questionnaire if their name is correct and back to rescan their barcode if it's not.

TESTING: Navigate to the guest visit scanner in the app (Guest Forms -> Guest Visit Check In (Local Database)). Scan a Code 39 barcode and press the Confirm Scan button. Since there aren't any guests yet, the guests name is set to "Test" in order to advance along the questionnaire route. To test the registration route, just replace the line like the TODO comment says (Line 260 in GuestScanFragment.java).

QUESTIONNAIRE ROUTE: You should see a fragment asking you to confirm if the information is correct. From here you can rescan the barcode or move on to the questionnaire fragment.

REGISTRATION ROUTE: You should see a fragment letting you know that the guest isn't registered. From here you can rescan the barcode or click the register button.

Edited by Owen Wurster

Merge request reports