mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
WIP: Allocate landed cost.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user