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:
Ahmed Bouhuolia
2020-09-15 00:51:39 +02:00
parent ad00f140d1
commit a22c8395f3
293 changed files with 3391 additions and 1637 deletions

View File

@@ -1,5 +1,5 @@
import { Model } from 'objection';
import TenantModel from '@/models/TenantModel';
import TenantModel from 'models/TenantModel';
export default class Contact extends TenantModel {
/**
@@ -39,8 +39,8 @@ export default class Contact extends TenantModel {
* Relationship mapping.
*/
static get relationMappings() {
const SaleInvoice = require('@/models/SaleInvoice');
const Bill = require('@/models/Bill');
const SaleInvoice = require('models/SaleInvoice');
const Bill = require('models/Bill');
return {
salesInvoices: {