lekss361
|
7ea4f262cd
|
feat(trade-in): TI-2 PDF export + frontend enable button
- Add backend/app/services/exporters/trade_in_pdf.py: 4-page WeasyPrint PDF
(Cover / Listings / Deals / Trade-in cost stub) following layout_tz_pdf.py pattern
- Extend trade_in.py: GET /api/v1/trade-in/estimate/{id}/pdf endpoint
(404 not found, 410 expired TTL, application/pdf attachment)
- Enable EstimateResult.tsx PDF button: replace disabled button with active
anchor tag using NEXT_PUBLIC_API_URL + estimate_id
Closes #314 (TI-2 + TI-4 sub-tasks)
|
2026-05-17 20:07:08 +03:00 |
|