@fluxhub/fluxhub-lib 18.0.45 → 18.0.47

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.
@@ -42413,6 +42413,11 @@ class wkfapp_v2 {
42413
42413
  }
42414
42414
  riassegna_richiesta_step2() {
42415
42415
  let a_let = '';
42416
+ // Se la grid non espone oggetto/descrizione nei _FIELDS, sRow.oggetto e'
42417
+ // undefined e INSERT_TODO_GEST fallisce (oggetto NOT NULL).
42418
+ const sRow = this.get_grid().sRow;
42419
+ const oggetto = sRow.oggetto ?? sRow.codice ?? '';
42420
+ const descrizione = sRow.descrizione ?? '';
42416
42421
  let op = [];
42417
42422
  let app_op = new QParam();
42418
42423
  app_op.sql = 'DELETE_TODO_ALL_BYID';
@@ -42446,9 +42451,9 @@ class wkfapp_v2 {
42446
42451
  this.id_applicativo,
42447
42452
  this.get_grid().sRow.uiid,
42448
42453
  this.wax[i].username,
42449
- this.get_grid().sRow.oggetto,
42454
+ oggetto,
42450
42455
  this.title,
42451
- this.get_grid().sRow.descrizione,
42456
+ descrizione,
42452
42457
  this.app_s.COMPANY_SITE_ROOT +
42453
42458
  '/#/' +
42454
42459
  this.app_root +
@@ -45108,7 +45113,7 @@ class dati_aggiuntivi_v2 {
45108
45113
  ' ' +
45109
45114
  this.m_obj.codice +
45110
45115
  ' - ' +
45111
- this.tsr.instant(this.m_obj.stat_stato));
45116
+ (this.m_obj.stat_stato ? this.tsr.instant(this.m_obj.stat_stato) : ''));
45112
45117
  else
45113
45118
  this.uti_s.set_home_title(this.tsr.instant(this.app_info.descrizione_breve) +
45114
45119
  ' ' +
@@ -45116,12 +45121,12 @@ class dati_aggiuntivi_v2 {
45116
45121
  '/' +
45117
45122
  this.m_obj.v +
45118
45123
  ' - ' +
45119
- this.tsr.instant(this.m_obj.stat_stato));
45124
+ (this.m_obj.stat_stato ? this.tsr.instant(this.m_obj.stat_stato) : ''));
45120
45125
  this.reset_form_v(this.tsr.instant(this.app_info.descrizione_breve) +
45121
45126
  ' ' +
45122
45127
  this.m_obj.codice +
45123
45128
  ' - ' +
45124
- this.tsr.instant(this.m_obj.stat_stato));
45129
+ (this.m_obj.stat_stato ? this.tsr.instant(this.m_obj.stat_stato) : ''));
45125
45130
  this.old_doc = JSON.parse(JSON.stringify(this.getfieldvalues()));
45126
45131
  });
45127
45132
  // console.log("🚀 ~ file: wkfdatiaggiuntivi.ts ~ line 2301 ~ dati_aggiuntivi_v2 ~ return_edit 222 ~ b_respingi_button", this.b_respingi_button)