fix(tradein/pdf): scale offer-page rent by room count (LOW audit R2 #5) #2506

Merged
bot-backend merged 1 commit from fix/tradein-pdf-offer-rent-scaling into main 2026-07-12 22:11:05 +00:00

1 commit

Author SHA1 Message Date
bot-backend
c5fe38c89a fix(tradein/pdf): scale offer-page rent by room count instead of flat 1-room figure
All checks were successful
CI Trade-In / changes (pull_request) Successful in 11s
CI / changes (pull_request) Successful in 10s
CI / backend-tests (pull_request) Has been skipped
CI / frontend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Has been skipped
CI Trade-In / frontend-checks (pull_request) Has been skipped
CI Trade-In / backend-tests (pull_request) Successful in 1m0s
'Общие финансовые потери' hardcoded a 1-room 3-month rent (84-135k) for every
object regardless of size. Thread input_snapshot into _build_offer_page and scale
rent by rooms (EKB heuristic); relabel the rent row with the object's actual room
count. Legal/advertising stay flat (per-transaction). LOW audit R2 (#5).
2026-07-13 01:02:11 +03:00