IO-244 IOU Parts
This commit is contained in:
@@ -179,6 +179,10 @@ export const GET_JOB_LINES_TO_ENTER_BILL = gql`
|
||||
jobs_by_pk(id: $id) {
|
||||
id
|
||||
status
|
||||
ious {
|
||||
id
|
||||
ro_number
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -226,3 +230,14 @@ export const DELETE_JOB_LINE_BY_PK = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const UPDATE_JOB_LINES_IOU = gql`
|
||||
mutation UPDATE_JOB_LINES_IOU($ids: [uuid!]!) {
|
||||
update_joblines(where: { id: { _in: $ids } }, _set: { ioucreated: true }) {
|
||||
returning {
|
||||
ioucreated
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user