mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
feat: trigger compute items cost once the sale invoice and bill be edited or deleted.
This commit is contained in:
@@ -12,6 +12,7 @@ import ExpenseEntryRepository from 'repositories/ExpenseEntryRepository';
|
||||
import BillRepository from 'repositories/BillRepository';
|
||||
import SaleInvoiceRepository from 'repositories/SaleInvoiceRepository';
|
||||
import ItemRepository from 'repositories/ItemRepository';
|
||||
import InventoryTransactionRepository from 'repositories/InventoryTransactionRepository';
|
||||
|
||||
export default (knex, cache) => {
|
||||
return {
|
||||
@@ -29,5 +30,6 @@ export default (knex, cache) => {
|
||||
billRepository: new BillRepository(knex, cache),
|
||||
saleInvoiceRepository: new SaleInvoiceRepository(knex, cache),
|
||||
itemRepository: new ItemRepository(knex, cache),
|
||||
inventoryTransactionRepository: new InventoryTransactionRepository(knex, cache),
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user