@fluxhub/fluxhub-lib 10.0.655 → 10.0.656

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.
@@ -24196,7 +24196,7 @@ class dati_aggiuntivi_v2 {
24196
24196
  if (this.m_obj.assegnati_paralleli != null)
24197
24197
  if (this.m_obj.assegnati_paralleli.split(',').length != 1)
24198
24198
  this.b_assenza_a = true;
24199
- this.update_status(true, null, this.in_carico, this.b_assenza_a);
24199
+ this.update_status(true, null, this.in_carico, this.b_assenza_a, 1);
24200
24200
  this.m_obj.autori = this.app_s.user;
24201
24201
  let p = new QParam();
24202
24202
  p.sql = "UPDATE_WKF_PRENDI_IN_CARICO";
@@ -24411,7 +24411,7 @@ class dati_aggiuntivi_v2 {
24411
24411
  dialogRef.afterClosed().subscribe((result) => {
24412
24412
  console.log('ris select level', result);
24413
24413
  if (result == null) {
24414
- this.update_status(true, null, null, null);
24414
+ this.update_status(true, null, null, null, 2);
24415
24415
  return;
24416
24416
  }
24417
24417
  this.calcolanextandjump2(result);
@@ -24467,7 +24467,7 @@ class dati_aggiuntivi_v2 {
24467
24467
  this.calcola_destinari(o);
24468
24468
  }
24469
24469
  else {
24470
- this.update_status(this.b_edit_before, null, null, null);
24470
+ this.update_status(this.b_edit_before, null, null, null, 3);
24471
24471
  }
24472
24472
  }
24473
24473
  calcola_destinari(o) {
@@ -24529,9 +24529,9 @@ class dati_aggiuntivi_v2 {
24529
24529
  });
24530
24530
  dialogRef.afterClosed().subscribe((result) => {
24531
24531
  if (result == '' || result == null) {
24532
- this.update_status(true, false, null, null);
24532
+ this.update_status(true, false, null, null, 4);
24533
24533
  if (this.respingi_enabled)
24534
- this.update_status(true, true, null, null);
24534
+ this.update_status(true, true, null, null, 5);
24535
24535
  return;
24536
24536
  }
24537
24537
  this.exec_wkf(o, this.nlevel, result.arrsel, result.nota, this.transizione_info.create_ver);
@@ -24567,9 +24567,9 @@ class dati_aggiuntivi_v2 {
24567
24567
  });
24568
24568
  dialogRef.afterClosed().subscribe((result) => {
24569
24569
  if (result == null || result == "abort") {
24570
- this.update_status(true, false, null, null);
24570
+ this.update_status(true, false, null, null, 6);
24571
24571
  if (this.respingi_enabled)
24572
- this.update_status(true, true, null, null);
24572
+ this.update_status(true, true, null, null, 7);
24573
24573
  return;
24574
24574
  }
24575
24575
  this.exec_wkf(o, this.nlevel, arrAutori, result, this.transizione_info.create_ver);
@@ -24839,17 +24839,17 @@ class dati_aggiuntivi_v2 {
24839
24839
  respingi() {
24840
24840
  this.oper = "respingi";
24841
24841
  this.btnprocedi = true;
24842
- this.update_status(false, false, null, null);
24842
+ this.update_status(false, false, null, null, 8);
24843
24843
  this.salva();
24844
24844
  }
24845
24845
  procedi() {
24846
24846
  this.oper = "procedi";
24847
24847
  this.btnprocedi = true;
24848
- this.update_status(false, false, null, null);
24848
+ this.update_status(false, false, null, null, 9);
24849
24849
  if (!this.ck_field()) {
24850
- this.update_status(true, null, null, null);
24850
+ this.update_status(true, null, null, null, 10);
24851
24851
  if (this.respingi_enabled)
24852
- this.update_status(true, true, null, null);
24852
+ this.update_status(true, true, null, null, 11);
24853
24853
  return;
24854
24854
  }
24855
24855
  this.salva();
@@ -24965,7 +24965,7 @@ class dati_aggiuntivi_v2 {
24965
24965
  save_agg() {
24966
24966
  this.before_save();
24967
24967
  this.b_edit_before = this.b_edit && this.b_rip_pulsanti;
24968
- this.update_status(false, null, null, null);
24968
+ this.update_status(false, null, null, null, 12);
24969
24969
  let arr = this.getfieldvalues();
24970
24970
  // console.log('arr',arr);
24971
24971
  let p = new QParam();
@@ -25036,7 +25036,7 @@ class dati_aggiuntivi_v2 {
25036
25036
  if (!this.btnprocedi) {
25037
25037
  this.alert("DOCUMENTO SALVATO", 0);
25038
25038
  this.after_save();
25039
- this.update_status(this.b_edit_before, null, null, null);
25039
+ this.update_status(this.b_edit_before, null, null, null, 13);
25040
25040
  if (!this.b_edit && !this.btnprocedi)
25041
25041
  this.m_router.navigate([
25042
25042
  this.app_info.modulo_swf,
@@ -25086,7 +25086,7 @@ class dati_aggiuntivi_v2 {
25086
25086
  }
25087
25087
  ok_load_document(o) {
25088
25088
  this.m_obj = (JSON.parse(JSON.stringify(o)));
25089
- this.update_status(false, null, null, null);
25089
+ this.update_status(false, null, null, null, 14);
25090
25090
  this.save_to_app_state();
25091
25091
  let p = new QParam();
25092
25092
  p.sql = "SELECT_WLIVELLIV2_2";
@@ -25590,7 +25590,7 @@ class dati_aggiuntivi_v2 {
25590
25590
  this.livs[i].context == "*ALLUSERS") {
25591
25591
  // if (this.livs[i].abilita_indietro == 1) this.respingi_enabled = true;
25592
25592
  // else this.respingi_enabled = false;
25593
- this.update_status(true, null, null, null);
25593
+ this.update_status(true, null, null, null, 15);
25594
25594
  break;
25595
25595
  }
25596
25596
  }
@@ -25621,9 +25621,9 @@ class dati_aggiuntivi_v2 {
25621
25621
  if (this.m_obj.assegnati_paralleli.split(',').length != 1)
25622
25622
  this.b_assenza_a = true;
25623
25623
  // }
25624
- this.update_status(true, false, this.in_carico, this.b_assenza_a);
25624
+ this.update_status(true, false, this.in_carico, this.b_assenza_a, 16);
25625
25625
  if (this.respingi_enabled)
25626
- this.update_status(null, true, this.in_carico, this.b_assenza_a);
25626
+ this.update_status(null, true, this.in_carico, this.b_assenza_a, 17);
25627
25627
  }
25628
25628
  this.r_count();
25629
25629
  this.s_uto = '';