n8n/packages/nodes-base/nodes/QuickBooks/descriptions/Bill/BillAdditionalFieldsOptions.ts
Iván Ovejero b03e358a12
refactor: Integrate consistent-type-imports in nodes-base (no-changelog) (#5267)
* 👕 Enable `consistent-type-imports` for nodes-base

* 👕 Apply to nodes-base

*  Undo unrelated changes

* 🚚 Move to `.eslintrc.js` in nodes-base

*  Revert "Enable `consistent-type-imports` for nodes-base"

This reverts commit 529ad72b05.

* 👕 Fix severity
2023-01-27 12:22:44 +01:00

89 lines
1.7 KiB
TypeScript

import type { INodeProperties } from 'n8n-workflow';
export const billAdditionalFieldsOptions: INodeProperties[] = [
{
displayName: 'Accounts Payable Account',
name: 'APAccountRef',
placeholder: 'Add APA Fields',
description: 'Accounts Payable account to which the bill will be credited',
type: 'fixedCollection',
default: {},
options: [
{
displayName: 'Details',
name: 'details',
values: [
{
displayName: 'Name',
name: 'name',
type: 'string',
default: '',
},
{
displayName: 'ID',
name: 'value',
type: 'string',
default: '',
},
],
},
],
},
{
displayName: 'Balance',
name: 'Balance',
description: 'The balance reflecting any payments made against the transaction',
type: 'string',
default: '',
},
{
displayName: 'Due Date',
name: 'DueDate',
description: 'Date when the payment of the transaction is due',
type: 'dateTime',
default: '',
},
{
displayName: 'Sales Term',
name: 'SalesTermRef',
description: 'Sales term associated with the transaction',
placeholder: 'Add Sales Term Fields',
type: 'fixedCollection',
default: {},
options: [
{
displayName: 'Details',
name: 'details',
values: [
{
displayName: 'Name',
name: 'name',
type: 'string',
default: '',
},
{
displayName: 'ID',
name: 'value',
type: 'string',
default: '',
},
],
},
],
},
{
displayName: 'Total Amount',
name: 'TotalAmt',
description: 'Total amount of the transaction',
type: 'number',
default: 0,
},
{
displayName: 'Transaction Date',
name: 'TxnDate',
description: 'Date when the transaction occurred',
type: 'dateTime',
default: '',
},
];