mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
fix(Currencies): Currency code in services.
This commit is contained in:
@@ -28,6 +28,10 @@ export interface IAccount {
|
||||
accountParentType: string,
|
||||
};
|
||||
|
||||
export interface IAccountResponse extends IAccount {
|
||||
|
||||
}
|
||||
|
||||
export interface IAccountsFilter extends IDynamicListFilterDTO {
|
||||
stringifiedFilterRoles?: string,
|
||||
};
|
||||
|
||||
@@ -14,6 +14,6 @@ export interface IFormatNumberSettings {
|
||||
thousand?: string;
|
||||
decimal?: string;
|
||||
zeroSign?: string;
|
||||
symbol?: string;
|
||||
currencyCode?: string;
|
||||
money?: boolean,
|
||||
}
|
||||
|
||||
@@ -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
|
||||
};
|
||||
} | {};
|
||||
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
@@ -36,8 +36,8 @@ export interface ISalesByItemsTotal {
|
||||
currencyCode: string,
|
||||
};
|
||||
|
||||
export interface ISalesByItemsSheetStatement {
|
||||
export type ISalesByItemsSheetStatement = {
|
||||
items: ISalesByItemsItem[],
|
||||
total: ISalesByItemsTotal
|
||||
};
|
||||
} | {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user