sito Terra Della Visione...3
Pagina Operatori
This commit is contained in:
@@ -63,7 +63,7 @@ BotSchema.statics.executeQueryTable = function(idapp, params) {
|
||||
BotSchema.statics.DuplicateAllRecords = async function (idapporig, idappdest) {
|
||||
|
||||
return tools.DuplicateAllRecords(this, idapporig, idappdest);
|
||||
|
||||
schermi
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ const OperatorSchema = new Schema({
|
||||
facebook: {
|
||||
type: String,
|
||||
},
|
||||
info: {
|
||||
info: { // Biografia HTML
|
||||
type: String,
|
||||
},
|
||||
intro: {
|
||||
@@ -71,6 +71,12 @@ const OperatorSchema = new Schema({
|
||||
skype: {
|
||||
type: String,
|
||||
},
|
||||
showInTeam: {
|
||||
type: Boolean,
|
||||
},
|
||||
arrDisciplines: [{
|
||||
type: String,
|
||||
}],
|
||||
});
|
||||
|
||||
OperatorSchema.statics.getEmailByUsername = async function (idapp, username) {
|
||||
|
||||
@@ -2974,7 +2974,7 @@ UserSchema.statics.calcnumRegUntilDay = async function(idapp) {
|
||||
UserSchema.statics.calcRegDaily = async function(idapp) {
|
||||
const User = this;
|
||||
|
||||
return User.aggregate(User.getUsersRegDaily(idapp, 30)).then(ris => {
|
||||
return User.aggregate(User.getUsersRegDaily(idapp, 60)).then(ris => {
|
||||
// console.table(ris);
|
||||
return ris;
|
||||
});
|
||||
|
||||
@@ -52,6 +52,7 @@ const {Settings} = require('../models/settings');
|
||||
const {SendMsg} = require('../models/sendmsg');
|
||||
const {Permission} = require('../models/permission');
|
||||
const {MsgTemplate} = require('../models/msg_template');
|
||||
const {Graduatoria} = require('../models/graduatoria');
|
||||
const Product = require('../models/product');
|
||||
const Producer = require('../models/producer');
|
||||
const Cart = require('../models/cart');
|
||||
|
||||
Reference in New Issue
Block a user