Creazione tabella Product

This commit is contained in:
Paolo Arena
2020-12-21 02:16:42 +01:00
parent 9ee59c0fc1
commit 67d2872e61
21 changed files with 767 additions and 42 deletions

View File

@@ -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')