mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
corregido
This commit is contained in:
@ -338,7 +338,7 @@ class Resumen {
|
||||
}
|
||||
}
|
||||
|
||||
let porcentajeMargen = totalCostes + totalMargenes > 0 ? (100 * totalMargenes / (totalCostes + totalMargenes)).toFixed(0) : 0
|
||||
let porcentajeMargen = totalCostes + totalMargenes > 0 ? (100 * totalMargenes / (totalCostes)).toFixed(0) : 0
|
||||
$('#totalCostes').html(totalCostes).val(totalCostes.toFixed(2))
|
||||
$('#totalMargenes').html(totalMargenes).val(totalMargenes.toFixed(2))
|
||||
$('#porcentajeMargen').html(porcentajeMargen).val(porcentajeMargen)
|
||||
|
||||
Reference in New Issue
Block a user