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

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

Order merge fixes and price calculation implementation #53

Closed jeff-ewers closed 5 months ago

jeff-ewers commented 5 months ago

What?

Fixes ordering from NewOrder component No longer appends totalPrice as column on orders Calculates default tip as 20% of order total Displays total price for order in progress

Why?

Fixes merge issues #50 Also resolves #51 , #52

How?

Fixed imports and logic for price calculation, removed object property for total order price in the database

Testing?

Tested with several orders

Screenshots (optional)

Anything Else?