BOD-16 BOD-17 Added Contract detail pages + custom form components for courtesy cars.
This commit is contained in:
@@ -14,7 +14,7 @@ export const INSERT_NEW_COURTESY_CAR = gql`
|
||||
|
||||
export const QUERY_AVAILABLE_CC = gql`
|
||||
query QUERY_AVAILABLE_CC {
|
||||
courtesycars(where: {serviceenddate: {_is_null: true}}) {
|
||||
courtesycars(where: { serviceenddate: { _is_null: true } }) {
|
||||
color
|
||||
dailycost
|
||||
damage
|
||||
@@ -85,6 +85,20 @@ export const QUERY_CC_BY_PK = gql`
|
||||
status
|
||||
vin
|
||||
year
|
||||
cccontracts {
|
||||
status
|
||||
start
|
||||
scheduledreturn
|
||||
kmstart
|
||||
kmend
|
||||
driver_ln
|
||||
driver_fn
|
||||
job {
|
||||
ro_number
|
||||
est_number
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user