@fluxhub/fluxhub-lib 1.0.288 → 1.0.289

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.
@@ -15676,8 +15676,16 @@
15676
15676
  a_partecipanti = this.get_grid().sRow.partecipanti;
15677
15677
  /** @type {?} */
15678
15678
  var a_datanot = "";
15679
- //Alert.show(String(wax.dataSelect.length));
15679
+ /** @type {?} */
15680
+ var old_grp = "XCXXX";
15680
15681
  for (var i = 0; i < this.wax.length; i++) {
15682
+ if (old_grp == "XCXXX" || old_grp == this.wax[i].gruppo_parallelo) {
15683
+ old_grp = this.wax[i].gruppo_parallelo;
15684
+ }
15685
+ else {
15686
+ this._toastr.error('impossibile assegnare a utenti di gruppi distiniti');
15687
+ return;
15688
+ }
15681
15689
  if (a_datanot != "")
15682
15690
  a_datanot = a_datanot + ",";
15683
15691
  a_datanot = a_datanot + this.wax[i].idp;
@@ -15727,17 +15735,11 @@
15727
15735
  }));
15728
15736
  /** @type {?} */
15729
15737
  var ccan = "$$";
15730
- for (var i = 0; i < this.livs_adm.length; i++)
15731
- for (var y = 0; y < this.wax.length; y++) {
15732
- if (this.livs_adm[i].livello == this.os_r.livello && this.wax[y].idp == this.livs_adm[i].idp) {
15733
- if (ccan != "$$") {
15734
- ccan = "$$";
15735
- break;
15736
- }
15737
- else
15738
- ccan = this.livs_adm[i].gruppo_parallelo;
15739
- }
15740
- }
15738
+ if (this.wax.length > 0) {
15739
+ if (this.wax[0].gruppo_parallelo != null)
15740
+ if (this.wax[0].gruppo_parallelo != '')
15741
+ ccan = this.wax[0].gruppo_parallelo;
15742
+ }
15741
15743
  console.log('riassegnazione canale: ', ccan);
15742
15744
  /** @type {?} */
15743
15745
  var p = new QParam();
@@ -16427,6 +16429,7 @@
16427
16429
  this.app_s.getState().wkf_doc_info.stato = this.m_obj.stat_stato;
16428
16430
  this.app_s.getState().wkf_doc_info.uiid_app = this.id_applicativo;
16429
16431
  this.app_s.getState().wkf_doc_info.uiid_doc = this.m_obj.id_documento;
16432
+ this.app_s.getState().wkf_doc_info.canale = this.m_obj.canale;
16430
16433
  };
16431
16434
  /**
16432
16435
  * @return {?}