As a user I want to see orders that relates to a specify customer so that I can check the order history of said customer.
Acceptance Criteria
Scenario 1
Given: that the customer has no related order
When: the user enters customer details screen
Then: previous order list will not be shown
Scenario 2
Given: that the customer have 1 or more related order
When: the user enters customer details screen
Then: a list of order summary will be shown under the customer details entering section
Scenario 3
Given: that the related order summary list exists
When: the user has clicked on one of the order summary widget
And: the order is not isClosed
Then: present order detail screen for editing
Scenario 4
Given: that the related order summary list exists
When: the user has clicked on one of the order summary widget
And: the order isClosed
Then: present order detail screen for viewing
Story
As a
user
I want tosee orders that relates to a specify customer
so thatI can check the order history of said customer
.Acceptance Criteria
Scenario 1
Given: that the customer has no related order When: the user enters
customer details
screen Then: previous order list will not be shownScenario 2
Given: that the customer have 1 or more related order When: the user enters
customer details
screen Then: a list of order summary will be shown under the customer details entering sectionScenario 3
Given: that the related order summary list exists When: the user has clicked on one of the order summary widget And: the order is not
isClosed
Then: present order detail screen for editingScenario 4
Given: that the related order summary list exists When: the user has clicked on one of the order summary widget And: the order
isClosed
Then: present order detail screen for viewing