PVRT Handling IO-736

This commit is contained in:
Patrick Fic
2021-03-03 15:41:41 -08:00
parent 8afc6eb146
commit 57f6eec9e4

View File

@@ -276,6 +276,18 @@ const generateInvoiceQbxml = (jobs_by_pk, bodyshop) => {
});
}
//Region Specific
const { ca_bc_pvrt } = jobs_by_pk;
if (ca_bc_pvrt) {
InvoiceLineAdd.push({
ItemRef: {
FullName: bodyshop.md_responsibility_centers.taxes.state.accountitem,
},
Desc: "PVRT",
Amount: local_tax.toFormat(DineroQbFormat),
});
}
const invoiceQbxmlObj = {
QBXML: {
QBXMLMsgsRq: {