feature/IO-3357-Reynolds-and-Reynolds-DMS-API-Integration - Cache advisors for a week / allow them to refresh said cache

This commit is contained in:
Dave
2025-11-07 11:13:23 -05:00
parent a788beaa19
commit b0b73f1af8

View File

@@ -74,7 +74,7 @@ function buildRRRepairOrderPayload({ job, selectedCustomer, advisorNo }) {
// Use ro_number when present; fallback to job.id
const ro = job?.ro_number != null ? job.ro_number : job?.id != null ? job.id : null;
if (ro == null) throw new Error("Missing repair order identifier (ro_number/id)");
const mileageIn = job.kmin;
const roStr = String(ro);