![]() We can start on this feature from either end, working from the domain model first or from the UI first. Delivered orders should display the (calculated) date when they were delivered. The details page should display the status as well as a (simply calculated from order date) estimate of when the order will be delivered. The My Orders action should simply list the correct status. The current version of the application lists "Pending" for every order - it's hard coded in the OrderController class for both the My Orders list action and the order details action. Order Status should have the following options: ![]() Orders should display their status on the My Orders page and the Order Details Page. Let's add a new feature to the site that will allow authenticated users to view the current status of their orders.
0 Comments
Leave a Reply. |