AITools prime cose

This commit is contained in:
Surya Paolo
2024-01-30 14:00:37 +01:00
parent aeabf96efe
commit 0c2a8ecef5
15 changed files with 372 additions and 4 deletions

View File

@@ -66,6 +66,8 @@ const Gasordine = require('../models/gasordine');
const Scontistica = require('../models/scontistica');
const Department = require('../models/department');
const CatProd = require('../models/catprod');
const CatAI = require('../models/catai');
const QueryAI = require('../models/queryai');
const SubCatProd = require('../models/subcatprod');
const { Category } = require('../models/category');
const ShareWithUs = require('../models/sharewithus');
@@ -124,6 +126,10 @@ module.exports = {
mytable = Category;
else if (tablename === 'catprods')
mytable = CatProd;
else if (tablename === 'catais')
mytable = CatAI;
else if (tablename === 'queryais')
mytable = QueryAI;
else if (tablename === 'subcatprods')
mytable = SubCatProd;
else if (tablename === 'sharewithus')

View File

@@ -246,6 +246,8 @@ module.exports = {
{ table: 'sectors', key: 'descr' },
{ table: 'skills', key: 'descr' },
{ table: 'statusSkills', key: 'descr' },
// { table: 'catais', key: 'descr' },
// { table: 'queryais', key: 'descr' },
],
@@ -291,6 +293,7 @@ module.exports = {
CAT_NO_SPAZI: 5,
CAT_GOODS_TXT: 10,
PRODUCTS: 20,
INVENTARIO: 30,
},
WalletFinalStatusType: {
@@ -443,7 +446,7 @@ module.exports = {
RECEIVED: { label: 'Ricevuti', value: 7, icon: '', color: 'text-blue' }, //RECEIVED
COMPLETATI: { label: 'Completati', value: 8, icon: 'fas fa-check', color: 'text-blue' }, //COMPLETED
CANCELLATI: { label: 'Cancellati', value: 10, icon: 'delete', color: 'text-red' }, //CANCELED
PREPARED: { label: 'Preparati', value: 15, icon: 'fas fa-archive', color: 'text-blue' },
PREPARED: { label: 'Preparati', value: 15, icon: 'fas fa-archive', color: 'text-blue' },
},
OrderStatusStr: [
@@ -947,4 +950,9 @@ module.exports = {
return (trovatorec) ? trovatorec.label : ''
},
ButtonCodeAction: {
NONE: 0,
NEXT_10: 1,
},
};