@fluxhub/fluxhub-lib 10.0.441 → 10.0.443

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,30 @@ 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
+ else
16931
+ obj_mail = this.getTitle().split('NOSTD|').join('');
16932
+ let obj_mail_body = '';
16933
+ if (this.getDescri().indexOf('NOSTD|') == -1)
16934
+ obj_mail_body = "<br>Attività:" +
16929
16935
  this.getLvlDescri(String(this.m_liv), this.m_statox) +
16930
16936
  "<br>" +
16931
16937
  this.m_statox +
16932
16938
  "<br>" +
16933
16939
  this.getDescri() +
16934
- comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
16940
+ comm;
16941
+ else
16942
+ obj_mail_body = this.getDescri().split('NOSTD|').join('');
16943
+ if (this.nlevel.oggetto_email == null)
16944
+ 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
16945
  "#/" +
16936
16946
  this.app_info.modulo_swf +
16937
16947
  "/" +
@@ -16940,19 +16950,7 @@ class dati_aggiuntivi {
16940
16950
  this.id_documento +
16941
16951
  "/edit", this.m_obj.codice, this.nota, true, ical);
16942
16952
  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 +
16953
+ 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
16954
  "#/" +
16957
16955
  this.app_info.modulo_swf +
16958
16956
  "/" +
@@ -17705,19 +17703,29 @@ class dati_aggiuntivi {
17705
17703
  .split("%" + prop + "%")
17706
17704
  .join(this.uti_s.date2String(this.uti_s.string2date(this.m_obj[prop], 2)));
17707
17705
  }
17708
- if (s_ogg == "")
17709
- this.sendEMail_ex(this.user_idp, s_notif, this.app_info.descrizione_breve +
17706
+ let obj_mail = '';
17707
+ if (this.getTitle().indexOf('NOSTD|') == -1)
17708
+ obj_mail = this.app_info.descrizione_breve +
17710
17709
  ", Ti è stato assegnato il documento numero: " +
17711
17710
  this.m_obj.codice +
17712
17711
  " " +
17713
17712
  this.getTitle() +
17714
17713
  " - " +
17715
- this.getLvlDescri(String(this.m_liv), this.m_statox), "<br>Attività:" +
17714
+ this.getLvlDescri(String(this.m_liv), this.m_statox);
17715
+ else
17716
+ obj_mail = this.getTitle().split('NOSTD|').join('');
17717
+ let obj_mail_body = '';
17718
+ if (this.getDescri().indexOf('NOSTD|') == -1)
17719
+ obj_mail_body = "<br>Attività:" +
17716
17720
  this.getLvlDescri(String(this.m_liv), this.m_statox) +
17717
17721
  "<br>" +
17718
17722
  this.m_statox +
17719
17723
  "<br>" +
17720
- this.getDescri(), this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
17724
+ this.getDescri();
17725
+ else
17726
+ obj_mail_body = this.getDescri().split('NOSTD|').join('');
17727
+ if (s_ogg == "")
17728
+ 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
17729
  "#/" +
17722
17730
  this.app_info.modulo_swf +
17723
17731
  "/" +