Improve cancelled order display and add notes to order detail
- Add "Catatan" field display in consulting order detail page - Add dedicated "Cancelled Order" section with rebooking option - Update status alert to show proper message for cancelled orders - Refactor edge function to focus on calendar cleanup only - Set payment_status to 'failed' when auto-cancelling expired orders 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
13
supabase/migrations/20241228_remove_pg_cron_job.sql
Normal file
13
supabase/migrations/20241228_remove_pg_cron_job.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
-- ============================================
|
||||
-- Remove pg_cron job (migrating to Coolify-only approach)
|
||||
-- ============================================
|
||||
-- We're moving all cron jobs to Coolify for single source of truth
|
||||
|
||||
-- Remove the pg_cron job
|
||||
SELECT cron.unschedule('cancel-expired-consulting-orders');
|
||||
|
||||
-- Verify it's removed
|
||||
SELECT jobname, schedule, command
|
||||
FROM cron.job
|
||||
WHERE jobname LIKE 'cancel-expired%';
|
||||
-- Should return 0 rows
|
||||
Reference in New Issue
Block a user