feature/IO-3357-Reynolds-and-Reynolds-DMS-API-Integration - Checkpoint

This commit is contained in:
Dave
2025-11-05 11:14:54 -05:00
parent bedca60744
commit f2faa5b686
10 changed files with 381 additions and 466 deletions

View File

@@ -119,7 +119,7 @@ export function DmsPostForm({ bodyshop, socket, job, logsRef }) {
if (dms === "rr") {
// values will now include advisorNo from the RR dropdown
wsssocket.emit("rr-export-job", {
bodyshopId: bodyshop?.id || bodyshop?.bodyshopid || bodyshop?.uuid,
bodyshopId: bodyshop?.id,
jobId: job.id,
job,
txEnvelope: values

View File

@@ -713,7 +713,7 @@ export const GET_JOB_BY_PK = gql`
v_model_yr
v_model_desc
v_vin
notes(where:{pinned: {_eq: true}}, order_by: {updated_at: desc}) {
notes(where: { pinned: { _eq: true } }, order_by: { updated_at: desc }) {
created_at
created_by
critical
@@ -999,7 +999,6 @@ export const QUERY_JOB_CARD_DETAILS = gql`
key
type
}
}
}
`;
@@ -2171,6 +2170,8 @@ export const QUERY_JOB_EXPORT_DMS = gql`
ownr_fn
ownr_ln
ownr_co_nm
ownr_ph1
ownr_ph2
ins_co_nm
kmin
kmout
@@ -2179,6 +2180,10 @@ export const QUERY_JOB_EXPORT_DMS = gql`
v_model_desc
area_of_damage
date_exported
v_vin
plate_no
plate_st
ownr_co_nm
}
}
`;
@@ -2413,7 +2418,7 @@ export const QUERY_PARTS_QUEUE_CARD_DETAILS = gql`
start
status
}
notes(where:{pinned: {_eq: true}}, order_by: {updated_at: desc}) {
notes(where: { pinned: { _eq: true } }, order_by: { updated_at: desc }) {
created_at
created_by
critical