Reports Admin (test)

This is a temporary admin page to generate reports by Contact ID for the selected month.
Bitrix24 often opens the app iframe via POST /; root path serves this page too.

Generate monthly report

Empty = generate for all Tower contacts (can be slow).
Report range will be the full selected month (CST).
Month range: 2026-01-01 → 2026-01-31

Preview

/preview/report (HTML)
/preview/report.pdf (PDF)
/preview/variants (all XLS scenarios)

API

Base URL: http://localhost:3006
Job status endpoint: /api/reports/status/:jobId