Se corrigieron el xlsx, validación de contraseñas y cron
This commit is contained in:
@@ -553,17 +553,19 @@ export class EquipoService {
|
||||
escritorios: countEscritorios.map((i) => ({
|
||||
antiguedad: i.antiguedad,
|
||||
total: i.total,
|
||||
porcentaje: ((i.total / totalEscrtitorio.total) * 100).toFixed(),
|
||||
porcentaje: ((i.total / totalEscrtitorio.total) * 100).toFixed(30),
|
||||
})),
|
||||
portatiles: countPortatiles.map((i) => ({
|
||||
antiguedad: i.antiguedad,
|
||||
total: i.total,
|
||||
porcentaje: ((i.total / totalPortatiles.total) * 100).toFixed(),
|
||||
porcentaje: ((i.total / totalPortatiles.total) * 100).toFixed(30),
|
||||
})),
|
||||
altoRendimiento: countAltoRendimiento.map((i) => ({
|
||||
antiguedad: i.antiguedad,
|
||||
total: i.total,
|
||||
porcentaje: ((i.total / totalAltoRendimiento.total) * 100).toFixed(),
|
||||
porcentaje: ((i.total / totalAltoRendimiento.total) * 100).toFixed(
|
||||
30,
|
||||
),
|
||||
})),
|
||||
};
|
||||
} catch (error) {
|
||||
@@ -712,7 +714,7 @@ export class EquipoService {
|
||||
const total = Number(item.total) || 0;
|
||||
const porcentaje =
|
||||
totalImpresion > 0
|
||||
? ((total / totalImpresion) * 100).toFixed()
|
||||
? ((total / totalImpresion) * 100).toFixed(30)
|
||||
: '0.00';
|
||||
return {
|
||||
antiguedad: item.antiguedad,
|
||||
@@ -726,7 +728,7 @@ export class EquipoService {
|
||||
const total = Number(item.total) || 0;
|
||||
const porcentaje =
|
||||
totalDigitalizacion > 0
|
||||
? ((total / totalDigitalizacion) * 100).toFixed()
|
||||
? ((total / totalDigitalizacion) * 100).toFixed(30)
|
||||
: '0.00';
|
||||
return {
|
||||
antiguedad: item.antiguedad,
|
||||
|
||||
Reference in New Issue
Block a user