supersam/src/components/client
root d397d0cb24 feat: configurable business schedule (delivery/pickup/SMS days)
- New table business_schedule_settings (delivery_days, pickup_days, sms_days)
- RPC get_business_schedule() (public) + update_business_schedule() (admin)
- Admin UI: BusinessSchedulePanel with day pills for each category
- ClientDeliveryPage: fetches schedule, replaces hardcoded Sunday/weekend checks
- PickupSlotsPicker: uses pickupDays prop instead of hardcoded isWeekend
- Edge function confirm-delivery-choice: reads delivery_days from DB
- delivery-invitations.ts: buildDefaultDatedAvailableSlots reads delivery_days
- RPC confirm_delivery_choice_by_token: checks delivery_days instead of extract(dow)=0
- SMS scripts: get_sms_days() reads sms_days from business_schedule_settings
  and overrides per-campaign work_days setting
- Nav item Расписание for mega_admin and admin roles
- Default: Mon-Fri (1,2,3,4,5) for all three categories
2026-07-03 12:45:02 +00:00
..
DeliveryChoiceFlow.jsx fix: Button→native button everywhere, table font 12px, dropdowns cleanup 2026-06-19 11:36:45 +00:00
DeliveryChoiceFlow.test.jsx feat: show order composition collapsed with product list from source_orders 2026-05-21 14:18:10 +03:00
DeliverySlotsPicker.jsx feat: add skeleton loading states across all pages 2026-06-12 07:46:58 +00:00
DeliverySlotsPicker.test.jsx fix(delivery): simplify public choice flow 2026-05-14 21:10:27 +03:00
DeliveryStateNotice.jsx fix: show saved client delivery choice 2026-04-16 17:41:46 +03:00
OrderCompositionPanel.jsx refactor: unify all buttons to <Button> component across app 2026-06-16 20:11:57 +00:00
PickupSlotsPicker.jsx feat: configurable business schedule (delivery/pickup/SMS days) 2026-07-03 12:45:02 +00:00
deliveryDateFormatting.js fix: make client delivery selection explicit 2026-04-16 17:23:43 +03:00
invitationReference.js fix(delivery): show invoice refs in client flow 2026-05-14 12:51:25 +03:00