IO-1682 Remove name from Payable/Payments exporting.

This commit is contained in:
Patrick Fic
2022-01-26 12:34:43 -08:00
parent c17e1e92aa
commit cb48ea64f9
2 changed files with 2 additions and 6 deletions

View File

@@ -76,9 +76,7 @@ const generateBill = (bill) => {
DueDate:
bill.due_date && moment(bill.due_date).format("YYYY-MM-DD"),
RefNumber: bill.invoice_number,
Memo: `RO ${bill.job.ro_number || ""} OWNER ${
bill.job.ownr_fn || ""
} ${bill.job.ownr_ln || ""} ${bill.job.ownr_co_nm || ""}`,
Memo: `RO ${bill.job.ro_number || ""}`,
ExpenseLineAdd: bill.billlines.map((il) =>
generateBillLine(
il,

View File

@@ -136,9 +136,7 @@ const generatePayment = (payment, isThreeTier, twoTierPref) => {
PaymentMethodRef: {
FullName: payment.type,
},
Memo: `RO ${payment.job.ro_number || ""} OWNER ${
payment.job.ownr_fn || ""
} ${payment.job.ownr_ln || ""} ${payment.job.ownr_co_nm || ""} ${
Memo: `RO ${payment.job.ro_number || ""} ${
payment.stripeid || ""
} ${payment.payer ? ` PAID BY ${payment.payer}` : ""}`,
IsAutoApply: true,