mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(xero Node): fix line amount types being ignored when creating new invoices (#4146)
This commit is contained in:
committed by
GitHub
parent
a8030dbda5
commit
3e2e9e6009
@@ -291,7 +291,7 @@ export class Xero implements INodeType {
|
||||
body.InvoiceNumber = additionalFields.invoiceNumber as string;
|
||||
}
|
||||
if (additionalFields.lineAmountType) {
|
||||
body.LineAmountType = additionalFields.lineAmountType as string;
|
||||
body.LineAmountTypes = additionalFields.lineAmountType as string;
|
||||
}
|
||||
if (additionalFields.plannedPaymentDate) {
|
||||
body.PlannedPaymentDate = additionalFields.plannedPaymentDate as string;
|
||||
@@ -388,7 +388,7 @@ export class Xero implements INodeType {
|
||||
body.InvoiceNumber = updateFields.invoiceNumber as string;
|
||||
}
|
||||
if (updateFields.lineAmountType) {
|
||||
body.LineAmountType = updateFields.lineAmountType as string;
|
||||
body.LineAmountTypes = updateFields.lineAmountType as string;
|
||||
}
|
||||
if (updateFields.plannedPaymentDate) {
|
||||
body.PlannedPaymentDate = updateFields.plannedPaymentDate as string;
|
||||
|
||||
Reference in New Issue
Block a user