Added app reducer, fixed package issues, begun camera screen updates
This commit is contained in:
@@ -42,15 +42,15 @@ const wsLink = new WebSocketLink({
|
||||
|
||||
const errorLink = onError(
|
||||
({ graphQLErrors, networkError, operation, forward }) => {
|
||||
console.log(graphQLErrors);
|
||||
console.error(graphQLErrors);
|
||||
if (graphQLErrors)
|
||||
graphQLErrors.forEach(({ message, locations, path }) =>
|
||||
console.log(
|
||||
console.error(
|
||||
`[GraphQL error]: Message: ${message}, Location: ${locations}, Path: ${path}`
|
||||
)
|
||||
);
|
||||
if (networkError)
|
||||
console.log(`[Network error]: ${JSON.stringify(networkError)}`);
|
||||
console.error(`[Network error]: ${JSON.stringify(networkError)}`);
|
||||
console.log(operation.getContext());
|
||||
}
|
||||
);
|
||||
|
||||
@@ -126,7 +126,7 @@ export const QUERY_JOB_COSTING_DETAILS = gql`
|
||||
ded_amt
|
||||
ded_status
|
||||
depreciation_taxes
|
||||
federal_tax_payable
|
||||
|
||||
other_amount_payable
|
||||
towing_payable
|
||||
storage_payable
|
||||
@@ -143,7 +143,7 @@ export const QUERY_JOB_COSTING_DETAILS = gql`
|
||||
parts_tax_rates
|
||||
job_totals
|
||||
labor_rate_desc
|
||||
rate_atp
|
||||
|
||||
rate_la1
|
||||
rate_la2
|
||||
rate_la3
|
||||
@@ -289,7 +289,7 @@ export const GET_JOB_BY_PK = gql`
|
||||
ded_amt
|
||||
ded_status
|
||||
depreciation_taxes
|
||||
federal_tax_payable
|
||||
|
||||
other_amount_payable
|
||||
towing_payable
|
||||
storage_payable
|
||||
@@ -329,7 +329,7 @@ export const GET_JOB_BY_PK = gql`
|
||||
ownr_ph1
|
||||
}
|
||||
labor_rate_desc
|
||||
rate_atp
|
||||
|
||||
rate_la1
|
||||
rate_la2
|
||||
rate_la3
|
||||
@@ -716,7 +716,7 @@ export const QUERY_ALL_JOB_FIELDS = gql`
|
||||
est_ph1
|
||||
est_st
|
||||
est_zip
|
||||
federal_tax_payable
|
||||
|
||||
federal_tax_rate
|
||||
g_bett_amt
|
||||
ins_addr1
|
||||
@@ -791,7 +791,7 @@ export const QUERY_ALL_JOB_FIELDS = gql`
|
||||
plate_st
|
||||
po_number
|
||||
policy_no
|
||||
rate_atp
|
||||
|
||||
rate_la1
|
||||
rate_la2
|
||||
rate_la3
|
||||
@@ -981,7 +981,7 @@ export const QUERY_JOB_CLOSE_DETAILS = gql`
|
||||
ded_amt
|
||||
ded_status
|
||||
depreciation_taxes
|
||||
federal_tax_payable
|
||||
|
||||
other_amount_payable
|
||||
towing_payable
|
||||
storage_payable
|
||||
@@ -1007,7 +1007,7 @@ export const QUERY_JOB_CLOSE_DETAILS = gql`
|
||||
ownr_zip
|
||||
ownr_ctry
|
||||
ownr_ph1
|
||||
rate_atp
|
||||
|
||||
rate_la1
|
||||
rate_la2
|
||||
rate_la3
|
||||
@@ -1065,10 +1065,6 @@ export const generate_UPDATE_JOB_KANBAN = (
|
||||
newChildId,
|
||||
newChildParent
|
||||
) => {
|
||||
// console.log("oldChildId", oldChildId, "oldChildNewParent", oldChildNewParent);
|
||||
// console.log("Moved", movedId, movedNewParent, movedNewStatus);
|
||||
// console.log("new", newChildId, newChildParent);
|
||||
|
||||
const oldChildQuery = `
|
||||
updateOldChild: update_jobs(where: { id: { _eq: "${oldChildId}" } },
|
||||
_set: {kanbanparent: ${
|
||||
|
||||
Reference in New Issue
Block a user