Remove removed job lines from queries BOD-384

This commit is contained in:
Patrick Fic
2020-09-24 13:38:26 -07:00
parent 3f446b7525
commit 4253fe39d6
3 changed files with 5 additions and 5 deletions

View File

@@ -21,6 +21,6 @@ NGROK TEsting:
Finding deadfiles - run from client directory Finding deadfiles - run from client directory
npx deadfile ./src/index.js --exclude build templates 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 gq https://bodyshop-dev-db.herokuapp.com/v1/graphql -H "X-Hasura-Admin-Secret: Dev-BodyShopAppBySnaptSoftware\!" --introspect > schema.graphql

View File

@@ -251,7 +251,7 @@ export const QUERY_JOB_COSTING_DETAILS = gql`
rate_matd rate_matd
actual_in actual_in
status status
joblines { joblines(where: { removed: { _eq: false } }) {
id id
unq_seq unq_seq
line_ind line_ind
@@ -642,7 +642,7 @@ export const QUERY_TECH_JOB_DETAILS = gql`
employee_body employee_body
employee_refinish employee_refinish
employee_prep employee_prep
joblines { joblines(where: { removed: { _eq: false } }) {
id id
unq_seq unq_seq
line_ind line_ind
@@ -1202,7 +1202,7 @@ export const QUERY_JOB_CLOSE_DETAILS = gql`
rate_matd rate_matd
status status
date_exported date_exported
joblines { joblines(where: { removed: { _eq: false } }) {
id id
removed removed
tax_part tax_part

View File

@@ -87,7 +87,7 @@ query QUERY_JOBS_FOR_RECEIVABLES_EXPORT($ids: [uuid!]!) {
owner { owner {
accountingid accountingid
} }
joblines{ joblines(where:{removed: {_eq:false}}) {
id id
line_desc line_desc
part_type part_type