modif cc in notification and Wwws change
This commit is contained in:
@@ -243,12 +243,14 @@ Notifications.manageemail = (data, template, tribe) => {
|
||||
dat.text = Mustache.render(tplemail.text, data);
|
||||
dat.Cc=tplemail.Cc
|
||||
dat.Bcc=tplemail.Bcc
|
||||
/* @TODO issue with data.Cc need to test
|
||||
if (data.Cc){
|
||||
dat.Cc+=","+data.Cc.join(',')
|
||||
}
|
||||
if (data.Bcc){
|
||||
dat.Bcc+=","+data.Bcc.join(',')
|
||||
}
|
||||
*/
|
||||
if (data.attachments){
|
||||
data.attachments.forEach(a=>tplemail.attachments.push(a))
|
||||
}
|
||||
|
@@ -7,6 +7,15 @@ const Odmdb = require("./Odmdb.js");
|
||||
const conf = require(`../../../conf.json`);
|
||||
const Wwws = {};
|
||||
|
||||
Wwws.initlocalwco=(tribwco,profils,lg)=>{
|
||||
const wco={}
|
||||
Object.keys(tribwco).forEach(t=>{
|
||||
if (!fs.existsSync(`../../../${tribwco}`)){}
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Wwws.initlocaldata = (tribe, appname, pagename, version, profils, lg) => {
|
||||
const fileparam = `../../${tribe}/objects/wwws/itm/${appname}.json`;
|
||||
console.log(fileparam);
|
||||
|
Reference in New Issue
Block a user