nperez0111 / Pizza

Pizza Web App Point of Sale and API
1 stars 0 forks source link

Make Order Functionality to API #48

Closed nperez0111 closed 8 years ago

nperez0111 commented 8 years ago

Rather than:

ID OrderSymbols DateOrdered Price
Int String TimeStamp Decimal

It should be

ID OrderSymbols DateOrdered TransactionId
Int String TimeStamp Int of Transaction

With

TransactionId Amount Type
Int Decimal Small int, Cash/Cred other numbers
nperez0111 commented 8 years ago

Also need to fix the place Order function to not depend upon the price injected by the get price function. It's too easy to manipulate the function. Need some sort of separate API for placing orders depending on how it works with transactions.

nperez0111 commented 8 years ago

Maybe Have a separate page that handles the submission of an order which then passes that same order to the exe to have it printed to a receipt and kitchen slip.

nperez0111 commented 8 years ago

Add a makeOrder functionality to the table. Before that make sure to get the tables right first.

nperez0111 commented 8 years ago

Fixed in 200c24a2209253dcade5c008cdfaf29acd9d43e2