Table updates for appointments. Initial appointments screen + fetching.
This commit is contained in:
24
client/src/graphql/appointments.queries.js
Normal file
24
client/src/graphql/appointments.queries.js
Normal file
@@ -0,0 +1,24 @@
|
||||
import { gql } from "apollo-boost";
|
||||
|
||||
export const QUERY_ALL_APPOINTMENTS = gql`
|
||||
query QUERY_ALL_APPOINTMENTS {
|
||||
appointments {
|
||||
start
|
||||
id
|
||||
end
|
||||
job {
|
||||
ro_number
|
||||
ownr_ln
|
||||
ownr_fn
|
||||
clm_total
|
||||
id
|
||||
vehicle {
|
||||
id
|
||||
v_model_yr
|
||||
v_make_desc
|
||||
v_model_desc
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user