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