From bd6553f8e45795033a2c3fe5e3992b9ecf8697ce Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Mon, 6 Jun 2022 10:59:17 -0700 Subject: [PATCH] Resolve AR Account Reference. --- server/accounting/qbxml/qbxml-receivables.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/accounting/qbxml/qbxml-receivables.js b/server/accounting/qbxml/qbxml-receivables.js index 78c7389f7..29af650da 100644 --- a/server/accounting/qbxml/qbxml-receivables.js +++ b/server/accounting/qbxml/qbxml-receivables.js @@ -249,13 +249,13 @@ const generateInvoiceQbxml = ( )}:${generateJobTier(jobs_by_pk)}` ).trim(), }, - ARAccountRef: { - FullName: bodyshop.md_responsibility_centers.ar.accountname, - }, ...(jobs_by_pk.class ? { ClassRef: { FullName: jobs_by_pk.class } } : {}), - + + ARAccountRef: { + FullName: bodyshop.md_responsibility_centers.ar.accountname, + }, TxnDate: moment(jobs_by_pk.date_invoiced) .tz(bodyshop.timezone) .format("YYYY-MM-DD"),