BOD-16 BOD-17 Changes to existing pages to accomodate new cc schema

This commit is contained in:
Patrick Fic
2020-03-31 18:28:08 -07:00
parent 6e6dd9d5ae
commit 28f443277b
17 changed files with 1687 additions and 6 deletions

View File

@@ -86,6 +86,7 @@ export const QUERY_CC_BY_PK = gql`
vin
year
cccontracts {
id
status
start
scheduledreturn
@@ -96,6 +97,9 @@ export const QUERY_CC_BY_PK = gql`
job {
ro_number
est_number
ownr_ln
ownr_fn
ownr_co_nm
id
}
}

View File

@@ -87,7 +87,6 @@ export const GET_JOB_BY_PK = gql`
query GET_JOB_BY_PK($id: uuid!) {
jobs_by_pk(id: $id) {
updated_at
service_car
csr
loss_desc
kmin
@@ -227,6 +226,12 @@ export const GET_JOB_BY_PK = gql`
lbr_amt
op_code_desc
}
cccontracts {
id
status
start
scheduledreturn
}
appointments_aggregate {
aggregate {
count
@@ -294,6 +299,12 @@ export const QUERY_JOB_CARD_DETAILS = gql`
updated_at
clm_total
ded_amt
cccontracts {
id
status
start
scheduledreturn
}
documents(limit: 3, order_by: { created_at: desc }) {
id
thumb_url