@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.
@@ -17867,20 +17867,28 @@
17867
17867
  this.id_documento +
17868
17868
  "/edit", this.m_obj.codice, this.nota, true, ical);
17869
17869
  else {
17870
- if (this.nlevel.oggetto_email == null)
17871
- this.sendEMail_ex(this.user_idp, this.m_danotificare, this.app_info.descrizione_breve +
17870
+ var obj_mail = '';
17871
+ if (this.getTitle().indexOf('NOSTD|') == -1)
17872
+ obj_mail = this.app_info.descrizione_breve +
17872
17873
  ", Ti è stato assegnato il documento numero: " +
17873
17874
  this.m_obj.codice +
17874
17875
  " " +
17875
17876
  this.getTitle() +
17876
17877
  " - " +
17877
- this.getLvlDescri(String(this.m_liv), this.m_statox), "<br>Attività:" +
17878
+ this.getLvlDescri(String(this.m_liv), this.m_statox);
17879
+ var obj_mail_body = '';
17880
+ if (this.getDescri().indexOf('NOSTD|') == -1)
17881
+ obj_mail_body = "<br>Attività:" +
17878
17882
  this.getLvlDescri(String(this.m_liv), this.m_statox) +
17879
17883
  "<br>" +
17880
17884
  this.m_statox +
17881
17885
  "<br>" +
17882
17886
  this.getDescri() +
17883
- comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
17887
+ comm;
17888
+ else
17889
+ obj_mail_body = this.getDescri().split('NOSTD|').join('');
17890
+ if (this.nlevel.oggetto_email == null)
17891
+ 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 +
17884
17892
  "#/" +
17885
17893
  this.app_info.modulo_swf +
17886
17894
  "/" +
@@ -17889,19 +17897,7 @@
17889
17897
  this.id_documento +
17890
17898
  "/edit", this.m_obj.codice, this.nota, true, ical);
17891
17899
  else if (this.nlevel.oggetto_email == "")
17892
- this.sendEMail_ex(this.user_idp, this.m_danotificare, this.app_info.descrizione_breve +
17893
- ", Ti è stato assegnato il documento numero: " +
17894
- this.m_obj.codice +
17895
- " " +
17896
- this.getTitle() +
17897
- " - " +
17898
- this.getLvlDescri(String(this.m_liv), this.m_statox), "<br>Attività:" +
17899
- this.getLvlDescri(String(this.m_liv), this.m_statox) +
17900
- "<br>" +
17901
- this.m_statox +
17902
- "<br>" +
17903
- this.getDescri() +
17904
- comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
17900
+ 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 +
17905
17901
  "#/" +
17906
17902
  this.app_info.modulo_swf +
17907
17903
  "/" +
@@ -18675,19 +18671,29 @@
18675
18671
  .split("%" + prop + "%")
18676
18672
  .join(_this.uti_s.date2String(_this.uti_s.string2date(_this.m_obj[prop], 2)));
18677
18673
  }
18678
- if (s_ogg == "")
18679
- _this.sendEMail_ex(_this.user_idp, s_notif, _this.app_info.descrizione_breve +
18674
+ var obj_mail = '';
18675
+ if (_this.getTitle().indexOf('NOSTD|') == -1)
18676
+ obj_mail = _this.app_info.descrizione_breve +
18680
18677
  ", Ti è stato assegnato il documento numero: " +
18681
18678
  _this.m_obj.codice +
18682
18679
  " " +
18683
18680
  _this.getTitle() +
18684
18681
  " - " +
18685
- _this.getLvlDescri(String(_this.m_liv), _this.m_statox), "<br>Attività:" +
18682
+ _this.getLvlDescri(String(_this.m_liv), _this.m_statox);
18683
+ else
18684
+ obj_mail = _this.getTitle().split('NOSTD|').join('');
18685
+ var obj_mail_body = '';
18686
+ if (_this.getDescri().indexOf('NOSTD|') == -1)
18687
+ obj_mail_body = "<br>Attività:" +
18686
18688
  _this.getLvlDescri(String(_this.m_liv), _this.m_statox) +
18687
18689
  "<br>" +
18688
18690
  _this.m_statox +
18689
18691
  "<br>" +
18690
- _this.getDescri(), _this.id_applicativo, _this.id_documento, _this.app_s.COMPANY_SITE_ROOT +
18692
+ _this.getDescri();
18693
+ else
18694
+ obj_mail_body = _this.getDescri().split('NOSTD|').join('');
18695
+ if (s_ogg == "")
18696
+ _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 +
18691
18697
  "#/" +
18692
18698
  _this.app_info.modulo_swf +
18693
18699
  "/" +