fix(partner-ui): orange dot + fallback name for unknown ROA partner

- diff dot for partner_mismatch uses --warning (orange) instead of --error
  to distinguish from price mismatch (also red)
- modal ROA column shows "necunoscut - se va actualiza la urmatorul sync"
  when denumire_roa is null but partner_mismatch=1 (orders imported before
  the column existed)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Claude Agent
2026-04-08 16:32:46 +00:00
parent d3d72032ef
commit 07df807719
4 changed files with 9 additions and 6 deletions

View File

@@ -512,7 +512,7 @@ function diffDots(o, mobile) {
if (o.address_mismatch===1)
d += `<span style="${s};background:var(--info)" title="Adresa diferita"></span>`;
if (o.partner_mismatch===1)
d += `<span style="${s};background:var(--error)" title="Partener schimbat"></span>`;
d += `<span style="${s};background:var(--warning)" title="Partener schimbat"></span>`;
if (o.price_match===false)
d += `<span style="${s};background:var(--error)" title="Pret GoMag > ROA"></span>`;
return d;