mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 20:00:02 +00:00
feat(QuickBooks Node): Add optional Tax item field (#3404)
* Added tax refs * Nodelinter fixes
This commit is contained in:
committed by
GitHub
parent
f02421b5f3
commit
c341b45396
@@ -95,6 +95,23 @@ export const estimateFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
displayName: 'Amount',
|
||||
name: 'Amount',
|
||||
description: 'Monetary amount of the line item',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
},
|
||||
{
|
||||
displayName: 'Description',
|
||||
name: 'Description',
|
||||
description: 'Textual description of the line item',
|
||||
type: 'string',
|
||||
default: '',
|
||||
typeOptions: {
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Detail Type',
|
||||
name: 'DetailType',
|
||||
@@ -116,23 +133,6 @@ export const estimateFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getItems',
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Amount',
|
||||
name: 'Amount',
|
||||
description: 'Monetary amount of the line item',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
},
|
||||
{
|
||||
displayName: 'Description',
|
||||
name: 'Description',
|
||||
description: 'Textual description of the line item',
|
||||
type: 'string',
|
||||
default: '',
|
||||
typeOptions: {
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Position',
|
||||
name: 'LineNum',
|
||||
@@ -140,6 +140,15 @@ export const estimateFields: INodeProperties[] = [
|
||||
type: 'number',
|
||||
default: 1,
|
||||
},
|
||||
{
|
||||
displayName: 'Tax Code Ref',
|
||||
name: 'TaxCodeRef',
|
||||
type: 'options',
|
||||
default: [],
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTaxCodeRefs',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -210,7 +219,7 @@ export const estimateFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
required: true,
|
||||
default: false,
|
||||
description: 'Download the estimate as a PDF file',
|
||||
description: 'Whether to download the estimate as a PDF file',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -290,7 +299,7 @@ export const estimateFields: INodeProperties[] = [
|
||||
displayName: 'Limit',
|
||||
name: 'limit',
|
||||
type: 'number',
|
||||
default: 5,
|
||||
default: 50,
|
||||
description: 'Max number of results to return',
|
||||
typeOptions: {
|
||||
minValue: 1,
|
||||
|
||||
Reference in New Issue
Block a user