Extends Phase 2 shop scoping (currently only /cafe/pos) to
/cafe/dashboard, /cafe/orders, /cafe/reports.
Each page now resolves the active shop via getCurrentShopContext,
renders the existing <ShopSelector>, and filters Odoo order queries
by the selected shop's mapped POS configs.
getPosConfigFilterForSelection) returns correct shape for the empty-mapping case — prevents a landing-page blanking bug on the prod demo tenant where cafe.shop_pos_configs is still empty.["|", [IN include], [NOT IN allMapped]] — OR-combined so unmapped configs survive as a fallback on "All shops".shop_pos_configs, the filter produces NOT IN [] on the unmapped branch, matching all orders — zero regression vs pre-M1.Loading…
Loading…