Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React UI to read the Json of the final order list #10

Open
akhil-ghatiki opened this issue Apr 14, 2020 · 1 comment
Open

React UI to read the Json of the final order list #10

akhil-ghatiki opened this issue Apr 14, 2020 · 1 comment
Milestone

Comments

@akhil-ghatiki
Copy link
Owner

No description provided.

@akhil-ghatiki akhil-ghatiki added this to the MVP milestone Apr 14, 2020
@SwathiVarkala
Copy link
Collaborator

@sowmika
The UI should prompt for email id to display invoice
Sample Invoice JSON file returned by below Invoice end point.
http://localhost:8080/retailMart/[email protected]/invoice
{
"id": "9fa3134c-b5fa-4ea4-8abb-2d0a73f891dc",
"orderDate": "2020-04-17T13:40:09.677+0000",
"user": {
"username": "minions",
"userEmail": "[email protected]"
},
"company": {
"companyName": "RetailMart",
"companyEmail": "[email protected]"
},
"totalPrice": 1178,
"orderLineItems": [
{
"name": "orange",
"quantity": 0.8,
"unit": "kg",
"id": "231-345",
"unitPrice": 60,
"price": 48
},
{
"name": "eggs",
"quantity": 10,
"unit": "number",
"id": "231-745",
"unitPrice": 60,
"price": 600
}
]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants