@fluxhub/fluxhub-lib 1.0.491 → 1.0.493

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.
@@ -15483,8 +15483,8 @@ class dati_aggiuntivi {
15483
15483
  }
15484
15484
  liv = this.wkf_rule(cliv);
15485
15485
  /** @type {?} */
15486
- var bfound = false;
15487
- for (var i = 0; i < this.livs.length; i++)
15486
+ let bfound = false;
15487
+ for (let i = 0; i < this.livs.length; i++)
15488
15488
  if (this.livs[i].notifica == 0 && (this.clevel.gruppo_parallelo == "" || this.clevel.gruppo_parallelo == this.livs[i].gruppo_parallelo))
15489
15489
  if (this.livs[i].livello == liv) {
15490
15490
  this.nlevel = this.livs[i];
@@ -15492,7 +15492,7 @@ class dati_aggiuntivi {
15492
15492
  bfound = true;
15493
15493
  }
15494
15494
  if (!bfound)
15495
- for (var i = 0; i < this.livs.length; i++)
15495
+ for (let i = 0; i < this.livs.length; i++)
15496
15496
  if (this.livs[i].livello == liv && this.livs[i].notifica == 0) {
15497
15497
  this.nlevel = this.livs[i];
15498
15498
  liv = this.livs[i].livello;
@@ -15786,7 +15786,7 @@ class dati_aggiuntivi {
15786
15786
  this.m_autori,
15787
15787
  this.m_danotificare,
15788
15788
  this.m_obj.codice + " - " + this.getTitle(),
15789
- this.getTitle() + "Il documento: " + this.m_obj.codice + " è passata allo stato: " + this.m_statox,
15789
+ this.getTitle() + "Il documento: " + this.m_obj.codice + " è passato allo stato: " + this.m_statox,
15790
15790
  this.app_s.COMPANY_SITE_ROOT + "#/" + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit",
15791
15791
  "In approvazione",
15792
15792
  this.getDescri(), this.user_idp, this.m_statox, this.m_oper, this.id_applicativo, this.id_documento, '' + this.m_crea_att, '' + this.m_send_email, '' + this.clevel.livello, '' + this.nlevel.livello];
@@ -15863,6 +15863,11 @@ class dati_aggiuntivi {
15863
15863
  else {
15864
15864
  /** @type {?} */
15865
15865
  let s_ogg = this.nlevel.oggetto_email;
15866
+ s_ogg = s_ogg.split('new_step').join(this.m_statox);
15867
+ if (this.clevel != null)
15868
+ if (this.clevel.descri_livello != null)
15869
+ s_ogg = s_ogg.split('old_step').join(this.clevel.descri_livello);
15870
+ s_ogg = s_ogg.split('old_step').join('');
15866
15871
  for (let prop in this.m_obj)
15867
15872
  if (this.m_obj[prop] != null) {
15868
15873
  console.log(prop + " " + Object.prototype.toString.call(this.m_obj[prop]));