mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
WIP: Allocate landed cost.
This commit is contained in:
@@ -36,6 +36,8 @@ import Media from 'models/Media';
|
||||
import MediaLink from 'models/MediaLink';
|
||||
import InventoryAdjustment from 'models/InventoryAdjustment';
|
||||
import InventoryAdjustmentEntry from 'models/InventoryAdjustmentEntry';
|
||||
import BillLandedCost from 'models/BillLandedCost';
|
||||
import BillLandedCostEntry from 'models/BillLandedCostEntry';
|
||||
|
||||
export default (knex) => {
|
||||
const models = {
|
||||
@@ -75,6 +77,8 @@ export default (knex) => {
|
||||
Contact,
|
||||
InventoryAdjustment,
|
||||
InventoryAdjustmentEntry,
|
||||
BillLandedCost,
|
||||
BillLandedCostEntry
|
||||
};
|
||||
return mapValues(models, (model) => model.bindKnex(knex));
|
||||
}
|
||||
Reference in New Issue
Block a user