day-cohort-70 / shepherds-pie-stormy-monday

shepherds-pie-stormy-monday created by GitHub Classroom
0 stars 0 forks source link

Create Order.jsx for order view with add pizza button #7

Open lsand18 opened 5 months ago

lsand18 commented 5 months ago

Create order.jsx under Orders

  1. this page should navigate to "/Order.id"
  2. This page will have the order id at the top
  3. This page will display a list of pizzas with pizza id, crust, size, cheese, and topping listed
  4. The total for each pizza should display in the list item
  5. The tip for the order should display at the bottom
  6. the total price for the order should display at the bottom of the page - dont forget delivery charge
  7. render a "addpizza" button to the top of the page. this will navigate to the addPizza form
  8. use OrderService.jsx for fetch calls
lsand18 commented 5 months ago

Created module for orderView Created module for pizzaToppings Added if statement to display “none” if no toppings are selected

lsand18 commented 5 months ago

added total price with delivery fee and tip