sigesp 0.9.0-20220727 → 0.9.2-20220820

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.
@@ -1186,10 +1186,9 @@
1186
1186
  // this.disableMasterToggle = this.dialogData.disableMasterToggle
1187
1187
  }
1188
1188
  TableSelectComponent.prototype.ngAfterViewInit = function () {
1189
- var _this = this;
1190
1189
  this.dataSource.paginator = this.paginator;
1191
1190
  this.dataSource.sort = this.sort;
1192
- this.sort.sortChange.subscribe(function () { return _this.paginator.pageIndex = 0; });
1191
+ // this.sort.sortChange.subscribe(() => this.paginator.pageIndex = 0);
1193
1192
  };
1194
1193
  TableSelectComponent.prototype.isAllSelected = function () {
1195
1194
  var numSelected = this.selection.selected.length;
@@ -1243,8 +1242,8 @@
1243
1242
  { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [i2.MAT_DIALOG_DATA,] }] }
1244
1243
  ]; };
1245
1244
  TableSelectComponent.propDecorators = {
1246
- paginator: [{ type: i0.ViewChild, args: [paginator.MatPaginator,] }],
1247
- sort: [{ type: i0.ViewChild, args: [sort.MatSort,] }]
1245
+ paginator: [{ type: i0.ViewChild, args: [paginator.MatPaginator, { static: true },] }],
1246
+ sort: [{ type: i0.ViewChild, args: [sort.MatSort, { static: true },] }]
1248
1247
  };
1249
1248
 
1250
1249
  var MConfigurationSPG = /** @class */ (function () {
@@ -3954,6 +3953,20 @@
3954
3953
  MDefinicionNomina.prototype.fechaFinaPeriodoActual = function () {
3955
3954
  return this.periodosNomina[this.indice()].fechaHastaperiodo;
3956
3955
  };
3956
+ MDefinicionNomina.prototype.ultimoPeriodoNomina = function () {
3957
+ if (this.numeroPeriodoNomina == 52) {
3958
+ return '052';
3959
+ }
3960
+ else if (this.numeroPeriodoNomina == 24) {
3961
+ return '024';
3962
+ }
3963
+ else if (this.numeroPeriodoNomina == 12) {
3964
+ return '012';
3965
+ }
3966
+ else if (this.numeroPeriodoNomina == 1) {
3967
+ return '001';
3968
+ }
3969
+ };
3957
3970
  return MDefinicionNomina;
3958
3971
  }(MBasicModel));
3959
3972
 
@@ -8753,7 +8766,7 @@
8753
8766
  _this.denominacionNomina = '';
8754
8767
  _this.codigoNomina = '';
8755
8768
  _this.idTipoConceptoEspecial = 0;
8756
- _this.estatusInsidencia = 0;
8769
+ _this.estatusIncidencia = 0;
8757
8770
  _this.registroIncidencia = '';
8758
8771
  _this.formulaIncidencia = '';
8759
8772
  _this.formulaReducida = '';
@@ -8818,7 +8831,7 @@
8818
8831
  _this.denominacionNomina = e.dennom;
8819
8832
  _this.codigoNomina = e.codnom;
8820
8833
  _this.idTipoConceptoEspecial = parseInt(e.id_tipconesp);
8821
- _this.estatusInsidencia = parseInt(e.estincidencia);
8834
+ _this.estatusIncidencia = parseInt(e.estincidencia);
8822
8835
  _this.registroIncidencia = e.regincidencia;
8823
8836
  _this.formulaIncidencia = e.forincidencia;
8824
8837
  _this.orden = parseInt(e.orden);
@@ -8895,7 +8908,7 @@
8895
8908
  dennom: this.denominacionNomina,
8896
8909
  codnom: this.codigoNomina,
8897
8910
  id_tipconesp: this.idTipoConceptoEspecial.toString(),
8898
- estincidencia: this.estatusInsidencia.toString(),
8911
+ estincidencia: this.estatusIncidencia.toString(),
8899
8912
  regincidencia: this.registroIncidencia,
8900
8913
  forincidencia: this.formulaIncidencia,
8901
8914
  orden: this.orden.toString(),
@@ -12066,7 +12079,7 @@
12066
12079
  _this.idEmpresa = +e.id_empresa;
12067
12080
  _this.idPersonal = +e.id_personal;
12068
12081
  _this.idPermiso = +e.id_permiso;
12069
- _this.fechaInicioPermiso = e.fecfinper;
12082
+ _this.fechaInicioPermiso = e.feciniper;
12070
12083
  _this.fechaFinPermiso = e.fecfinper;
12071
12084
  _this.numeroDiasPermiso = +e.numdiapero;
12072
12085
  _this.afectaVacaionesPermiso = e.afevacper == 1 ? true : false;