@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.
@@ -16076,18 +16076,18 @@ var dati_aggiuntivi = /** @class */ (function () {
16076
16076
  liv = this.wkf_rule(cliv);
16077
16077
  /** @type {?} */
16078
16078
  var bfound = false;
16079
- for (var i = 0; i < this.livs.length; i++)
16080
- if (this.livs[i].notifica == 0 && (this.clevel.gruppo_parallelo == "" || this.clevel.gruppo_parallelo == this.livs[i].gruppo_parallelo))
16081
- if (this.livs[i].livello == liv) {
16082
- this.nlevel = this.livs[i];
16083
- liv = this.livs[i].livello;
16079
+ for (var i_2 = 0; i_2 < this.livs.length; i_2++)
16080
+ if (this.livs[i_2].notifica == 0 && (this.clevel.gruppo_parallelo == "" || this.clevel.gruppo_parallelo == this.livs[i_2].gruppo_parallelo))
16081
+ if (this.livs[i_2].livello == liv) {
16082
+ this.nlevel = this.livs[i_2];
16083
+ liv = this.livs[i_2].livello;
16084
16084
  bfound = true;
16085
16085
  }
16086
16086
  if (!bfound)
16087
- for (var i = 0; i < this.livs.length; i++)
16088
- if (this.livs[i].livello == liv && this.livs[i].notifica == 0) {
16089
- this.nlevel = this.livs[i];
16090
- liv = this.livs[i].livello;
16087
+ for (var i_3 = 0; i_3 < this.livs.length; i_3++)
16088
+ if (this.livs[i_3].livello == liv && this.livs[i_3].notifica == 0) {
16089
+ this.nlevel = this.livs[i_3];
16090
+ liv = this.livs[i_3].livello;
16091
16091
  break;
16092
16092
  }
16093
16093
  /** @type {?} */
@@ -16391,7 +16391,7 @@ var dati_aggiuntivi = /** @class */ (function () {
16391
16391
  this.m_autori,
16392
16392
  this.m_danotificare,
16393
16393
  this.m_obj.codice + " - " + this.getTitle(),
16394
- this.getTitle() + "Il documento: " + this.m_obj.codice + " è passata allo stato: " + this.m_statox,
16394
+ this.getTitle() + "Il documento: " + this.m_obj.codice + " è passato allo stato: " + this.m_statox,
16395
16395
  this.app_s.COMPANY_SITE_ROOT + "#/" + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit",
16396
16396
  "In approvazione",
16397
16397
  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];
@@ -16468,6 +16468,11 @@ var dati_aggiuntivi = /** @class */ (function () {
16468
16468
  else {
16469
16469
  /** @type {?} */
16470
16470
  var s_ogg = this.nlevel.oggetto_email;
16471
+ s_ogg = s_ogg.split('new_step').join(this.m_statox);
16472
+ if (this.clevel != null)
16473
+ if (this.clevel.descri_livello != null)
16474
+ s_ogg = s_ogg.split('old_step').join(this.clevel.descri_livello);
16475
+ s_ogg = s_ogg.split('old_step').join('');
16471
16476
  for (var prop in this.m_obj)
16472
16477
  if (this.m_obj[prop] != null) {
16473
16478
  console.log(prop + " " + Object.prototype.toString.call(this.m_obj[prop]));