supersam/scripts
root 94f534ded3 fix: manual campaign no longer moves first_sms_sent groups to manual before second SMS is sent
Bug: sms_manual_campaign.py condition 2 caught first_sms_sent groups after 3h
WITHOUT checking if second SMS was already sent. This caused manual campaign
(5min timer) to move groups to manual_required before second campaign (10min timer)
could send the second SMS.

Fix: added second_sms_sent_at IS NOT NULL check to condition 2.
Now manual only moves groups where second SMS was already sent AND client
still didn't agree after 3 more hours.

Also restored 17 groups that were incorrectly moved to manual_required back
to first_sms_sent so second campaign can send their second SMS.
2026-06-30 15:27:56 +00:00
..
__pycache__ feat: Python script replacing n8n first SMS campaign 2026-06-23 08:20:42 +00:00
anonymize-1c-xml.mjs refactor: align delivery flow with 1c imports 2026-04-13 16:24:04 +03:00
backup.py feat: add stopWords to delivery invitation RPC response 2026-05-28 19:24:40 +00:00
sms_first_campaign.py feat: drag-and-drop section ordering in LogisticsReadinessBoard + unified table visuals 2026-06-30 12:21:54 +00:00
sms_first_campaign.service fix: DB host 10.0.4.5 (Docker internal IP) 2026-06-23 08:21:57 +00:00
sms_first_campaign.timer feat: Python script replacing n8n first SMS campaign 2026-06-23 08:20:42 +00:00
sms_first_campaign_ref.py feat: drag-and-drop section ordering in LogisticsReadinessBoard + unified table visuals 2026-06-30 12:21:54 +00:00
sms_manual_campaign.py fix: manual campaign no longer moves first_sms_sent groups to manual before second SMS is sent 2026-06-30 15:27:56 +00:00
sms_paid_storage_campaign.py feat: drag-and-drop section ordering in LogisticsReadinessBoard + unified table visuals 2026-06-30 12:21:54 +00:00
sms_second_campaign.py feat: drag-and-drop section ordering in LogisticsReadinessBoard + unified table visuals 2026-06-30 12:21:54 +00:00