Added conversion logic for ROs. Blanket translations for files.

This commit is contained in:
Patrick Fic
2020-01-14 11:58:37 -08:00
parent bee4f630c4
commit e4693685fe
29 changed files with 2783 additions and 185 deletions

View File

@@ -272,3 +272,15 @@ export const UPDATE_JOB = gql`
}
}
`;
export const CONVERT_JOB_TO_RO = gql`
mutation CONVERT_JOB_TO_RO($jobId: uuid!) {
update_jobs(where: { id: { _eq: $jobId } }, _set: { converted: true }) {
returning {
id
ro_number
converted
}
}
}
`;