mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
fix: issue in edit payment receive with invoices payment amount chaning.
This commit is contained in:
@@ -13,7 +13,7 @@ export interface IPaymentReceive {
|
||||
entries: IPaymentReceiveEntry[],
|
||||
userId: number,
|
||||
};
|
||||
export interface IPaymentReceiveDTO {
|
||||
export interface IPaymentReceiveCreateDTO {
|
||||
customerId: number,
|
||||
paymentDate: Date,
|
||||
amount: number,
|
||||
@@ -24,6 +24,16 @@ export interface IPaymentReceiveDTO {
|
||||
entries: IPaymentReceiveEntryDTO[],
|
||||
};
|
||||
|
||||
export interface IPaymentReceiveEditDTO {
|
||||
paymentDate: Date,
|
||||
amount: number,
|
||||
referenceNo: string,
|
||||
depositAccountId: number,
|
||||
paymentReceiveNo?: string,
|
||||
description: string,
|
||||
entries: IPaymentReceiveEntryDTO[],
|
||||
};
|
||||
|
||||
export interface IPaymentReceiveEntry {
|
||||
id?: number,
|
||||
paymentReceiveId: number,
|
||||
|
||||
@@ -25,7 +25,7 @@ export interface ISaleInvoiceDTO {
|
||||
}
|
||||
|
||||
export interface ISaleInvoiceCreateDTO extends ISaleInvoiceDTO {
|
||||
fromEstiamteId: number,
|
||||
fromEstimateId: number,
|
||||
};
|
||||
|
||||
export interface ISaleInvoiceEditDTO extends ISaleInvoiceDTO {
|
||||
|
||||
Reference in New Issue
Block a user