BOD-16 BOD-17 Added Contract detail pages + custom form components for courtesy cars.

This commit is contained in:
Patrick Fic
2020-03-31 16:32:18 -07:00
parent 72f4d31b05
commit 1c02c063b9
21 changed files with 626 additions and 34 deletions

View File

@@ -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
}
}
}
}
`;