Add audit trail and resolve status update.

This commit is contained in:
Patrick Fic
2023-08-01 15:29:19 -07:00
parent ff153cdd81
commit 1d7f1cccba
17 changed files with 471 additions and 36 deletions

View File

@@ -2208,3 +2208,28 @@ export const QUERY_COMPLETED_TASKS = gql`
}
}
`;
export const QUERY_JOBS_TECH_ASIGNED_TO_BY_TEAM = gql`
query QUERY_JOBS_TECH_ASIGNED_TO_BY_TEAM($teamIds: [uuid!]!) {
jobs(
where: {
inproduction: { _eq: true }
joblines: { assigned_team: { _in: $teamIds } }
}
) {
id
v_make_desc
v_model_desc
v_color
v_vin
plate_no
plate_st
clm_no
ownr_fn
ownr_ln
ownr_co_nm
status
ro_number
}
}
`;