@fluxhub/fluxhub-lib 10.0.743 → 10.0.745

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.
@@ -24491,15 +24491,17 @@ class dati_aggiuntivi_v2 {
24491
24491
  if (this.m_obj.canale != null && this.m_obj.canale != '')
24492
24492
  for (let i = 0; i < this.livs.length; i++)
24493
24493
  if (this.livs[i].step == liv) {
24494
- console.log(" liv " + this.livs[i]);
24494
+ console.log(" liv ", this.livs[i]);
24495
24495
  if (this.user_idp.toUpperCase() == this.livs[i].username.toUpperCase()) {
24496
24496
  console.log(this.m_obj.canale + " " + this.livs[i].context);
24497
24497
  if (this.m_obj.canale == this.livs[i].context) {
24498
+ console.log('clevel 1 ', this.livs[i]);
24498
24499
  this.clevel = this.livs[i];
24499
24500
  break;
24500
24501
  }
24501
24502
  }
24502
24503
  }
24504
+ console.log('clevel 2 ', this.clevel);
24503
24505
  if (this.clevel == null)
24504
24506
  for (let i = 0; i < this.livs.length; i++) {
24505
24507
  if (this.livs[i].username == null)
@@ -24518,8 +24520,9 @@ class dati_aggiuntivi_v2 {
24518
24520
  }
24519
24521
  }
24520
24522
  }
24523
+ console.log('clevel 2 ', this.clevel);
24521
24524
  this.clevel = this.check_n_levels(this.clevel);
24522
- if (this.clevel == null || this.clevel == "") {
24525
+ if (this.clevel == null || this.clevel == '') {
24523
24526
  this.alert("Errore di configurazione pratica contattare ufficio IT [0x002]", 1);
24524
24527
  return;
24525
24528
  }
@@ -24578,7 +24581,8 @@ class dati_aggiuntivi_v2 {
24578
24581
  }
24579
24582
  else {
24580
24583
  let dialogRef = this.m_dialog.open(win_select_level_v2, {
24581
- disableClose: true, data: transazioni
24584
+ disableClose: true,
24585
+ data: transazioni
24582
24586
  });
24583
24587
  dialogRef.afterClosed().subscribe((result) => {
24584
24588
  console.log('ris select level', result);
@@ -25547,6 +25551,11 @@ class dati_aggiuntivi_v2 {
25547
25551
  v.description = '';
25548
25552
  v.name = '';
25549
25553
  datav.result_data.push({ k: '*ALLUSERS', v: this.app_s.user, nc: this.app_s.user_surname + ' ' + this.app_s.user_name });
25554
+ datav.result_data.push({
25555
+ k: '*CURRENT_USER',
25556
+ v: this.app_s.user,
25557
+ nc: this.app_s.user_surname + ' ' + this.app_s.user_name
25558
+ });
25550
25559
  datav.result_data.map((v1) => {
25551
25560
  if (v.value.split('CREATOR').join('REQUESTER') == v1.k.split('CREATOR').join('REQUESTER')) {
25552
25561
  v.username = v1.v;
@@ -25841,7 +25850,7 @@ class dati_aggiuntivi_v2 {
25841
25850
  "" + this.m_obj.stato,
25842
25851
  "" + lvlb,
25843
25852
  ];
25844
- this.insert_wkf_variabile(this.id_applicativo, this.id_documento, this.m_obj.stato + "_PLAYER", this.user_idp);
25853
+ this.insert_wkf_variabile(this.id_applicativo, this.id_documento, "PLAYER_" + this.m_obj.stato, this.user_idp);
25845
25854
  this.m_liv = lvlb;
25846
25855
  this.m_wkf.doQuery(p).subscribe((data) => {
25847
25856
  if (data != null)