IO-808 Add claim and balance to payment modal

This commit is contained in:
Patrick Fic
2021-03-24 17:03:49 -07:00
parent a15ea4c38b
commit 4db5df2bf7
5 changed files with 83 additions and 11 deletions

View File

@@ -949,7 +949,7 @@ export const SEARCH_JOBS_FOR_AUTOCOMPLETE = gql`
ownr_fn
ownr_ln
ro_number
clm_no
vehicleid
v_make_desc
v_model_desc
@@ -964,7 +964,7 @@ export const SEARCH_JOBS_BY_ID_FOR_AUTOCOMPLETE = gql`
ownr_fn
ownr_ln
ro_number
clm_no
vehicleid
v_make_desc
v_model_desc

View File

@@ -95,3 +95,17 @@ export const UPDATE_PAYMENTS = gql`
}
}
`;
export const QUERY_JOB_PAYMENT_TOTALS = gql`
query QUERY_JOB_PAYMENT_TOTALS($id: uuid!) {
jobs_by_pk(id: $id) {
id
job_totals
payments {
id
amount
date
}
}
}
`;