mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
feat: rewrite repositories with base entity repository class.
feat: sales and purchases status. feat: sales and purchases auto-increment number. fix: settings find query with extra columns.
This commit is contained in:
@@ -10,7 +10,8 @@ import Bill from 'models/Bill';
|
||||
import BillPayment from 'models/BillPayment';
|
||||
import BillPaymentEntry from 'models/BillPaymentEntry';
|
||||
import Currency from 'models/Currency';
|
||||
import Contact from 'models/Contact';
|
||||
import Vendor from 'models/Vendor';
|
||||
import Customer from 'models/Customer';
|
||||
import ExchangeRate from 'models/ExchangeRate';
|
||||
import Expense from 'models/Expense';
|
||||
import ExpenseCategory from 'models/ExpenseCategory';
|
||||
@@ -66,7 +67,8 @@ export default (knex) => {
|
||||
InventoryCostLotTracker,
|
||||
Media,
|
||||
MediaLink,
|
||||
Contact,
|
||||
Vendor,
|
||||
Customer,
|
||||
};
|
||||
return mapValues(models, (model) => model.bindKnex(knex));
|
||||
}
|
||||
Reference in New Issue
Block a user