Framework for entering time tickets BOD-183 BOD-185

This commit is contained in:
Patrick Fic
2020-07-02 15:01:44 -07:00
parent 044fb4b9e0
commit c89e0565a0
11 changed files with 224 additions and 18 deletions

View File

@@ -46,3 +46,18 @@ export const UPDATE_TIME_TICKET = gql`
}
}
`;
export const QUERY_ACTIVE_TIME_TICKETS = gql`
query QUERY_ACTIVE_TIME_TICKETS($employeeId: uuid) {
timetickets(
where: {
_and: { clockoff: { _is_null: true }, employeeid: { _eq: $employeeId } }
}
) {
id
job {
ro_number
}
}
}
`;