...
Task 1 - Add new Fields for add Stores and Items
Task 2 -
Intl Whitelabel App:
Task 1 - Update GraphQL Query to get new data (validate cache)
Task 2 - Validate if purchased products have a refill
Task 3 - Create a new request for backend “intl-whitelabel-graphql” - GetRefillDrinkQRCode (Request GraphQL implementation)
Task 4 - Get and use QRCode of GetRefillDrinkQRCode (Request GraphQL implementation)
Task 5 - Como verificar agendamento de pedido e cancelamento
...
Task 1 - Add new Fields for add Stores and Items
Add
...
this new objects in the document of QRCode refill schemas/features/documents/refill-drinks-qrcode.tsx
Add new objects in schema file in schemas/schema.tsx
In case have any questions about these files, you can to consult this PR: https://github.com/rbilabs/intl-whitelabel-cms/pull/86/files because here was created this files
...
for QRCode Refill
...
Doubts:
1 - These items, we can add just items or just menu “Combo” or both?
Just Items
2 - How to add an object of restaurants/stores?
We have this example for groups restaurants
...
.
About List of Stores we can use the object src/schemas/menu/documents/restaurant-group.ts of shared schema, we need just to add the code of restaurants in our code of QRCode.
...
About the Items List, we can add the same idea of items free, but the component need to have just items, don’t have combo or menu.
...
In Figma this activity don’t finished yet, but the main idea is it:
...
DOD-LIKE
Show Restaurant List with validate have one.
Show Items List with validate have one.
Just add items of “item” type
Validate messages and layout with designers