fix(search): proper address from all fields, parcel details endpoint, remove strikethrough

- Address: use street.dictionaryItem.name (Strada/Alee/etc) + street.name,
  postalNo as house number, buildingEntryNo/FloorNo/UnitNo/SectionNo
  for apartment details, locality.name, county.name
- Area+intravilan: fetch from /api/immovable/details/parcels/list (direct
  endpoint with area, intravilan, useCategory) before trying immApps
- Owners: remove strikethrough, use smaller neutral font (text-[11px]
  text-muted-foreground/80), rename label to 'Proprietari anteriori'
This commit is contained in:
AI Assistant
2026-03-06 22:50:57 +02:00
parent 4aa8e6c324
commit 742acb2d74
2 changed files with 84 additions and 13 deletions
@@ -1137,9 +1137,9 @@ export function ParcelSyncModule() {
{p.proprietariVechi && (
<div>
<span className="text-xs text-muted-foreground block">
Proprietari vechi (radiați)
Proprietari anteriori
</span>
<span className="text-xs text-muted-foreground/70 line-through">
<span className="text-[11px] text-muted-foreground/80">
{p.proprietariVechi}
</span>
</div>