Merge branch 'main' into mod/direcciones_ferro_prototipo

This commit is contained in:
2025-07-01 14:25:35 +02:00

View File

@ -187,9 +187,10 @@ class Resumen {
totalImpresion += totalCosteClicks + totalCosteHoras + totalCosteTinta + totalCosteCorte;
margenImpresion += totalMargenClicks + totalMargenHoras + totalMargenTinta + totalMargenCorte;
sumForFactor += totalImpresion;
sumForFactor += totalCosteClicks + totalCosteTinta; // sin horas ni corte
sumForFactor += totalPapel;
let porcentajeMargenPapel = isNaN(margenPapel / (totalPapel) * 100.0) ? 0 : margenPapel / (totalPapel) * 100.0
$('#porcentajeMargenPapel').html(porcentajeMargenPapel)
$('#porcentajeMargenPapel').val(porcentajeMargenPapel)