fix(server): pull-request nodes

This commit is contained in:
Ahmed Bouhuolia
2023-09-22 15:23:33 +02:00
parent eaf72d1608
commit ce41845bd7
23 changed files with 153 additions and 215 deletions

View File

@@ -153,3 +153,11 @@ export enum AccountAction {
VIEW = 'View',
TransactionsLocking = 'TransactionsLocking',
}
export enum TaxRateAction {
CREATE = 'Create',
EDIT = 'Edit',
DELETE = 'Delete',
VIEW = 'View',
}

View File

@@ -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;

View File

@@ -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 {

View File

@@ -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',
}