sigesp 0.9.61-20230911 → 0.9.62-20230912

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.
@@ -8081,7 +8081,7 @@
8081
8081
  apellido = dato.apellido;
8082
8082
  idEnterprise = dato.idEnterprise;
8083
8083
  }
8084
- return this.http.get(this.URL + "/dao/sno/personal_dao.php?tipo=" + tipo + "&cedula=" + cedula + "&nombre=" + nombre + "&apellido=" + apellido + "$e=" + idEnterprise, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
8084
+ return this.http.get(this.URL + "/dao/sno/personal_dao.php?tipo=" + tipo + "&cedula=" + cedula + "&nombre=" + nombre + "&apellido=" + apellido + "&e=" + idEnterprise, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
8085
8085
  if (res.success) {
8086
8086
  res.data = res.data.map(function (e) { return new MPersonal(e); });
8087
8087
  }
@@ -8097,7 +8097,19 @@
8097
8097
 
8098
8098
  */
8099
8099
  SigespService.prototype.getPersonalNomina = function (tipo, dato) {
8100
- return this.http.get(this.URL + "/dao/sno/asignacion_personal_nomina_dao.php?\n tipo=" + tipo + "&cedula=" + dato.cedula + "&nombre=" + dato.nombre + "&apellido=" + dato.apellido + "&expediente=" + dato.expediente + "&idTipo=" + dato.idTipo + "&idNomina=" + dato.idNomina, { headers: this.getHttpHeaders() }).pipe(operators.map(function (res) {
8100
+ var cedula = '';
8101
+ var nombre = '';
8102
+ var apellido = '';
8103
+ var idEnterprise = 0;
8104
+ var idNomina = 0;
8105
+ if (dato) {
8106
+ cedula = dato.cedula;
8107
+ nombre = dato.nombre;
8108
+ apellido = dato.apellido;
8109
+ idEnterprise = dato.idEnterprise;
8110
+ idNomina = dato.idNomina;
8111
+ }
8112
+ return this.http.get(this.URL + "/dao/sno/asignacion_personal_nomina_dao.php?\n tipo=" + tipo + "&cedula=" + cedula + "&nombre=" + nombre + "&apellido=" + apellido + "&idNomina=" + idNomina + "&idEnterprise=" + idEnterprise, { headers: this.getHttpHeaders() }).pipe(operators.map(function (res) {
8101
8113
  if (res.success) {
8102
8114
  res.data = res.data.map(function (e) { return new MPersonalNomina(e); });
8103
8115
  }