mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
corregido
This commit is contained in:
@ -143,7 +143,7 @@
|
||||
class="btn btn-primary w-100">Ajustar</button>
|
||||
</div>
|
||||
</div>
|
||||
<?php /*if ($presupuestoEntity->estado_id == 2): ?>
|
||||
<?php if ($presupuestoEntity->estado_id == 2): ?>
|
||||
<div class="row">
|
||||
<div class="col-sm-6 mb-1">
|
||||
<label for="totalAceptado"
|
||||
@ -152,7 +152,7 @@
|
||||
class="form-control text-center fs-5 autonumeric-resumen-currency" value="" <?php echo ($tipo_impresion_id == 21) ? ' max=80' : '' ?>>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; */?>
|
||||
<?php endif; ?>
|
||||
<div class="row">
|
||||
<p>
|
||||
<span id="aprobado_by_at"></span>
|
||||
|
||||
@ -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