Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Document Status

Status
colourBlueGreen
titlein reviewREVIEWED

Closing date

Document Owner(s)

Macedo Ferreira, Samuel

Reviewers

Epic Link

Jira Legacy
serverSystem Jira
serverId255417eb-03fa-3e2f-a6ba-05d325fec50d
keyIBFEC-2794

Figma Link

https://www.figma.com/design/Ti8Qr6jeSEPaencIDyYfcJ/branch/20qsLOwGIwHajxKTTrVpOp/Burger-King?node-id=3003-34599&m=dev

...

Get the user's phone number from the customer data and order phone number from the order data.

Show Phone Number - Workflow

The workflow is basically an order flow where the FetchOrder query is fetched, then the phone number is read from Dynamo DB and then it is returned to the Admin Tool to be displayed on screen.

...

Expand
titlehttps://sequencediagram.org/ - Show Phone Number
Code Block
title Show Phone Number

participant Admin Tool
participant Graphql
participant DB

Admin Tool->Graphql: FetchOrder
Graphql->DB: Read phone number
DB->Graphql: Return phone number 
Admin Tool<-Graphql:Display phone number

For more references:

...

  • Update query and interface

  • Add new fields table

  • Add new Lokalise translations

🧑‍🚒 QA Plan

Scenario

Condition

Result

Profile Phone Number and Order Both Phone

Number populatedBoth Profile Phone Number and Order Phone Number should be populated

Numbers populated

The user has filled profile phone number on sign-up/ editing his account and filled phone number during the delivery order process.

Both Profile Phone Number and Order Phone Number should have values different or equal values

Order Phone Number populated.

Only Order Phone Number should be populated

The user did not fill out his profile phone number when signing up or editing his account, but he/she did fill out the phone number during the delivery order process.

Only the Order Phone Number should have a value and the Profile Phone Number should show empty line validation

Profile Phone Number populated

In a pickup order, only Profile Phone Number should be populated

The user has filled out his profile phone number when signing up or editing his account, but he/she has not filled out the phone number because it is a non-delivery order.

Only Profile Phone Number should have a value and Order Phone Number should show empty line validation

Any

No Phone Number populated

In a pickup order, any Phone Number should be populated

The user did not fill out his profile phone number when signing up or editing his account, and he did not do so because it was a non-delivery order.

Both Profile Phone Number and Order Phone Number

should

should show empty line validation

Non-delivery: can be a pickup, dine in, drive thru or any other that is not a delivery type.

⚠️ Call-outs

https://www.figma.com/design/Ti8Qr6jeSEPaencIDyYfcJ/branch/20qsLOwGIwHajxKTTrVpOp/Burger-King?node-id=3176-13800&t=2KAGZQ6XmCFFg5YX-0