@fluxhub/fluxhub-lib 10.0.441 → 10.0.442

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16918,20 +16918,28 @@ class dati_aggiuntivi {
16918
16918
  this.id_documento +
16919
16919
  "/edit", this.m_obj.codice, this.nota, true, ical);
16920
16920
  else {
16921
- if (this.nlevel.oggetto_email == null)
16922
- this.sendEMail_ex(this.user_idp, this.m_danotificare, this.app_info.descrizione_breve +
16921
+ let obj_mail = '';
16922
+ if (this.getTitle().indexOf('NOSTD|') == -1)
16923
+ obj_mail = this.app_info.descrizione_breve +
16923
16924
  ", Ti è stato assegnato il documento numero: " +
16924
16925
  this.m_obj.codice +
16925
16926
  " " +
16926
16927
  this.getTitle() +
16927
16928
  " - " +
16928
- this.getLvlDescri(String(this.m_liv), this.m_statox), "<br>Attività:" +
16929
+ this.getLvlDescri(String(this.m_liv), this.m_statox);
16930
+ let obj_mail_body = '';
16931
+ if (this.getDescri().indexOf('NOSTD|') == -1)
16932
+ obj_mail_body = "<br>Attività:" +
16929
16933
  this.getLvlDescri(String(this.m_liv), this.m_statox) +
16930
16934
  "<br>" +
16931
16935
  this.m_statox +
16932
16936
  "<br>" +
16933
16937
  this.getDescri() +
16934
- comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
16938
+ comm;
16939
+ else
16940
+ obj_mail_body = this.getDescri().split('NOSTD|').join('');
16941
+ if (this.nlevel.oggetto_email == null)
16942
+ this.sendEMail_ex(this.user_idp, this.m_danotificare, obj_mail, obj_mail_body, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
16935
16943
  "#/" +
16936
16944
  this.app_info.modulo_swf +
16937
16945
  "/" +
@@ -16940,19 +16948,7 @@ class dati_aggiuntivi {
16940
16948
  this.id_documento +
16941
16949
  "/edit", this.m_obj.codice, this.nota, true, ical);
16942
16950
  else if (this.nlevel.oggetto_email == "")
16943
- this.sendEMail_ex(this.user_idp, this.m_danotificare, this.app_info.descrizione_breve +
16944
- ", Ti è stato assegnato il documento numero: " +
16945
- this.m_obj.codice +
16946
- " " +
16947
- this.getTitle() +
16948
- " - " +
16949
- this.getLvlDescri(String(this.m_liv), this.m_statox), "<br>Attività:" +
16950
- this.getLvlDescri(String(this.m_liv), this.m_statox) +
16951
- "<br>" +
16952
- this.m_statox +
16953
- "<br>" +
16954
- this.getDescri() +
16955
- comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
16951
+ this.sendEMail_ex(this.user_idp, this.m_danotificare, obj_mail, obj_mail_body, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
16956
16952
  "#/" +
16957
16953
  this.app_info.modulo_swf +
16958
16954
  "/" +
@@ -17705,19 +17701,29 @@ class dati_aggiuntivi {
17705
17701
  .split("%" + prop + "%")
17706
17702
  .join(this.uti_s.date2String(this.uti_s.string2date(this.m_obj[prop], 2)));
17707
17703
  }
17708
- if (s_ogg == "")
17709
- this.sendEMail_ex(this.user_idp, s_notif, this.app_info.descrizione_breve +
17704
+ let obj_mail = '';
17705
+ if (this.getTitle().indexOf('NOSTD|') == -1)
17706
+ obj_mail = this.app_info.descrizione_breve +
17710
17707
  ", Ti è stato assegnato il documento numero: " +
17711
17708
  this.m_obj.codice +
17712
17709
  " " +
17713
17710
  this.getTitle() +
17714
17711
  " - " +
17715
- this.getLvlDescri(String(this.m_liv), this.m_statox), "<br>Attività:" +
17712
+ this.getLvlDescri(String(this.m_liv), this.m_statox);
17713
+ else
17714
+ obj_mail = this.getTitle().split('NOSTD|').join('');
17715
+ let obj_mail_body = '';
17716
+ if (this.getDescri().indexOf('NOSTD|') == -1)
17717
+ obj_mail_body = "<br>Attività:" +
17716
17718
  this.getLvlDescri(String(this.m_liv), this.m_statox) +
17717
17719
  "<br>" +
17718
17720
  this.m_statox +
17719
17721
  "<br>" +
17720
- this.getDescri(), this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
17722
+ this.getDescri();
17723
+ else
17724
+ obj_mail_body = this.getDescri().split('NOSTD|').join('');
17725
+ if (s_ogg == "")
17726
+ this.sendEMail_ex(this.user_idp, s_notif, obj_mail, obj_mail_body, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
17721
17727
  "#/" +
17722
17728
  this.app_info.modulo_swf +
17723
17729
  "/" +