@fluxhub/fluxhub-lib 21.0.13 → 21.0.15

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.
@@ -30292,6 +30292,11 @@ class FHWorkflowView {
30292
30292
  }
30293
30293
  riassegna_richiesta_step2() {
30294
30294
  let a_let = '';
30295
+ // Se la grid non espone oggetto/descrizione nei _FIELDS, sRow.oggetto e'
30296
+ // undefined e INSERT_TODO_GEST fallisce (oggetto NOT NULL).
30297
+ const sRow = this.get_grid().sRow;
30298
+ const oggetto = sRow.oggetto ?? sRow.codice ?? '';
30299
+ const descrizione = sRow.descrizione ?? '';
30295
30300
  let op = [];
30296
30301
  let app_op = new QParam();
30297
30302
  app_op.sql = 'DELETE_TODO_ALL_BYID';
@@ -30324,9 +30329,9 @@ class FHWorkflowView {
30324
30329
  this.id_applicativo,
30325
30330
  this.get_grid().sRow.uiid,
30326
30331
  this.wax[i].username,
30327
- this.get_grid().sRow.oggetto,
30332
+ oggetto,
30328
30333
  this.title,
30329
- this.get_grid().sRow.descrizione,
30334
+ descrizione,
30330
30335
  this.app_s.COMPANY_SITE_ROOT +
30331
30336
  '/#/' +
30332
30337
  this.app_root +
@@ -35437,7 +35442,7 @@ class FHWorkflowForm {
35437
35442
  ' ' +
35438
35443
  this.m_obj.codice +
35439
35444
  ' - ' +
35440
- this.tsr.instant(this.m_obj.stat_stato));
35445
+ (this.m_obj.stat_stato ? this.tsr.instant(this.m_obj.stat_stato) : ''));
35441
35446
  else
35442
35447
  this.uti_s.set_home_title(this.tsr.instant(this.app_info.descrizione_breve) +
35443
35448
  ' ' +
@@ -35445,12 +35450,12 @@ class FHWorkflowForm {
35445
35450
  '/' +
35446
35451
  this.m_obj.v +
35447
35452
  ' - ' +
35448
- this.tsr.instant(this.m_obj.stat_stato));
35453
+ (this.m_obj.stat_stato ? this.tsr.instant(this.m_obj.stat_stato) : ''));
35449
35454
  this.reset_form_v(this.tsr.instant(this.app_info.descrizione_breve) +
35450
35455
  ' ' +
35451
35456
  this.m_obj.codice +
35452
35457
  ' - ' +
35453
- this.tsr.instant(this.m_obj.stat_stato));
35458
+ (this.m_obj.stat_stato ? this.tsr.instant(this.m_obj.stat_stato) : ''));
35454
35459
  this.old_doc = JSON.parse(JSON.stringify(this.getfieldvalues()));
35455
35460
  });
35456
35461
  //+' ('+s_uto+')');