|
All checks were successful
CI Trade-In / changes (pull_request) Successful in 9s
CI / changes (pull_request) Successful in 8s
CI Trade-In / backend-tests (pull_request) Has been skipped
CI Trade-In / frontend-checks (pull_request) Has been skipped
CI / frontend-tests (pull_request) Successful in 1m25s
CI / openapi-codegen-check (pull_request) Successful in 2m37s
CI / backend-tests (pull_request) Successful in 15m23s
build_full_report_docx зеркалит PDF §1-§7 + альтернативы из ТЕХ ЖЕ исходных словарей (HTML не парсит; переиспользует PURE-хелперы full_report_html — числа PDF и DOCX совпадают by construction) с картами через add_picture (плашка при отсутствии/битом PNG). python-docx — только локальные импорты: web-процесс native не тянет. build_full_report пишет .docx рядом с PDF (те же карт-PNG, общий _atomic_write tmp+replace); порядок render→write→метадата: упавший DOCX не оставляет ран-сироту. Метадата +docx_path/docx_size_bytes. GET /report/download?format=pdf|docx (Literal, default pdf; путь строго из метадаты); legacy-раны без docx → 404 «пересоберите отчёт». api-types регенерён (+12/−4, query-параметр). Refs #2259 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| dxf.py | ||
| excel.py | ||
| full_report_docx.py | ||
| full_report_html.py | ||
| full_report_pdf.py | ||
| layout_tz_pdf.py | ||
| pdf.py | ||
| report_docx.py | ||
| report_maps.py | ||
| report_md.py | ||
| report_pdf.py | ||
| report_pptx.py | ||
| snapshot_pdf.py | ||
| trade_in_pdf.py | ||