@fluxhub/fluxhub-lib 10.0.673 → 10.0.675

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.
@@ -23471,15 +23471,20 @@
23471
23471
  console.log(' result.arrsel ', result.arrsel);
23472
23472
  var arr_new_arr_1 = '';
23473
23473
  _this.m_obj.autori = '';
23474
+ _this.m_obj.pers_int = '';
23474
23475
  var b_edit_1 = false;
23475
23476
  result.arrsel.map(function (v) {
23476
23477
  if (arr_new_arr_1 != '')
23477
23478
  arr_new_arr_1 += ',';
23478
23479
  arr_new_arr_1 += v.username;
23479
23480
  if (_this.m_obj.autori.indexOf(v.username) == -1) {
23481
+ console.log('VVV ', v);
23480
23482
  if (_this.m_obj.autori != '')
23481
23483
  _this.m_obj.autori = _this.m_obj.autori + ',';
23482
23484
  _this.m_obj.autori = _this.m_obj.autori + v.username;
23485
+ if (_this.m_obj.pers_int != '')
23486
+ _this.m_obj.pers_int = _this.m_obj.pers_int + ',';
23487
+ _this.m_obj.pers_int = _this.m_obj.pers_int + v.cognome + ' ' + v.nome;
23483
23488
  }
23484
23489
  if (v.username == _this.app_info.user)
23485
23490
  b_edit_1 = true;
@@ -23500,8 +23505,8 @@
23500
23505
  _this.update_status(b_edit_1, true, _this.in_carico, _this.b_assenza_a, 19);
23501
23506
  var p = new QParam();
23502
23507
  p.sql = "UPDATE_WKF_DOC_AUTHOR";
23503
- p.values = [_this.id_applicativo, _this.id_documento, _this.m_obj.autori];
23504
- p.types = ["string", "string", "string"];
23508
+ p.values = [_this.id_applicativo, _this.id_documento, _this.m_obj.autori, _this.m_obj.pers_int];
23509
+ p.types = ["string", "string", "string", "string"];
23505
23510
  _this.m_dataService.doQuery(p).subscribe(function (data) {
23506
23511
  if (data != null)
23507
23512
  if (data.result_msg == "OK") {
@@ -23511,27 +23516,38 @@
23511
23516
  });
23512
23517
  if (result.op == 'C')
23513
23518
  _this.update_status(true, _this.respingi_enabled, _this.in_carico, _this.b_assenza_a, 18);
23514
- else
23515
- _this.sendEMail_ex(_this.user_idp, arr_new_arr_1, _this.app_info.descrizione_breve +
23516
- ", Ti è stato assegnato il documento numero: " +
23517
- _this.m_obj.codice +
23518
- " " +
23519
- _this.getTitle() +
23520
- " - " +
23521
- _this.getLvlDescri(String(_this.m_liv), _this.m_statox), "<br>Attività:" +
23522
- _this.getLvlDescri(String(_this.m_liv), _this.m_statox) +
23523
- "<br>" +
23524
- _this.m_statox +
23525
- "<br>" +
23526
- _this.getDescri(), _this.id_applicativo, _this.id_documento, _this.app_info.COMPANY_SITE_ROOT +
23527
- "#/" +
23528
- _this.app_info.modulo_swf +
23529
- "/" +
23530
- _this.id_applicativo +
23531
- "/" +
23532
- _this.id_documento +
23533
- "/edit", _this.m_obj.codice, "", true, "", false);
23534
- }
23519
+ /* else
23520
+ this.sendEMail_ex(
23521
+ this.user_idp,
23522
+ arr_new_arr,
23523
+ this.app_info.descrizione_breve +
23524
+ ", Ti è stato assegnato il documento numero: " +
23525
+ this.m_obj.codice +
23526
+ " " +
23527
+ this.getTitle() +
23528
+ " - " +
23529
+ this.getLvlDescri(String(this.m_liv), this.m_statox),
23530
+ "<br>Attività:" +
23531
+ this.getLvlDescri(String(this.m_liv), this.m_statox) +
23532
+ "<br>" +
23533
+ this.m_statox +
23534
+ "<br>" +
23535
+ this.getDescri(),
23536
+ this.id_applicativo,
23537
+ this.id_documento,
23538
+ this.app_info.COMPANY_SITE_ROOT +
23539
+ "#/" +
23540
+ this.app_info.modulo_swf +
23541
+ "/" +
23542
+ this.id_applicativo +
23543
+ "/" +
23544
+ this.id_documento +
23545
+ "/edit",
23546
+ this.m_obj.codice,
23547
+ "",
23548
+ true,
23549
+ "",false
23550
+ );*/ }
23535
23551
  });
23536
23552
  }
23537
23553
  });