Creazione tabella Product
This commit is contained in:
@@ -51,6 +51,7 @@ const { Settings } = require('../models/settings');
|
||||
const { SendMsg } = require('../models/sendmsg');
|
||||
const { Permission } = require('../models/permission');
|
||||
const { MsgTemplate } = require('../models/msg_template');
|
||||
const Product = require('../models/product');
|
||||
|
||||
|
||||
const tools = require('../tools/general');
|
||||
@@ -192,6 +193,8 @@ function getTableByTableName(tablename) {
|
||||
mytable = Booking;
|
||||
else if (tablename === 'operators')
|
||||
mytable = Operator;
|
||||
else if (tablename === 'products')
|
||||
mytable = Product;
|
||||
else if (tablename === 'sendmsgs')
|
||||
mytable = SendMsg;
|
||||
else if (tablename === 'wheres')
|
||||
|
||||
Reference in New Issue
Block a user