supersam/src/hooks
root 498faca24d feat: delivery/pickup switching in admin card + address field
- Added delivery address input field in manual agreement form (visible when delivery type)
- Pickup switching clears delivery_address in DB, delivery switching preserves/updates it
- useOrderGroups passes deliveryType, deliveryAddress, pickupDate, pickupTimeSlot to API
- orderGroupRepository: updateOrderGroupDeliveryChoice now handles delivery_type and address
- Pickup orders: address cleared, pickup_date/pickup_time_slot saved
- Delivery orders: address saved, pickup fields cleared
- Updated tests to match new payload structure
2026-06-12 08:23:41 +00:00
..
useAdminStats.js fix: replace createClient with shared supabase singleton in useAdminStats and errorLogger 2026-05-27 10:59:37 +00:00
useNotifications.js feat: push notifications + PWA notifications UI 2026-05-22 10:48:33 +00:00
useOrderGroups.js feat: delivery/pickup switching in admin card + address field 2026-06-12 08:23:41 +00:00
useOrders.js refactor: align delivery flow with 1c imports 2026-04-13 16:24:04 +03:00
usePickupStats.js feat: add pickup analytics — RPC, hook, PickupStatsPanel, dashboard integration 2026-06-10 12:32:51 +00:00
usePushNotifications.js fix: update VAPID public key to match server-side keys 2026-05-22 10:59:39 +00:00
usePwaStatus.js Initial import 2026-03-14 18:40:54 +03:00
usePwaStatus.test.jsx Initial import 2026-03-14 18:40:54 +03:00