@fluxhub/fluxhub-lib 10.0.700 → 10.0.702

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.
@@ -24212,7 +24212,7 @@ class dati_aggiuntivi_v2 {
24212
24212
  this.limite_salto_after = -1;
24213
24213
  this.transizione_info = {};
24214
24214
  this.respingi_enabled = false;
24215
- this.b_assenza_a = false;
24215
+ this.b_assengna_a = false;
24216
24216
  this.ttw = 0;
24217
24217
  this.email_bloccate = false;
24218
24218
  this.oper = "";
@@ -24393,8 +24393,8 @@ class dati_aggiuntivi_v2 {
24393
24393
  if (this.m_obj.assegnati_paralleli != null)
24394
24394
  if (this.m_obj.assegnati_paralleli.split(',').length != 1)
24395
24395
  if (this.m_obj.assegnati_paralleli.indexOf(this.app_s.user) > -1)
24396
- this.b_assenza_a = true;
24397
- this.update_status(true, null, this.in_carico, this.b_assenza_a, 1);
24396
+ this.b_assengna_a = true;
24397
+ this.update_status(true, null, this.in_carico, this.b_assengna_a, 1);
24398
24398
  this.m_obj.autori = this.app_s.user;
24399
24399
  let p = new QParam();
24400
24400
  p.sql = "UPDATE_WKF_PRENDI_IN_CARICO";
@@ -24940,15 +24940,15 @@ class dati_aggiuntivi_v2 {
24940
24940
  if (this.m_obj.autori.split(',').length != 1)
24941
24941
  this.in_carico = true;
24942
24942
  console.log(this.m_obj.autori, this.in_carico);
24943
- this.b_assenza_a = false;
24943
+ this.b_assengna_a = false;
24944
24944
  if (this.m_obj.assegnati_paralleli != null)
24945
24945
  if (this.m_obj.assegnati_paralleli.split(',').length != 1)
24946
24946
  if (this.m_obj.assegnati_paralleli.indexOf(this.app_s.user) > -1)
24947
- this.b_assenza_a = true;
24948
- // console.log('this.m_obj.autori ',this.m_obj.autori, this.in_carico, this.b_assenza_a);
24949
- this.update_status(b_edit, false, this.in_carico, this.b_assenza_a, 18);
24947
+ this.b_assengna_a = true;
24948
+ // console.log('this.m_obj.autori ',this.m_obj.autori, this.in_carico, this.b_assengna_a);
24949
+ this.update_status(b_edit, false, this.in_carico, this.b_assengna_a, 18);
24950
24950
  if (this.respingi_enabled)
24951
- this.update_status(b_edit, true, this.in_carico, this.b_assenza_a, 19);
24951
+ this.update_status(b_edit, true, this.in_carico, this.b_assengna_a, 19);
24952
24952
  let p = new QParam();
24953
24953
  p.sql = "UPDATE_WKF_DOC_AUTHOR";
24954
24954
  p.values = [this.id_applicativo, this.id_documento, this.m_obj.autori, this.m_obj.pers_int];
@@ -24961,7 +24961,7 @@ class dati_aggiuntivi_v2 {
24961
24961
  types: ['string', 'string', 'string', 'string', 'string'], names: [] }).subscribe((data) => {
24962
24962
  });
24963
24963
  if (result.op == 'C')
24964
- this.update_status(true, this.respingi_enabled, this.in_carico, this.b_assenza_a, 18);
24964
+ this.update_status(true, this.respingi_enabled, this.in_carico, this.b_assengna_a, 18);
24965
24965
  /* else
24966
24966
  this.sendEMail_ex(
24967
24967
  this.user_idp,
@@ -25447,15 +25447,17 @@ class dati_aggiuntivi_v2 {
25447
25447
  if (this.m_obj.assegnati_paralleli != null)
25448
25448
  if (this.m_obj.assegnati_paralleli.split(',').length != 1)
25449
25449
  if (this.m_obj.assegnati_paralleli.indexOf(this.app_s.user) > -1)
25450
- this.b_assenza_a = true;
25450
+ this.b_assengna_a = true;
25451
25451
  this.in_carico = false;
25452
- if (this.m_obj.autori == null)
25453
- this.in_carico = true;
25454
- else if (this.m_obj.autori == '')
25455
- this.in_carico = true;
25456
- else if (this.m_obj.autori.split(',').length != 1)
25457
- this.in_carico = true;
25458
- this.update_status(false, null, this.b_assenza_a && this.in_carico, this.b_assenza_a, 14);
25452
+ if (this.b_assengna_a) {
25453
+ if (this.m_obj.autori == null)
25454
+ this.in_carico = true;
25455
+ else if (this.m_obj.autori == '')
25456
+ this.in_carico = true;
25457
+ else if (this.m_obj.autori.split(',').length != 1)
25458
+ this.in_carico = true;
25459
+ }
25460
+ this.update_status(false, null, this.b_assengna_a && this.in_carico, this.b_assengna_a, 14);
25459
25461
  this.save_to_app_state();
25460
25462
  let p = new QParam();
25461
25463
  p.sql = "SELECT_WLIVELLIV2_2";
@@ -25989,11 +25991,11 @@ class dati_aggiuntivi_v2 {
25989
25991
  if (this.m_obj.assegnati_paralleli != null)
25990
25992
  if (this.m_obj.assegnati_paralleli.split(',').length != 1)
25991
25993
  if (this.m_obj.assegnati_paralleli.indexOf(this.app_s.user) > -1)
25992
- this.b_assenza_a = true;
25994
+ this.b_assengna_a = true;
25993
25995
  // }
25994
- this.update_status(true, false, this.in_carico, this.b_assenza_a, 16);
25996
+ this.update_status(true, false, this.in_carico, this.b_assengna_a, 16);
25995
25997
  if (this.respingi_enabled)
25996
- this.update_status(null, true, this.in_carico, this.b_assenza_a, 17);
25998
+ this.update_status(null, true, this.in_carico, this.b_assengna_a, 17);
25997
25999
  }
25998
26000
  this.r_count();
25999
26001
  this.s_uto = '';
@@ -26272,7 +26274,7 @@ wkf_header_bar_v2.decorators = [
26272
26274
  <button
26273
26275
  mat-flat-button
26274
26276
  (click)="prendi_in_carico()"
26275
- *ngIf="(edit_button) && in_carico"
26277
+ *ngIf="in_carico"
26276
26278
  style="background-color:#709D66;color:#FFFFFF;font-weight:bold"
26277
26279
  >
26278
26280
  {{prendi_in_carico_lbl | translate}}</button