map all FMCSA status codes to services: OOS→ETA ($499), Inactive→reactivation, Revoked/Suspended→reinstatement

- OOS (Out of Service): RED, urgent messaging, maps to Emergency Temporary Authority $499
- Inactive: YELLOW, reactivation $149
- Not Authorized: YELLOW, new USDOT + MC authority
- Revoked: RED, new authority application
- Suspended: YELLOW, compliance resolution + reinstatement
- Cancelled: YELLOW, new registration
- Each status has specific actionable messaging with PW CTA
This commit is contained in:
justin 2026-05-30 20:48:47 -05:00
parent b106a88e90
commit 58aa2cf78e
3 changed files with 35 additions and 14 deletions

View file

@ -334,7 +334,11 @@ Send reset link
else if (data.phy_state === "NM") recommendedServices.push("nm-weight-distance");
else if (data.phy_state === "CT") recommendedServices.push("ct-highway-use-fee");
}
if (c.id === "operating_status") recommendedServices.push("usdot-reactivation");
if (c.id === "operating_status" && c.detail && c.detail.indexOf("Out of Service") >= 0) {
recommendedServices.push("emergency-temporary-authority");
} else if (c.id === "operating_status") {
recommendedServices.push("usdot-reactivation");
}
if (c.id === "state_carrier_permit" && data.phy_state === "CA") recommendedServices.push("ca-mcp-carb");
if (c.id === "intrastate_authority") recommendedServices.push("intrastate-authority");
if (c.id === "corporate_compliance") recommendedServices.push("annual-report-filing");