mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
feat: remove path alias.
feat: remove Webpack and depend on nodemon. feat: refactoring expenses. feat: optimize system users with caching. feat: architecture tenant optimize.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { Model } from 'objection';
|
||||
import moment from 'moment';
|
||||
import TenantModel from '@/models/TenantModel';
|
||||
import TenantModel from 'models/TenantModel';
|
||||
|
||||
export default class InventoryTransaction extends TenantModel {
|
||||
/**
|
||||
@@ -41,7 +41,7 @@ export default class InventoryTransaction extends TenantModel {
|
||||
* Relationship mapping.
|
||||
*/
|
||||
static get relationMappings() {
|
||||
const Item = require('@/models/Item');
|
||||
const Item = require('models/Item');
|
||||
|
||||
return {
|
||||
item: {
|
||||
|
||||
Reference in New Issue
Block a user