Retail
Items, sales, returns, stock, drawer close, and counter card payments.
/dashboard/platform/retail (retailWorkspace).
Items and stock
saveRetailItem per location; stock entries are RetailStockEntry rows.
Quote and sell
quoteRetailSale, then sellRetail. Card sales record a CounterPaymentAttempt first. "Combine duplicate item lines".
Return
returnRetail.
Close the drawer
closeRetail with a variance reason. "Cash close overlaps a previously reconciled period".
Settle uncertain card payments
reconcileCounterPayment.