sigesp 0.8.91-20220526 → 0.8.92-202205267

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.
@@ -13112,6 +13112,7 @@
13112
13112
  _this.idPersonal = 0;
13113
13113
  _this.idAuditoriaPersonal = 0;
13114
13114
  _this.idRegistro = 0;
13115
+ _this.idNomina = 0;
13115
13116
  _this.fecha = "1900-01-01";
13116
13117
  _this.hora = "";
13117
13118
  _this.campo = "";
@@ -13126,6 +13127,7 @@
13126
13127
  _this.idPersonal = +e.id_personal;
13127
13128
  _this.idAuditoriaPersonal = +e.id_auditoria_personal;
13128
13129
  _this.idRegistro = +e.id_registro;
13130
+ _this.idNomina = +e.id_nomina;
13129
13131
  _this.fecha = e.fecha;
13130
13132
  _this.hora = e.hora;
13131
13133
  _this.campo = e.campo;
@@ -13142,11 +13144,14 @@
13142
13144
  }
13143
13145
  MSnoLog.prototype.dataInteface = function () {
13144
13146
  var _this = this;
13147
+ var obs = '';
13148
+ this.idNomina == 0 ? obs = '' : obs = ' en la nómina:' + this.idNomina;
13145
13149
  return {
13146
13150
  id_empresa: this.idEmpresa.toString(),
13147
13151
  id_personal: this.idPersonal.toString(),
13148
13152
  id_auditoria_personal: this.idAuditoriaPersonal.toString(),
13149
13153
  id_registro: this.idRegistro.toString(),
13154
+ id_nomina: this.idNomina.toString(),
13150
13155
  fecha: moment$1().format('YYYY-MM-DD'),
13151
13156
  hora: moment$1().format('h:mm:ss a'),
13152
13157
  campo: this.campoPermitido.find(function (e) { return e.denominacion == _this.campo; }).value,
@@ -13154,8 +13159,7 @@
13154
13159
  valor_nuevo: this.evento == 'DELETE' ? '-' : this.valorNuevo,
13155
13160
  codusu: this.codigoUsuario,
13156
13161
  evento: this.evento.toUpperCase(),
13157
- observacion: this.evento == 'DELETE' ? "Eliminado el registro relacionado al campo: " + this.campo :
13158
- "Actualizado el registro relacionado al campo: " + this.campo,
13162
+ observacion: this.observacion
13159
13163
  };
13160
13164
  };
13161
13165
  return MSnoLog;