Remove customer name from QBO payables.

This commit is contained in:
Patrick Fic
2022-02-03 12:15:33 -08:00
parent cf4f6f6e55
commit 375856bd68

View File

@@ -183,9 +183,7 @@ async function InsertBill(oauthClient, qbo_realmId, req, bill, vendor) {
DocNumber: bill.invoice_number, DocNumber: bill.invoice_number,
//...(bill.job.class ? { ClassRef: { Id: classes[bill.job.class] } } : {}), //...(bill.job.class ? { ClassRef: { Id: classes[bill.job.class] } } : {}),
PrivateNote: `RO ${bill.job.ro_number || ""} OWNER ${ PrivateNote: `RO ${bill.job.ro_number || ""}`,
bill.job.ownr_fn || ""
} ${bill.job.ownr_ln || ""} ${bill.job.ownr_co_nm || ""}`,
Line: bill.billlines.map((il) => Line: bill.billlines.map((il) =>
generateBillLine( generateBillLine(
il, il,