Merged in feature/IO-2518-Warning-on-VIN-Length (pull request #1129)

IO-2518 Dealership Vin Warning

Approved-by: Dave Richer
This commit is contained in:
Allan Carr
2024-01-02 15:01:51 +00:00
committed by Dave Richer

View File

@@ -221,6 +221,11 @@ export function JobsDetailHeader({ job, bodyshop, disabled }) {
<VehicleVinDisplay>
{`${job.v_vin || t("general.labels.na")}`}
</VehicleVinDisplay>
{bodyshop.pbs_serialnumber || bodyshop.cdk_dealerid ? (
job.v_vin.length !== 17 ? (
<WarningFilled style={{ color: "tomato", marginLeft: ".3rem" }} />
) : null
) : null}
</DataLabel>
<DataLabel label={t("jobs.fields.regie_number")}>
{job.regie_number || t("general.labels.na")}