@fluxhub/fluxhub-lib 10.0.726 → 10.0.728

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.
@@ -10533,9 +10533,9 @@ class FHFormToolBarComponent {
10533
10533
  this.is_editing = false;
10534
10534
  this.App = "";
10535
10535
  this.K = "";
10536
- this.mgs_back = "Back";
10537
- this.mgs_edit = "Edit";
10538
- this.mgs_save = "Save";
10536
+ this.mgs_back = "Indietro";
10537
+ this.mgs_edit = "Modifica";
10538
+ this.mgs_save = "Salva";
10539
10539
  this.b_commento = false;
10540
10540
  this.log_enabled = true;
10541
10541
  this.custom_commands = [];
@@ -10580,7 +10580,7 @@ FHFormToolBarComponent.decorators = [
10580
10580
  [hidden]="is_editing"
10581
10581
  fxLayoutAlign="start center"
10582
10582
  >
10583
- <div><button mat-flat-button [hidden]="!show_back" (click)="back()">{{ mgs_back }}</button> </div>
10583
+ <div><button mat-flat-button [hidden]="!show_back" (click)="back()">{{ mgs_back | translate }}</button> </div>
10584
10584
  <div><button
10585
10585
  mat-flat-button
10586
10586
  color="primary"
@@ -10603,13 +10603,13 @@ FHFormToolBarComponent.decorators = [
10603
10603
  fxLayoutGap="10px"
10604
10604
  [hidden]="!is_editing"
10605
10605
  fxLayoutAlign="start center">
10606
- <div><button mat-flat-button [hidden]="!show_back" (click)="back_ask_save()">{{ mgs_back }}</button> </div>
10606
+ <div><button mat-flat-button [hidden]="!show_back" (click)="back_ask_save()">{{ mgs_back | translate }}</button> </div>
10607
10607
  <div><button
10608
10608
  mat-flat-button
10609
10609
  color="primary"
10610
10610
  [hidden]="!show_save"
10611
10611
  (click)="save()">
10612
- <mat-icon>save</mat-icon>&nbsp;&nbsp;{{ mgs_save }}
10612
+ <mat-icon>save</mat-icon>&nbsp;&nbsp;{{ mgs_save | translate}}
10613
10613
  </button> </div>
10614
10614
 
10615
10615
  <div><button [hidden]="!log_enabled"
@@ -25510,7 +25510,6 @@ class dati_aggiuntivi_v2 {
25510
25510
  setTimeout(() => { this.load_document(); }, 200);
25511
25511
  return;
25512
25512
  }
25513
- console.log('start load_document', new Date());
25514
25513
  let p = new QParam();
25515
25514
  p.sql = "SELECT_WKF_DOCUMENT_NOREP";
25516
25515
  p.types = ["string", "string", "string"];
@@ -28916,6 +28915,7 @@ class wkfapp_v2 {
28916
28915
  this.grid_key = "";
28917
28916
  this.m_id_Doc = "";
28918
28917
  this.title = "";
28918
+ this.override_insert = false;
28919
28919
  this.user_nome = "";
28920
28920
  this.user_cognome = "";
28921
28921
  this.user_email = "";
@@ -28991,7 +28991,7 @@ class wkfapp_v2 {
28991
28991
  commento_default: '',
28992
28992
  comm_notrequired: '',
28993
28993
  utenti: arrAutori,
28994
- prendi_in_carico: false
28994
+ prendi_in_carico: false, only_riassegna: true
28995
28995
  } });
28996
28996
  dialogRef.afterClosed().subscribe(result => {
28997
28997
  if (result) {
@@ -29881,11 +29881,15 @@ class wkfapp_v2 {
29881
29881
  }
29882
29882
  }
29883
29883
  }
29884
+ do_custom_insert() { }
29884
29885
  goto_models() {
29885
29886
  this.m_router.navigate([this.app_root, "models"]);
29886
29887
  }
29887
29888
  insert_doc() {
29888
- this.m_router.navigate([this.app_root, this.id_applicativo, "new"]);
29889
+ if (!this.override_insert)
29890
+ this.m_router.navigate([this.app_root, this.id_applicativo, "new"]);
29891
+ else
29892
+ this.do_custom_insert();
29889
29893
  }
29890
29894
  ripristina_imp() {
29891
29895
  if (localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user') == null)