feat(ptica): add ВРИ row to Градостроительство (real ЕГРН permitted_use)
Prototype's first ГРАДОСТРОИТЕЛЬСТВО row is ВРИ — prod lacked it. Add it from the real egrn.permitted_use_text (e.g. «многоквартирные дома»); honest «нет данных ЕГРН» fallback. Value wraps cleanly in the narrow card (verified, no overflow).
This commit is contained in:
parent
701e8e9fe7
commit
28b853bcdf
1 changed files with 8 additions and 0 deletions
|
|
@ -384,6 +384,14 @@ export function adaptUrbanCard(a: ParcelAnalysis): PticaScanCard {
|
||||||
return {
|
return {
|
||||||
title: "Градостроительство",
|
title: "Градостроительство",
|
||||||
rows: [
|
rows: [
|
||||||
|
{
|
||||||
|
// ВРИ (вид разрешённого использования) — real from ЕГРН, matches the
|
||||||
|
// prototype's first ГРАДОСТРОИТЕЛЬСТВО row.
|
||||||
|
key: "ВРИ",
|
||||||
|
field: a.egrn?.permitted_use_text
|
||||||
|
? { value: a.egrn.permitted_use_text, isReal: true, caption: "ЕГРН" }
|
||||||
|
: placeholder("нет данных ЕГРН"),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: "Зона",
|
key: "Зона",
|
||||||
field: zone
|
field: zone
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue