supersam/supabase
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
..
.temp fix: RLS recursion, driver UI, auth errors, status counts 2026-05-20 16:25:05 +03:00
functions feat: configurable business schedule (delivery/pickup/SMS days) 2026-07-03 12:45:02 +00:00
seed feat: simplify delivery roles and docs 2026-04-16 13:31:17 +03:00
paid-storage-status.sql feat(paid-storage): bypass stale RPC for paid_storage transitions 2026-05-20 16:25:06 +03:00
schema.sql fix: skip Sunday in delivery date selection (client flow + backend validation) 2026-06-23 04:56:49 +00:00
security-hardening.sql Add security hardening SQL patch 2026-05-13 18:59:30 +03:00
sync-manual-status.sql feat: unify manual_required status and driver label 2026-05-20 16:25:06 +03:00