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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user