mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
resuelto: no hay que sumar las horas para el calculo del divisor del factor
This commit is contained in:
@ -187,9 +187,10 @@ class Resumen {
|
||||
totalImpresion += totalCosteClicks + totalCosteHoras + totalCosteTinta + totalCosteCorte;
|
||||
margenImpresion += totalMargenClicks + totalMargenHoras + totalMargenTinta + totalMargenCorte;
|
||||
|
||||
sumForFactor += totalImpresion;
|
||||
sumForFactor += totalCosteClicks + totalCosteTinta + totalCosteCorte; // sin horas
|
||||
sumForFactor += totalPapel;
|
||||
|
||||
|
||||
let porcentajeMargenPapel = isNaN(margenPapel / (totalPapel) * 100.0) ? 0 : margenPapel / (totalPapel) * 100.0
|
||||
$('#porcentajeMargenPapel').html(porcentajeMargenPapel)
|
||||
$('#porcentajeMargenPapel').val(porcentajeMargenPapel)
|
||||
|
||||
Reference in New Issue
Block a user