e2e changes
This commit is contained in:
@@ -92,8 +92,11 @@ export function ConsolePage() {
|
||||
onlineOrders: order.orders,
|
||||
cancelled: order.cancelled,
|
||||
delivered: order.delivered,
|
||||
counterRevenue: pos?.grosssales ?? 0,
|
||||
counterBills: pos?.billcount ?? 0,
|
||||
// Both routes to a counter sale — a till that synced, and a till
|
||||
// that was offline whose day was imported as OFFLINE-tagged orders.
|
||||
// See the note in the Store Admin console, which had the same gap.
|
||||
counterRevenue: (pos?.grosssales ?? 0) + order.counterRevenue,
|
||||
counterBills: (pos?.billcount ?? 0) + order.counterOrders,
|
||||
health: summariseBranch(posHealth[index]?.data ?? [], now),
|
||||
pendingRequests: (requests.data ?? []).filter(
|
||||
(entry) => entry.locationid === branch.locationid,
|
||||
|
||||
Reference in New Issue
Block a user