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
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

View File

@@ -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

View File

@@ -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