mirror of
https://git.imnavajas.es/jjimenez/erp-imprimelibros.git
synced 2026-01-29 15:18:50 +00:00
falta mover la cesta a cliente
This commit is contained in:
@ -24,6 +24,10 @@
|
||||
<td><span th:text="#{cart.resumen.iva-21}"></span> : </td>
|
||||
<td class="text-end" id="iva-21-cesta" th:text="${summary.iva21}"></td>
|
||||
</tr>
|
||||
<tr id="tr-iva-21">
|
||||
<td><span th:text="#{cart.resumen.descuento} + ' (' + ${summary.fidelizacion} + ')'"></span> : </td>
|
||||
<td class="text-end" id="descuento-cesta" th:text="${summary.descuento}"></td>
|
||||
</tr>
|
||||
<tr class="table-active">
|
||||
<th><span th:text="#{cart.resumen.total}"></span>:</th>
|
||||
<td class="text-end">
|
||||
@ -35,7 +39,7 @@
|
||||
<form th:action="@{/pagos/redsys/crear}" method="post">
|
||||
<input type="hidden" name="order" value="123456789012"/>
|
||||
<input type="hidden" name="amountCents" value="12525"/>
|
||||
<button type="submit" class="btn btn-secondary w-100 mt-2"
|
||||
<button id="btn-checkout" type="submit" class="btn btn-secondary w-100 mt-2"
|
||||
th:text="#{cart.resumen.tramitar}">Checkout</button>
|
||||
</form>
|
||||
</div>
|
||||
@ -43,13 +47,25 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="alert border-dashed alert-danger" role="alert">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="ms-2">
|
||||
<h5 class="fs-14 text-danger fw-semibold" th:text="#{cart.resumen.fidelizacion}"></h5>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header border-bottom-dashed">
|
||||
<h5 th:text="#{cart.pass-to.customer}" class="card-title mb-0"></h5>
|
||||
</div>
|
||||
<div class="card-body pt-2">
|
||||
<div class="alert alert-info" role="alert" th:text="#{cart.pass-to.customer.info}"></div>
|
||||
<div class="alert alert-warning" role="alert" th:text="#{cart.pass-to.customer.warning}"></div>
|
||||
<form th:action="@{/cart/pass-to-customer}" method="post">
|
||||
<div class="mb-3">
|
||||
<label for="select-customer" class="form-label" th:text="#{cart.pass-to.select-customer}"></label>
|
||||
<select id="select-customer" name="customerId" class="form-select" required>
|
||||
</select>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-secondary w-100"
|
||||
th:text="#{cart.pass-to.button}">Mover cesta</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- end stickey -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user