mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 15:20:34 +00:00
fix: syntax error
This commit is contained in:
@@ -108,7 +108,7 @@ export default class UncategorizedCashflowTransaction extends mixin(
|
|||||||
query.whereNotNull('excluded_at')
|
query.whereNotNull('excluded_at')
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Relationship mapping.
|
* Relationship mapping.
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { entries, groupBy } from 'lodash';
|
|||||||
import { CreateAccount } from '@/services/Accounts/CreateAccount';
|
import { CreateAccount } from '@/services/Accounts/CreateAccount';
|
||||||
import {
|
import {
|
||||||
IAccountCreateDTO,
|
IAccountCreateDTO,
|
||||||
\ IPlaidTransactionsSyncedEventPayload,
|
IPlaidTransactionsSyncedEventPayload,
|
||||||
PlaidAccount,
|
PlaidAccount,
|
||||||
PlaidTransaction,
|
PlaidTransaction,
|
||||||
} from '@/interfaces';
|
} from '@/interfaces';
|
||||||
|
|||||||
@@ -3,13 +3,13 @@ import { Knex } from 'knex';
|
|||||||
export enum BankRuleConditionField {
|
export enum BankRuleConditionField {
|
||||||
Amount = 'Amount',
|
Amount = 'Amount',
|
||||||
Description = 'Description',
|
Description = 'Description',
|
||||||
Payee = 'Payee'
|
Payee = 'Payee',
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum BankRuleConditionComparator {
|
export enum BankRuleConditionComparator {
|
||||||
Contains = 'contains',
|
Contains = 'contains',
|
||||||
Equals = 'equals',
|
Equals = 'equals',
|
||||||
NotContain = 'not_contain';
|
NotContain = 'not_contain',
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IBankRuleCondition {
|
export interface IBankRuleCondition {
|
||||||
@@ -21,10 +21,10 @@ export interface IBankRuleCondition {
|
|||||||
|
|
||||||
export enum BankRuleConditionType {
|
export enum BankRuleConditionType {
|
||||||
Or = 'or',
|
Or = 'or',
|
||||||
And = 'and'
|
And = 'and',
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum BankRuleApplyIfTransactionType {
|
export enum BankRuleApplyIfTransactionType {
|
||||||
Deposit = 'deposit',
|
Deposit = 'deposit',
|
||||||
Withdrawal = 'withdrawal',
|
Withdrawal = 'withdrawal',
|
||||||
}
|
}
|
||||||
@@ -34,7 +34,7 @@ export interface IBankRule {
|
|||||||
order?: number;
|
order?: number;
|
||||||
applyIfAccountId: number;
|
applyIfAccountId: number;
|
||||||
applyIfTransactionType: BankRuleApplyIfTransactionType;
|
applyIfTransactionType: BankRuleApplyIfTransactionType;
|
||||||
|
|
||||||
conditionsType: BankRuleConditionType;
|
conditionsType: BankRuleConditionType;
|
||||||
conditions: IBankRuleCondition[];
|
conditions: IBankRuleCondition[];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user