Table updates for appointments. Initial appointments screen + fetching.

This commit is contained in:
Patrick Fic
2020-02-05 11:44:07 -08:00
parent ba9e91d0c8
commit d216b9fa23
42 changed files with 2145 additions and 16 deletions

View File

@@ -0,0 +1,24 @@
import { gql } from "apollo-boost";
export const QUERY_ALL_APPOINTMENTS = gql`
query QUERY_ALL_APPOINTMENTS {
appointments {
start
id
end
job {
ro_number
ownr_ln
ownr_fn
clm_total
id
vehicle {
id
v_model_yr
v_make_desc
v_model_desc
}
}
}
}
`;

View File

@@ -47,7 +47,7 @@ export const QUERY_ALL_OPEN_JOBS = gql`
name
}
updated_at
claim_total
clm_total
ded_amt
vehicle {
id
@@ -269,7 +269,7 @@ export const QUERY_JOB_CARD_DETAILS = gql`
name
}
updated_at
claim_total
clm_total
ded_amt
documents(limit: 3, order_by: { created_at: desc }) {
id