@fluxhub/fluxhub-lib 10.0.720 → 10.0.721

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.
@@ -23553,11 +23553,11 @@
23553
23553
  } });
23554
23554
  dialogRef.afterClosed().subscribe(function (result) {
23555
23555
  if (result) {
23556
- if (result.arrsel.lenght == 0) {
23556
+ if (result.arrsel.length == 0) {
23557
23557
  _this.alert("Impossibile riassegnare", 1);
23558
23558
  return;
23559
23559
  }
23560
- console.log(' result.arrsel ', result.arrsel);
23560
+ // console.log(' result.arrsel ', result.arrsel);
23561
23561
  var arr_new_arr_1 = '';
23562
23562
  _this.m_obj.autori = '';
23563
23563
  _this.m_obj.pers_int = '';
@@ -23603,8 +23603,30 @@
23603
23603
  values: [_this.id_applicativo, _this.user_idp, 'DOCUMENTO RIASSEGNATO', 'DOCUMENTO RIASSEGNATO A: ' + arr_new_arr_1, _this.id_documento],
23604
23604
  types: ['string', 'string', 'string', 'string', 'string'], names: [] }).subscribe(function (data) {
23605
23605
  });
23606
- if (result.op == 'C')
23606
+ if (result.op == 'C') {
23607
23607
  _this.update_status(true, _this.respingi_enabled, _this.in_carico, _this.b_assengna_a, 18);
23608
+ }
23609
+ if (result.op == 'A') {
23610
+ _this.sendEMail_ex(_this.user_idp, arr_new_arr_1, _this.app_info.descrizione_breve +
23611
+ ", Ti è stato assegnato il documento numero: " +
23612
+ _this.m_obj.codice +
23613
+ " " +
23614
+ _this.getTitle() +
23615
+ " - " +
23616
+ _this.getLvlDescri(String(_this.m_liv), _this.m_statox), "<br>Attività:" +
23617
+ _this.getLvlDescri(String(_this.m_liv), _this.m_statox) +
23618
+ "<br>" +
23619
+ _this.m_statox +
23620
+ "<br>" +
23621
+ _this.getDescri(), _this.id_applicativo, _this.id_documento, _this.app_info.COMPANY_SITE_ROOT +
23622
+ "#/" +
23623
+ _this.app_info.modulo_swf +
23624
+ "/" +
23625
+ _this.id_applicativo +
23626
+ "/" +
23627
+ _this.id_documento +
23628
+ "/edit", _this.m_obj.codice, "", true, "", false);
23629
+ }
23608
23630
  /* else
23609
23631
  this.sendEMail_ex(
23610
23632
  this.user_idp,