WIP: Allocate landed cost.

This commit is contained in:
a.bouhuolia
2021-07-22 18:11:17 +02:00
parent 1eacc254d8
commit 76c6cb3699
33 changed files with 1577 additions and 163 deletions

View File

@@ -27,15 +27,20 @@ export interface IExpense {
userId: number;
paymentDate: Date;
payeeId: number;
landedCostAmount: number;
allocatedCostAmount: number;
unallocatedCostAmount: number;
categories: IExpenseCategory[];
}
export interface IExpenseCategory {
id?: number;
expenseAccountId: number;
index: number;
description: string;
expenseId: number;
amount: number;
landedCost: boolean;
}
export interface IExpenseDTO {
@@ -56,6 +61,7 @@ export interface IExpenseCategoryDTO {
index: number;
description?: string;
expenseId: number;
landedCost?: boolean;
}
export interface IExpensesService {