feat: Re-compute the given items cost job.

feat: Optimize the architecture.
This commit is contained in:
Ahmed Bouhuolia
2020-08-18 02:28:08 +02:00
parent 4e68a7db71
commit d423365a19
44 changed files with 1605 additions and 798 deletions

View File

@@ -0,0 +1,6 @@
interface IInventoryCostMethod {
computeItemsCost(fromDate: Date): void,
initialize(): void,
}

View File

@@ -18,6 +18,7 @@ export interface IInventoryLotCost {
itemId: number,
rate: number,
remaining: number,
lotNumber: string|number,
transactionType: string,
transactionId: string,
}

View File

@@ -0,0 +1,11 @@
import { IInventoryTransaction, IInventoryLotCost } from './InventoryTransaction';
import { IBillPaymentEntry, IBillPayment } from './BillPayment';
import { IInventoryCostMethod } from './IInventoryCostMethod';
export {
IBillPaymentEntry,
IBillPayment,
IInventoryTransaction,
IInventoryLotCost,
IInventoryCostMethod,
};