GustavoFernandes / order-splitter

https://gustavofernandes.github.io/order-splitter/
MIT License
3 stars 3 forks source link

Provide a preview mode parser for order up #51

Open dumbbillyhardy opened 7 years ago

dumbbillyhardy commented 7 years ago

Write a parser that will estimate how much someone will pay given the current orders.

Would allow less surprises in amount due when taking into account tax and tip.

format is something like this:

Order Details
Item    QTY     Price
Poutine My Belly Burger     x1  $9.00
Label for: Billy
Delete Item
Queso Burger    x1  $9.00
Label for: Dan
Delete Item
Subtotal    $18.00
Sales Tax   $1.32
Processing Fee  $0.79
Delivery Fee    $3.99
Total   $24.10