harley1011 / RestoTouch

A web application for providing virtual menus to restaurants
3 stars 1 forks source link

Complete or Cancel Order #31

Closed harley1011 closed 7 years ago

harley1011 commented 8 years ago

Story: As a server or cook, I want to be able to complete or cancel the orders so that it is removed from the cook's order list Story Points: 3 Priority: High Risk: Low

Tex08 commented 7 years ago

Tasks (12h)

1) Pre-Implementation (1h)

2) Implementation (8h)

back-end

front-end

Tests (2h)

3) Documentation (1h)

harley1011 commented 7 years ago

Customer sign off 3/31/2017

Tex08 commented 7 years ago

Demo steps

Complete an order in 'cashier kitchen pre' restaurant mode:

  1. Create a restaurant with mode "Cashier Kitchen Mode (Pre)" selected
  2. Place an order at this restaurant from the mobile application
  3. Log into employee mode, select the restaurant and choose 'cashier mode'
  4. The order will appear on this page, click the 'paid' button' (hypothetically once payment is received)
  5. The order will now appear on the 'kitchen mode' page.
  6. Click on 'complete order'. This will log the order in the database with a 'paidComplete' status and remove it from the cache, meaning it no longer appears on the cashier or kitchen pages.

Complete an order before it is paid in 'cashier kitchen post' restaurant mode

  1. Create a restaurant with mode "Cashier Kitchen Mode (Post)" selected
  2. Place an order at this restaurant from the mobile application
  3. Log into employee mode, select the restaurant and choose 'cashier mode' or 'kitchen mode'.
  4. The order will appear on both pages. Click the 'complete order' button on the kitchen page.
  5. The order is still visible on the cashier page, but is logged in the database with status 'notPaidComplete'.
  6. Once the order is also paid by clicking on the 'paid' button, it no longer appears on the cashier/kitchen pages and is updated to status 'paidComplete' in the database.

Cancel an order

  1. Place an order at a restaurant from the mobile application
  2. Log into employee mode, select the restaurant and choose 'cashier mode' or 'kitchen mode'.
  3. From either page, a user can cancel an order by clicking the 'cancel' button. This removes the order from the cache and the database.