Framework for entering time tickets BOD-183 BOD-185
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user