mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 04:10:32 +00:00
fix(server): pull-request nodes
This commit is contained in:
@@ -153,3 +153,11 @@ export enum AccountAction {
|
||||
VIEW = 'View',
|
||||
TransactionsLocking = 'TransactionsLocking',
|
||||
}
|
||||
|
||||
|
||||
export enum TaxRateAction {
|
||||
CREATE = 'Create',
|
||||
EDIT = 'Edit',
|
||||
DELETE = 'Delete',
|
||||
VIEW = 'View',
|
||||
}
|
||||
@@ -54,14 +54,6 @@ export interface IItemDTO {
|
||||
sellDescription: string;
|
||||
purchaseDescription: string;
|
||||
|
||||
// Used as an override if the default Tax Code for the selected `costAccountId` is not correct
|
||||
purchaseTaxCode: string;
|
||||
purchaseTaxId: string;
|
||||
|
||||
// Used as an override if the default Tax Code for the selected `sellAccountId` is not correct
|
||||
saleTaxCode: string;
|
||||
saleTaxId: string;
|
||||
|
||||
quantityOnHand: number;
|
||||
|
||||
note: string;
|
||||
|
||||
@@ -38,7 +38,6 @@ export interface IItemEntry {
|
||||
projectRefInvoicedAmount?: number;
|
||||
|
||||
taxRateId: number | null;
|
||||
taxCode: string;
|
||||
taxRate: number;
|
||||
taxAmount: number;
|
||||
|
||||
@@ -57,9 +56,8 @@ export interface IItemEntryDTO {
|
||||
projectRefType?: ProjectLinkRefType;
|
||||
projectRefInvoicedAmount?: number;
|
||||
|
||||
taxCodeId?: number;
|
||||
taxRateId?: number;
|
||||
taxCode?: string;
|
||||
taxRate?: number;
|
||||
}
|
||||
|
||||
export enum ProjectLinkRefType {
|
||||
|
||||
@@ -76,6 +76,13 @@ export interface ITaxTransaction {
|
||||
taxRateId: number;
|
||||
referenceType: string;
|
||||
referenceId: number;
|
||||
taxAmount: number;
|
||||
rate: number;
|
||||
taxAccountId: number;
|
||||
}
|
||||
|
||||
export enum TaxRateAction {
|
||||
CREATE = 'Create',
|
||||
EDIT = 'Edit',
|
||||
DELETE = 'Delete',
|
||||
VIEW = 'View',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user