refs #5688 ya no muestra mensaje de error
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
b7b6f413ba
commit
55990869e2
|
@ -293,6 +293,5 @@
|
||||||
"Pass expired": "La contraseña ha caducado, cambiela desde Salix",
|
"Pass expired": "La contraseña ha caducado, cambiela desde Salix",
|
||||||
"Invalid NIF for VIES": "Invalid NIF for VIES",
|
"Invalid NIF for VIES": "Invalid NIF for VIES",
|
||||||
"Ticket does not exist": "Este ticket no existe",
|
"Ticket does not exist": "Este ticket no existe",
|
||||||
"Ticket is already signed": "Este ticket ya ha sido firmado",
|
"Ticket is already signed": "Este ticket ya ha sido firmado"
|
||||||
"This worker does not have a work center": "Este trabajador no tiene centro de trabajo"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -117,10 +117,7 @@ module.exports = Self => {
|
||||||
absences.push(absence);
|
absences.push(absence);
|
||||||
}
|
}
|
||||||
|
|
||||||
const workCenter = contract.workCenter();
|
for (let day of contract.workCenter().holidays()) {
|
||||||
if (!workCenter) throw new UserError(`This worker does not have a work center`);
|
|
||||||
|
|
||||||
for (let day of workCenter.holidays()) {
|
|
||||||
day.dated = new Date(day.dated);
|
day.dated = new Date(day.dated);
|
||||||
day.dated.setHours(0, 0, 0, 0);
|
day.dated.setHours(0, 0, 0, 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue