@fluxhub/fluxhub-lib 10.0.706 → 10.0.708

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.
@@ -24414,6 +24414,8 @@ class dati_aggiuntivi_v2 {
24414
24414
  this.m_dataService.doQuery(p).subscribe();
24415
24415
  }
24416
24416
  salva() {
24417
+ if (!this.can_save())
24418
+ return;
24417
24419
  if (this.save_alreadypressed)
24418
24420
  return;
24419
24421
  this.save_alreadypressed = true;
@@ -25043,7 +25045,7 @@ class dati_aggiuntivi_v2 {
25043
25045
  })];
25044
25046
  else
25045
25047
  p.values = [uiid_op, JSON.stringify({
25046
- transizione: { uiid_wkf: trans.uiid_wkf, uiid: trans.uiid, step_d: trans.step_d },
25048
+ transizione: { uiid_wkf: trans.uiid_wkf, uiid: trans.uiid, step_d: trans.step_d, step_o: trans.step_o },
25047
25049
  commento: comm,
25048
25050
  id_applicazione: this.id_applicativo,
25049
25051
  id_documento: this.id_documento,
@@ -25201,12 +25203,16 @@ class dati_aggiuntivi_v2 {
25201
25203
  });
25202
25204
  }
25203
25205
  respingi() {
25206
+ if (!this.can_save())
25207
+ return;
25204
25208
  this.oper = "respingi";
25205
25209
  this.btnprocedi = true;
25206
25210
  this.update_status(false, false, null, null, 8);
25207
25211
  this.salva();
25208
25212
  }
25209
25213
  procedi() {
25214
+ if (!this.can_save())
25215
+ return;
25210
25216
  this.oper = "procedi";
25211
25217
  this.btnprocedi = true;
25212
25218
  this.update_status(false, false, null, null, 9);
@@ -25326,6 +25332,9 @@ class dati_aggiuntivi_v2 {
25326
25332
  }
25327
25333
  });
25328
25334
  }
25335
+ can_save() {
25336
+ return true;
25337
+ }
25329
25338
  save_agg() {
25330
25339
  this.before_save();
25331
25340
  this.b_edit_before = this.b_edit && this.b_rip_pulsanti;