Added job intake and delivery bypass.
This commit is contained in:
@@ -1201,6 +1201,21 @@ export const UPDATE_JOB = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
export const JOB_PRODUCTION_TOGGLE = gql`
|
||||
mutation UPDATE_JOB($jobId: uuid!, $job: jobs_set_input!) {
|
||||
update_jobs(where: { id: { _eq: $jobId } }, _set: $job) {
|
||||
returning {
|
||||
id
|
||||
status
|
||||
inproduction
|
||||
actual_completion
|
||||
scheduled_delivery
|
||||
actual_delivery
|
||||
scheduled_completion
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const UPDATE_JOB_ASSIGNMENTS = gql`
|
||||
mutation UPDATE_JOB_ASSIGNMENTS($jobId: uuid!, $job: jobs_set_input!) {
|
||||
|
||||
Reference in New Issue
Block a user