- fix: Schedule write journal entries after item compute cost.

- fix: active vouchers query.
- fix: remove babel loader in server-side.
This commit is contained in:
Ahmed Bouhuolia
2020-08-29 22:11:42 +02:00
parent e4270dc039
commit 74321a2886
12 changed files with 217 additions and 104 deletions

View File

@@ -1,8 +1,18 @@
export interface ISaleInvoice {
id: number,
balance: number,
paymentAmount: number,
invoiceDate: Date,
entries: [],
dueDate: Date,
entries: any[],
}
export interface ISaleInvoiceOTD {
invoiceDate: Date,
dueDate: Date,
referenceNo: string,
invoiceMessage: string,
termsConditions: string,
entries: any[],
}

View File

@@ -12,6 +12,10 @@ import {
IVoucherPaymentMethod,
IPaymentContext,
} from './Payment';
import {
ISaleInvoice,
ISaleInvoiceOTD,
} from './SaleInvoice';
export {
IBillPaymentEntry,
@@ -31,4 +35,7 @@ export {
IPaymentContext,
IVoucherPaymentModel,
IVoucherPaymentMethod,
ISaleInvoice,
ISaleInvoiceOTD,
};