Closed WZYCX closed 1 year ago
Basket turns to an order on Firestore
Issue 1: Basket still full after order -- SOLVED: basket.currentBasket = []
Issue 2: Timestamp not transferring properly:
Issue 3: couldn't get last/ most recent order
SOLVED -- String(Int(Double(Orders.all.count)) + 1 *WORKS
Subtract order cost from balance
Also check for insufficient balance
All done! insufficient balance is here: https://github.com/WZYCX/RSStodge-STUDENT/issues/41
Turn basket into an order Update stock values Generate unique code etc. Sort out firebase stuff