Resolve lab hrs missing non body hrs. IO-714

This commit is contained in:
Patrick Fic
2021-02-25 09:53:53 -08:00
parent 8e9cb9d464
commit a4efedf3b5
5 changed files with 24 additions and 20 deletions

View File

@@ -218,7 +218,7 @@ export const QUERY_DASHBOARD_DETAILS = gql`
compJobs: jobs(where: { inproduction: { _eq: true } }) {
id
scheduled_completion
labhrs: joblines_aggregate(where: { mod_lbr_ty: { _eq: "LAB" } }) {
labhrs: joblines_aggregate(where: { mod_lbr_ty: { _neq: "LAR" } }) {
aggregate {
sum {
mod_lb_hrs