From 4ee71c69d8e67df54ae96f4efb40484e0f0e7499 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Wed, 3 Mar 2021 15:57:11 -0800 Subject: [PATCH] QB PVRT updates IO-736 --- server/accounting/qbxml/qbxml-receivables.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/accounting/qbxml/qbxml-receivables.js b/server/accounting/qbxml/qbxml-receivables.js index f79132e85..39914b5df 100644 --- a/server/accounting/qbxml/qbxml-receivables.js +++ b/server/accounting/qbxml/qbxml-receivables.js @@ -284,7 +284,9 @@ const generateInvoiceQbxml = (jobs_by_pk, bodyshop) => { FullName: bodyshop.md_responsibility_centers.taxes.state.accountitem, }, Desc: "PVRT", - Amount: local_tax.toFormat(DineroQbFormat), + Amount: Dinero({ amount: (ca_bc_pvrt || 0) * 100 }).toFormat( + DineroQbFormat + ), }); }