Remove removed job lines from queries BOD-384
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user