feat: items bulk delete.

refactor: items to service design.
This commit is contained in:
Ahmed Bouhuolia
2020-09-29 16:04:13 +02:00
parent d47d36bb0e
commit 9fbad4ac46
4 changed files with 470 additions and 243 deletions

View File

@@ -5,6 +5,7 @@ import AccountTransaction from 'models/AccountTransaction';
import AccountType from 'models/AccountType';
import Item from 'models/Item';
import ItemEntry from 'models/ItemEntry';
import ItemCategory from 'models/ItemCategory';
import Bill from 'models/Bill';
import BillPayment from 'models/BillPayment';
import BillPaymentEntry from 'models/BillPaymentEntry';
@@ -41,6 +42,7 @@ export default (knex) => {
AccountTransaction,
AccountType,
Item,
ItemCategory,
ItemEntry,
ManualJournal,
Bill,