Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Multiple QR codes for each location #24

Open
cleanview-evan opened this issue Jul 24, 2020 · 0 comments
Open

Multiple QR codes for each location #24

cleanview-evan opened this issue Jul 24, 2020 · 0 comments
Assignees

Comments

@cleanview-evan
Copy link
Collaborator

cleanview-evan commented Jul 24, 2020

Locations have sublocations which have an id, name, and color.

Total_id = location id + subloc id

When a get request to survey is made, we take the first n characters which make up the location id. Make the request for the data from them but make the submission with the total id

Cool? cool.

Only question is whether subloc_id should be a whole new ID or just an index value cuz we don't need a whole table for this...

So, every location is going to start with 1 QR code in their sublocation field {name: 'main', id: uuid(), color: 'black'} and their survey responses will be put into the table with subloc_id = restaurant_uuid + id

@cleanview-evan cleanview-evan self-assigned this Jul 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant