ferrero-opentext/Python-Version/scripts/shared
DJP 4190cd48fa Add B2→B1 reset buttons to debug Global campaigns view and fix log message
Fixes:

1. Added B1/B2 Status Buttons to Debug Global Campaigns
   - Shows  Update B1 → B2 button for B1 campaigns
   - Shows 🔄 Reset B2 → B1 button for B2 campaigns
   - Same as debug view for Local campaigns
   - Allows testing status changes

2. Fixed Python Log Message
   - Changed 'Status updated: A1 → A2' to 'B1 → B2'
   - Now correctly reports B1→B2 status update

PHP Test:
1. B1→B2 tab
2. Debug: Load ALL Global Campaigns
3. Find NUTELLA (B1)
4. Click  Update B1 → B2
5. Or click 🔄 Reset B2 → B1 if already B2

Python Test:
Script now logs: 'Status updated: B1 → B2' 

🤖 Generated with Claude Code
2025-11-03 13:56:41 -05:00
..
__pycache__ Add B2→B1 reset buttons to debug Global campaigns view and fix log message 2025-11-03 13:56:41 -05:00
__init__.py Start Python automation - Foundation components 2025-10-30 16:38:26 -04:00
box_client.py Add A2→A3 polling version and fix database to use existing columns 2025-10-30 19:21:13 -04:00
config_loader.py Start Python automation - Foundation components 2025-10-30 16:38:26 -04:00
dam_client.py Fix B1→B2 workflow - Correct function name and search for Global comm campaigns 2025-11-03 13:47:20 -05:00
database.py Add A2→A3 polling version and fix database to use existing columns 2025-10-30 19:21:13 -04:00
filename_parser.py Complete Python automation implementation - All components built 2025-10-30 16:49:14 -04:00
metadata_extractor_mvp.py Complete Python automation implementation - All components built 2025-10-30 16:49:14 -04:00
notifier.py Enhanced A2→A3 email with complete processing details 2025-10-31 08:31:26 -04:00