mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
refactoring: payment receive and sale invoice actions.
This commit is contained in:
@@ -1,4 +1,43 @@
|
||||
import { IDynamicListFilterDTO } from "./DynamicFilter";
|
||||
|
||||
|
||||
export interface IPaymentReceive { };
|
||||
export interface IPaymentReceiveOTD { };
|
||||
export interface IPaymentReceive {
|
||||
id?: number,
|
||||
customerId: number,
|
||||
paymentDate: Date,
|
||||
amount: number,
|
||||
referenceNo: string,
|
||||
depositAccountId: number,
|
||||
paymentReceiveNo: string,
|
||||
description: string,
|
||||
entries: IPaymentReceiveEntry[],
|
||||
userId: number,
|
||||
};
|
||||
export interface IPaymentReceiveDTO {
|
||||
customerId: number,
|
||||
paymentDate: Date,
|
||||
amount: number,
|
||||
referenceNo: string,
|
||||
depositAccountId: number,
|
||||
paymentReceiveNo: string,
|
||||
description: string,
|
||||
entries: IPaymentReceiveEntryDTO[],
|
||||
};
|
||||
|
||||
export interface IPaymentReceiveEntry {
|
||||
id?: number,
|
||||
paymentReceiveId: number,
|
||||
invoiceId: number,
|
||||
paymentAmount: number,
|
||||
};
|
||||
|
||||
export interface IPaymentReceiveEntryDTO {
|
||||
id?: number,
|
||||
paymentReceiveId: number,
|
||||
invoiceId: number,
|
||||
paymentAmount: number,
|
||||
};
|
||||
|
||||
export interface IPaymentReceivesFilter extends IDynamicListFilterDTO {
|
||||
stringifiedFilterRoles?: string,
|
||||
}
|
||||
@@ -13,6 +13,8 @@ export interface ISaleInvoiceOTD {
|
||||
invoiceDate: Date,
|
||||
dueDate: Date,
|
||||
referenceNo: string,
|
||||
invoiceNo: string,
|
||||
customerId: number,
|
||||
invoiceMessage: string,
|
||||
termsConditions: string,
|
||||
entries: IItemEntryDTO[],
|
||||
|
||||
Reference in New Issue
Block a user