fix(address+ui): parse embedded AP/SC/ET from street + show PF partner name

Address parser: extract APARTAMENT/SCARA/ETAJ embedded in street text
(previously only NR and BLOC were extracted). Two-tier matching:
separator-required for short prefixes (avoids "APATEULUI" false-positive)
and direct-digit fallback for "ap14", "sc1", "et2" patterns.

UI: show denumire_roa for PF orders too, not just PJ.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude Agent
2026-04-02 14:07:57 +00:00
parent 060b63bce9
commit e75d40fcde
3 changed files with 36 additions and 3 deletions

View File

@@ -888,8 +888,8 @@ function _renderHeaderInfo(order) {
}
}
// ROA column
if (isPJ && pi.denumire_roa) {
// ROA column — show partner name for both PJ and PF
if (pi && pi.denumire_roa) {
const partenerRoa = document.getElementById('detailPartenerRoa');
if (partenerRoa) {
partenerRoa.textContent = pi.denumire_roa;