fix: accounts types caching.

This commit is contained in:
Ahmed Bouhuolia
2020-09-30 11:45:25 +02:00
parent 4e8c670968
commit 7d8b05ff66
6 changed files with 99 additions and 23 deletions

View File

@@ -25,3 +25,17 @@ export interface IAccount {
export interface IAccountsFilter extends IDynamicListFilterDTO {
stringifiedFilterRoles?: string,
};
export interface IAccountType {
id: number,
key: string,
normal: string,
rootType: string,
childType: string,
balanceSheet: boolean,
incomeSheet: boolean,
}
export interface IAccountsTypesService {
getAccountsTypes(tenantId: number): Promise<IAccountType>;
}