- Added detailed statistics from hotel registry
- Shows total hotels, active hotels, hotels with websites, accessible sites
- Dynamic section positioning (no more hardcoded row numbers)
- Fixed region name usage throughout (no more 'СПб' in Orel reports)
- Shows different stats for ONLY_ACTIVE mode
Stats now include:
- Registry data: Total/Active hotels, Hotels with websites, Accessible sites
- Audit data: Audits conducted, With/Without sites, RKN registry, Avg score, Compliant hotels (≥50%)
Tested on Orel region:
- 64 total active hotels in registry
- 35 with websites
- 29 audited
- Avg score: 44.1%
- Added ONLY_ACTIVE parameter to filter by hotel status
- Now supports generating reports for 'Действует' (Active) hotels only
- Default: ONLY_ACTIVE = True (Orel region configured)
- Can be easily toggled for all statuses
Changes:
- create_horizontal_report.py: Added status_name filter in SQL query
- Tested on Orel region: 29 active hotels (out of 30 total)
- Average score: 44.1%, RKN registry: 26 hotels