From ef6cdf07d8ba36db495eb97601f7496fb53098a6 Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Fri, 10 Sep 2021 13:09:21 -0700 Subject: [PATCH 1/3] IO-1352 Remove positive hrs check on receivables export. --- server/accounting/qbxml/qbxml-receivables.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/server/accounting/qbxml/qbxml-receivables.js b/server/accounting/qbxml/qbxml-receivables.js index dd49732f8..77f310cc2 100644 --- a/server/accounting/qbxml/qbxml-receivables.js +++ b/server/accounting/qbxml/qbxml-receivables.js @@ -294,11 +294,7 @@ const generateInvoiceQbxml = ( } } // Labor Lines - if ( - jobline.profitcenter_labor && - jobline.mod_lb_hrs && - jobline.mod_lb_hrs > 0 - ) { + if (jobline.profitcenter_labor && jobline.mod_lb_hrs) { const DineroAmount = Dinero({ amount: Math.round( jobs_by_pk[`rate_${jobline.mod_lbr_ty.toLowerCase()}`] * 100 From 8dc2197677fe63bfa27de583ef42070858f15ffe Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Fri, 10 Sep 2021 15:12:00 -0700 Subject: [PATCH 2/3] IO-1353 Add missing default resp. centers. --- ...p-info.responsibilitycenters.component.jsx | 312 ++++++++++++++++++ 1 file changed, 312 insertions(+) diff --git a/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx b/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx index 0da65dd3d..96c3f056a 100644 --- a/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx +++ b/client/src/components/shop-info/shop-info.responsibilitycenters.component.jsx @@ -682,6 +682,90 @@ export function ShopInfoResponsibilityCenterComponent({ bodyshop, form }) { ))} +