Se corrigieron el xlsx, validación de contraseñas y cron

This commit is contained in:
2025-11-26 10:59:49 -06:00
parent 9b2e675afb
commit 7b7892fca7
3 changed files with 5 additions and 5 deletions
Binary file not shown.
Binary file not shown.
+5 -5
View File
@@ -553,17 +553,17 @@ export class EquipoService {
escritorios: countEscritorios.map((i) => ({
antiguedad: i.antiguedad,
total: i.total,
porcentaje: ((i.total / totalEscrtitorio.total) * 100).toFixed(2),
porcentaje: ((i.total / totalEscrtitorio.total) * 100).toFixed(),
})),
portatiles: countPortatiles.map((i) => ({
antiguedad: i.antiguedad,
total: i.total,
porcentaje: ((i.total / totalPortatiles.total) * 100).toFixed(2),
porcentaje: ((i.total / totalPortatiles.total) * 100).toFixed(),
})),
altoRendimiento: countAltoRendimiento.map((i) => ({
antiguedad: i.antiguedad,
total: i.total,
porcentaje: ((i.total / totalAltoRendimiento.total) * 100).toFixed(2),
porcentaje: ((i.total / totalAltoRendimiento.total) * 100).toFixed(),
})),
};
} catch (error) {
@@ -712,7 +712,7 @@ export class EquipoService {
const total = Number(item.total) || 0;
const porcentaje =
totalImpresion > 0
? ((total / totalImpresion) * 100).toFixed(2)
? ((total / totalImpresion) * 100).toFixed()
: '0.00';
return {
antiguedad: item.antiguedad,
@@ -726,7 +726,7 @@ export class EquipoService {
const total = Number(item.total) || 0;
const porcentaje =
totalDigitalizacion > 0
? ((total / totalDigitalizacion) * 100).toFixed(2)
? ((total / totalDigitalizacion) * 100).toFixed()
: '0.00';
return {
antiguedad: item.antiguedad,