mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
feat: redesign accounts types.
This commit is contained in:
@@ -2,7 +2,6 @@ import { mapValues } from 'lodash';
|
||||
|
||||
import Account from 'models/Account';
|
||||
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';
|
||||
@@ -43,7 +42,6 @@ export default (knex) => {
|
||||
Option,
|
||||
Account,
|
||||
AccountTransaction,
|
||||
AccountType,
|
||||
Item,
|
||||
ItemCategory,
|
||||
ItemEntry,
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import AccountRepository from 'repositories/AccountRepository';
|
||||
import AccountTypeRepository from 'repositories/AccountTypeRepository';
|
||||
import VendorRepository from 'repositories/VendorRepository';
|
||||
import CustomerRepository from 'repositories/CustomerRepository';
|
||||
import ExpenseRepository from 'repositories/ExpenseRepository';
|
||||
@@ -18,7 +17,6 @@ export default (knex, cache) => {
|
||||
return {
|
||||
accountRepository: new AccountRepository(knex, cache),
|
||||
transactionsRepository: new AccountTransactionsRepository(knex, cache),
|
||||
accountTypeRepository: new AccountTypeRepository(knex, cache),
|
||||
customerRepository: new CustomerRepository(knex, cache),
|
||||
vendorRepository: new VendorRepository(knex, cache),
|
||||
contactRepository: new ContactRepository(knex, cache),
|
||||
|
||||
Reference in New Issue
Block a user