Files
edr-platform/apps/edr-freight-web/portal
Nathnael 0608f8a7ea fix(portal): bring the settings tabs in line with the wizard's rules
The Company, Owner, Contact and Power of Attorney tabs had drifted from the
onboarding wizard while the manual-registration routes were added, and each
divergence locked somebody out of their own account:

- VAT was validated as 10-or-11 digits here and by onboarding's rule there. A
  foreign company's VAT is its own tax authority's and a co-operative's follows
  neither, so the stricter copy failed every save on the tab, not just the VAT
  field. The schema now reuses onboarding's, with a test pinning both rules.
- Fayda's phone claims are normalized on read, as the wizard does — the
  registry holds local numbers that neither the form nor the API's
  @IsValidPhone() accepts.
- The eTrade manager is shown read-only, because that record is exactly what
  the backoffice checks the company against; leaving it editable let a customer
  overwrite the value under review.
- A co-operative's per-role licence cards are hidden on the Documents tab. The
  API lifts the requirement, so the slots could never be filled or cleared.
2026-08-18 11:37:58 +00:00
..
2026-08-08 14:00:45 +00:00
2026-08-10 12:00:29 +03:00
2026-06-10 08:48:05 +00:00
2026-08-08 09:37:28 +00:00
2026-05-15 22:17:31 +03:00
2026-05-12 15:17:16 +03:00
2026-05-12 15:17:16 +03:00