feat: advanced payments

This commit is contained in:
Ahmed Bouhuolia
2024-07-23 13:52:25 +02:00
parent 8cd3a6c48d
commit 1141991e44
9 changed files with 295 additions and 37 deletions

View File

@@ -13,7 +13,7 @@ export class AutoApplyPrepardExpensesOnBillCreated {
*/
public attach(bus) {
bus.subscribe(
events.saleInvoice.onCreated,
events.bill.onCreated,
this.handleAutoApplyPrepardExpensesOnBillCreated.bind(this)
);
}