sigesp 0.9.72-20230917 → 0.9.73-20231011

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.
@@ -13,7 +13,6 @@ import { MatSort, MatSortModule } from '@angular/material/sort';
13
13
  import * as i3 from 'ngx-toastr';
14
14
  import { ToastrService, ToastrModule } from 'ngx-toastr';
15
15
  import { SelectionModel } from '@angular/cdk/collections';
16
- import * as moment$3 from 'moment';
17
16
  import Swal from 'sweetalert2';
18
17
  import * as CryptoJS from 'crypto-js';
19
18
  import { CommonModule } from '@angular/common';
@@ -269,7 +268,7 @@ const Sexo = [
269
268
  { value: "M", denominacion: 'M' },
270
269
  ];
271
270
  const Sexo2 = [
272
- { value: "F", denominacion: 'Femenino' },
271
+ { value: "F", denominacion: 'Feminino' },
273
272
  { value: "M", denominacion: 'Masculino' },
274
273
  ];
275
274
  const NivelAcademico = [
@@ -306,23 +305,24 @@ const CausaEgreso = [
306
305
  { value: "F", denominacion: 'Fallecido' },
307
306
  ];
308
307
  const EstatusPersonal = [
309
- { value: "0", denominacion: 'Pre-Ingreso' },
310
- { value: "1", denominacion: 'Activo' },
311
308
  { value: "2", denominacion: 'N/A' },
312
- { value: "3", denominacion: 'Egresado' },
313
- { value: "4", denominacion: 'Remoción' },
314
- { value: "5", denominacion: 'Retiro' },
315
- { value: "6", denominacion: 'Destitución' },
316
- { value: "7", denominacion: 'Liquidado' },
317
- { value: "8", denominacion: 'Reingreso' },
309
+ { value: "0", denominacion: 'PRE-INGRESO' },
310
+ { value: "1", denominacion: 'ACTIVO' },
311
+ { value: "9", denominacion: 'SUSPENDIDO' },
312
+ { value: "3", denominacion: 'EGRESADO' },
313
+ { value: "4", denominacion: 'REMOCIÓN' },
314
+ { value: "5", denominacion: 'RETIRO' },
315
+ { value: "6", denominacion: 'DESTITUCIÓN' },
316
+ { value: "7", denominacion: 'LIQUIDADO' },
317
+ { value: "8", denominacion: 'REINGRESO' },
318
318
  ];
319
319
  const EstatusPersonalNomina = [
320
320
  { value: "0", denominacion: 'No Asignado' },
321
- { value: "1", denominacion: 'Activo' },
322
- { value: "2", denominacion: 'Vacaciones' },
323
- { value: "3", denominacion: 'Egresado' },
324
- { value: "4", denominacion: 'Suspendido' },
325
- { value: "5", denominacion: 'Fallecido' },
321
+ { value: "1", denominacion: 'ACTIVO' },
322
+ { value: "2", denominacion: 'VACACIONES' },
323
+ { value: "3", denominacion: 'EGRESADO' },
324
+ { value: "4", denominacion: 'SUSPENDIDO' },
325
+ { value: "5", denominacion: 'FALLECIDO' },
326
326
  ];
327
327
  const Estatus = [
328
328
  { value: "1", denominacion: 'S' },
@@ -1034,6 +1034,7 @@ class MUsuario extends MBasicModel {
1034
1034
  this.periodo = +user.periodo;
1035
1035
  this.carpeta = user.carpeta;
1036
1036
  this.sistema = user.sistema;
1037
+ this.fuente = user.fuente;
1037
1038
  }
1038
1039
  else {
1039
1040
  this.isNew = true;
@@ -2073,7 +2074,7 @@ class MRights extends MBasicModel {
2073
2074
  }
2074
2075
  }
2075
2076
 
2076
- const moment$2 = require("moment");
2077
+ const moment$3 = require("moment");
2077
2078
  class MUserDetail extends MBasicModel {
2078
2079
  constructor(user) {
2079
2080
  super();
@@ -2086,7 +2087,7 @@ class MUserDetail extends MBasicModel {
2086
2087
  this.blockDate = '1900-01-01';
2087
2088
  this.passDate = '1900-01-01';
2088
2089
  this.birthday = '1900-01-01';
2089
- this.registrationDate = moment$2().format('YYYY-MM-DD');
2090
+ this.registrationDate = moment$3().format('YYYY-MM-DD');
2090
2091
  this.photo = 'default.png';
2091
2092
  this.name = '';
2092
2093
  this.notes = '';
@@ -3438,6 +3439,7 @@ class MEmpresa extends MBasicModel {
3438
3439
  this.codigoFuenteFinanciamintoMostrar = '';
3439
3440
  this.codigoCentroCosto = '';
3440
3441
  this.estructuraPresupuestaria = '';
3442
+ this.tipoEmpresa = 0;
3441
3443
  if (e) {
3442
3444
  this.idEmpresa = +e.id_empresa;
3443
3445
  this.rif = e.rifemp;
@@ -3484,6 +3486,7 @@ class MEmpresa extends MBasicModel {
3484
3486
  this.codigoFuenteFinanciamintoMostrar = e.codigoftefin;
3485
3487
  this.codigoCentroCosto = e.codcencos;
3486
3488
  this.estructuraPresupuestaria = e.estpre;
3489
+ this.tipoEmpresa = +e.tipoempresa;
3487
3490
  }
3488
3491
  else {
3489
3492
  this.isNew = true;
@@ -3533,6 +3536,7 @@ class MEmpresa extends MBasicModel {
3533
3536
  codcencos: this.codigoCentroCosto,
3534
3537
  codfuefin: this.codigoFuenteFinanciaminto.toString(),
3535
3538
  estpre: this.estructuraPresupuestaria,
3539
+ tipoempresa: this.tipoEmpresa.toString(),
3536
3540
  };
3537
3541
  }
3538
3542
  }
@@ -4111,6 +4115,7 @@ class MPeriodoNomina extends MBasicModel {
4111
4115
  }
4112
4116
  }
4113
4117
 
4118
+ const moment$2 = require("moment");
4114
4119
  class MDefinicionNomina extends MBasicModel {
4115
4120
  constructor(e = null) {
4116
4121
  super();
@@ -4383,7 +4388,7 @@ class MDefinicionNomina extends MBasicModel {
4383
4388
  fechaFinalNomina() {
4384
4389
  let i = this.periodosNomina.length - 1;
4385
4390
  let fechaFin = this.periodosNomina[i].fechaHastaperiodo;
4386
- return moment$3(fechaFin).format('DD/MM/YYYY');
4391
+ return moment$2(fechaFin).format('DD/MM/YYYY');
4387
4392
  }
4388
4393
  /**
4389
4394
  * @returns fecha de inicio a fin de la nomina
@@ -4392,7 +4397,7 @@ class MDefinicionNomina extends MBasicModel {
4392
4397
  let i = this.periodosNomina.length - 1;
4393
4398
  let fechaFin = this.periodosNomina[i].fechaHastaperiodo;
4394
4399
  let fechaIni = this.periodosNomina[i].fechaDesdePeriodo;
4395
- return moment$3(fechaIni).format('DD/MM/YYYY') + ' al ' + moment$3(fechaFin).format('DD/MM/YYYY');
4400
+ return moment$2(fechaIni).format('DD/MM/YYYY') + ' al ' + moment$2(fechaFin).format('DD/MM/YYYY');
4396
4401
  }
4397
4402
  /**
4398
4403
  *