Updated field names.

This commit is contained in:
Patrick Fic
2020-01-21 08:54:37 -08:00
parent 78772b847d
commit 57886dc276
9 changed files with 56 additions and 22 deletions

View File

@@ -30,10 +30,10 @@ export const GET_ALL_OPEN_JOBS = gql`
export const SUBSCRIPTION_ALL_OPEN_JOBS = gql`
subscription SUBSCRIPTION_ALL_OPEN_JOBS {
jobs {
pit_owner_first_name
pit_owner_last_name
pit_owner_phone
pit_owner_email
ownr_fn
ownr_ln
ownr_ph1
ownr_ea
owner {
id
allow_text_message
@@ -47,7 +47,6 @@ export const SUBSCRIPTION_ALL_OPEN_JOBS = gql`
v_color
plate_no
}
pit_vehicle_plate_no
actual_completion
actual_delivery
actual_in
@@ -196,10 +195,10 @@ export const GET_JOB_BY_PK = gql`
export const QUERY_JOB_CARD_DETAILS = gql`
query QUERY_JOB_CARD_DETAILS($id: uuid!) {
jobs_by_pk(id: $id) {
pit_owner_first_name
pit_owner_last_name
pit_owner_phone
pit_owner_email
ownr_fn
ownr_ln
ownr_ph1
ownr_ea
owner {
id
allow_text_message
@@ -213,7 +212,6 @@ export const QUERY_JOB_CARD_DETAILS = gql`
v_color
plate_no
}
pit_vehicle_plate_no
actual_completion
actual_delivery
actual_in