mirror of
https://git.imnavajas.es/jjimenez/erp-imprimelibros.git
synced 2026-01-13 00:48:49 +00:00
reimpresiones hechas correctamente
This commit is contained in:
@ -351,6 +351,11 @@ public class PresupuestoService {
|
||||
body.put("interior", interior);
|
||||
body.put("cubierta", cubierta);
|
||||
body.put("guardas", null);
|
||||
// Para las reimpresiones
|
||||
if(presupuesto.getIsReimpresion() != null && presupuesto.getIsReimpresion()) {
|
||||
body.put("reimpresion", 1);
|
||||
body.put("iskn", presupuesto.getProveedorRef1());
|
||||
}
|
||||
if (presupuesto.getSobrecubierta()) {
|
||||
Map<String, Object> sobrecubierta = new HashMap<>();
|
||||
sobrecubierta.put("papel", presupuesto.getPapelSobrecubiertaId());
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
|
||||
<div class="col-9 mx-auto mt-4">
|
||||
<h5 id="resumen-titulo" class="text-center"></h5>
|
||||
<h6 th:if="${presupuesto.isReimpresion}" th:text="#{presupuesto.reimpresion}"
|
||||
<h6 th:if="${presupuesto?.isReimpresion}" th:text="#{presupuesto.reimpresion}"
|
||||
class="text-uppercase bg-danger text-white text-center">REIMPRESION</h6>
|
||||
<table id="resumen-tabla-final" class="table table-borderless table-striped mt-3"
|
||||
th:data-currency="#{app.currency}">
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<div class="d-flex">
|
||||
<div class="flex-grow-1">
|
||||
<h5 th:text="#{presupuesto.resumen-presupuesto}">Resumen presupuesto</h5>
|
||||
<h6 th:if="${presupuesto.isReimpresion}" th:text="#{presupuesto.reimpresion}"
|
||||
<h6 th:if="${presupuesto?.isReimpresion}" th:text="#{presupuesto.reimpresion}"
|
||||
class="text-uppercase bg-danger text-white text-center">REIMPRESION</h6>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user