diff --git a/README.MD b/README.MD index 106eccfa2..000b86b26 100644 --- a/README.MD +++ b/README.MD @@ -21,6 +21,6 @@ NGROK TEsting: Finding deadfiles - run from client directory npx deadfile ./src/index.js --exclude build templates -cd client && yarn build && cd build && scp -r \*\* imex@prod-tor1.imex.online:~/bodyshop/client/build && cd .. &&cd .. +cd client && yarn build && cd build && scp -r ** imex@prod-tor1.imex.online:~/bodyshop/client/build && cd .. &&cd .. gq https://bodyshop-dev-db.herokuapp.com/v1/graphql -H "X-Hasura-Admin-Secret: Dev-BodyShopAppBySnaptSoftware\!" --introspect > schema.graphql diff --git a/client/src/graphql/jobs.queries.js b/client/src/graphql/jobs.queries.js index 88a58c4a2..d6a57733f 100644 --- a/client/src/graphql/jobs.queries.js +++ b/client/src/graphql/jobs.queries.js @@ -251,7 +251,7 @@ export const QUERY_JOB_COSTING_DETAILS = gql` rate_matd actual_in status - joblines { + joblines(where: { removed: { _eq: false } }) { id unq_seq line_ind @@ -642,7 +642,7 @@ export const QUERY_TECH_JOB_DETAILS = gql` employee_body employee_refinish employee_prep - joblines { + joblines(where: { removed: { _eq: false } }) { id unq_seq line_ind @@ -1202,7 +1202,7 @@ export const QUERY_JOB_CLOSE_DETAILS = gql` rate_matd status date_exported - joblines { + joblines(where: { removed: { _eq: false } }) { id removed tax_part diff --git a/server/graphql-client/queries.js b/server/graphql-client/queries.js index 113615e31..abc392ec9 100644 --- a/server/graphql-client/queries.js +++ b/server/graphql-client/queries.js @@ -87,7 +87,7 @@ query QUERY_JOBS_FOR_RECEIVABLES_EXPORT($ids: [uuid!]!) { owner { accountingid } - joblines{ + joblines(where:{removed: {_eq:false}}) { id line_desc part_type