fix(Currencies): Currency code in services.

This commit is contained in:
a.bouhuolia
2021-03-30 16:18:57 +02:00
parent 78d4b56e92
commit 1ba67f183b
37 changed files with 160 additions and 73 deletions

View File

@@ -28,6 +28,10 @@ export interface IAccount {
accountParentType: string,
};
export interface IAccountResponse extends IAccount {
}
export interface IAccountsFilter extends IDynamicListFilterDTO {
stringifiedFilterRoles?: string,
};

View File

@@ -14,6 +14,6 @@ export interface IFormatNumberSettings {
thousand?: string;
decimal?: string;
zeroSign?: string;
symbol?: string;
currencyCode?: string;
money?: boolean,
}

View File

@@ -12,6 +12,7 @@ export interface IInventoryValuationReportQuery {
export interface IInventoryValuationSheetMeta {
organizationName: string,
baseCurrency: string,
isCostComputeRunning: boolean
};
export interface IInventoryValuationItem {
@@ -35,8 +36,8 @@ export interface IInventoryValuationTotal {
quantityFormatted: string,
}
export interface IInventoryValuationStatement {
export type IInventoryValuationStatement = {
items: IInventoryValuationItem[],
total: IInventoryValuationTotal
};
} | {};

View File

@@ -11,6 +11,7 @@ export interface IInventoryTransaction {
transactionType: string,
transactionId: number,
entryId: number,
costAccountId: number,
createdAt?: Date,
updatedAt?: Date,
};
@@ -27,7 +28,6 @@ export interface IInventoryLotCost {
transactionType: string,
transactionId: number,
costAccountId: number,
sellAccountId: number,
entryId: number,
createdAt: Date,
};

View File

@@ -36,8 +36,8 @@ export interface ISalesByItemsTotal {
currencyCode: string,
};
export interface ISalesByItemsSheetStatement {
export type ISalesByItemsSheetStatement = {
items: ISalesByItemsItem[],
total: ISalesByItemsTotal
};
} | {};