diff --git a/mariadb/aria_log.00000001 b/mariadb/aria_log.00000001 index 93dc80c..6332bca 100644 Binary files a/mariadb/aria_log.00000001 and b/mariadb/aria_log.00000001 differ diff --git a/mariadb/aria_log_control b/mariadb/aria_log_control index 2d29802..d9056a2 100644 Binary files a/mariadb/aria_log_control and b/mariadb/aria_log_control differ diff --git a/src/equipo/equipo.service.ts b/src/equipo/equipo.service.ts index b0f8462..56143ad 100644 --- a/src/equipo/equipo.service.ts +++ b/src/equipo/equipo.service.ts @@ -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,