Files
edr-platform/apps/edr-freight-web/portal
Nathnael 4afffca3d2 fix(companies): honest status errors and per-role suspension visibility
A suspended customer trying to create a contract was told their account
was "awaiting approval" - the guards collapsed every non-active status
into the pending message. Contract and booking creation now go through a
shared assertCompanyActiveFor that names the real company status, and
the per-role guard names the role's actual state (suspended,
blacklisted, rejected - with the reviewer note) so a customer suspended
for one operation knows the others still work.

Portal: the operation dropdown gets a Suspended badge, the block modal a
suspended branch quoting the staff message, and the wizard a
suspended/blacklisted gate instead of falling through to a submit error.

EDRFREIGHT-234
2026-07-21 09:09:34 +00:00
..
2026-07-04 08:22:18 +00:00
ui
2026-07-14 07:20:01 +00:00
2026-06-10 08:48:05 +00:00
2026-07-16 08:52:29 +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