PVRT Handling IO-736
This commit is contained in:
@@ -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 = {
|
const invoiceQbxmlObj = {
|
||||||
QBXML: {
|
QBXML: {
|
||||||
QBXMLMsgsRq: {
|
QBXMLMsgsRq: {
|
||||||
|
|||||||
Reference in New Issue
Block a user