BOD-17 Added header blocks to contract detail.
This commit is contained in:
@@ -15,10 +15,7 @@ export const UPDATE_CONTRACT = gql`
|
||||
$contractId: uuid!
|
||||
$cccontract: cccontracts_set_input!
|
||||
) {
|
||||
update_cccontracts(
|
||||
where: { id: { _eq: $contractId } }
|
||||
_set: $cccontract
|
||||
) {
|
||||
update_cccontracts(where: { id: { _eq: $contractId } }, _set: $cccontract) {
|
||||
returning {
|
||||
id
|
||||
}
|
||||
@@ -49,12 +46,31 @@ export const QUERY_CONTRACT_BY_PK = gql`
|
||||
driver_zip
|
||||
id
|
||||
jobid
|
||||
job {
|
||||
id
|
||||
est_number
|
||||
ro_number
|
||||
v_make_desc
|
||||
v_model_desc
|
||||
ownr_fn
|
||||
ownr_ln
|
||||
ownr_co_nm
|
||||
scheduled_completion
|
||||
}
|
||||
kmend
|
||||
kmstart
|
||||
scheduledreturn
|
||||
start
|
||||
status
|
||||
updated_at
|
||||
courtesycar {
|
||||
id
|
||||
fleetnumber
|
||||
make
|
||||
model
|
||||
year
|
||||
plate
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user