mirror of
https://git.imnavajas.es/jjimenez/erp-imprimelibros.git
synced 2026-01-28 14:48:50 +00:00
95 lines
5.0 KiB
HTML
95 lines
5.0 KiB
HTML
<!doctype html>
|
|
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
|
layout:decorate="~{imprimelibros/layout}">
|
|
|
|
<head>
|
|
<th:block layout:fragment="pagetitle" />
|
|
<th:block th:replace="~{imprimelibros/partials/head-css :: head-css}" />
|
|
<th:block layout:fragment="pagecss">
|
|
<link th:href="@{/assets/libs/datatables/dataTables.bootstrap5.min.css}" rel="stylesheet" />
|
|
</th:block>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div th:replace="~{imprimelibros/partials/topbar :: topbar}" />
|
|
<div th:replace="~{imprimelibros/partials/sidebar :: sidebar}"
|
|
sec:authorize="isAuthenticated() and hasAnyRole('SUPERADMIN','ADMIN')">
|
|
|
|
<th:block layout:fragment="content">
|
|
<div th:if="${#authorization.expression('isAuthenticated()')}">
|
|
|
|
<div class="container-fluid">
|
|
<nav aria-label="breadcrumb">
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item"><a href="/"><i class="ri-home-5-fill"></i></a></li>
|
|
<li class="breadcrumb-item active" aria-current="page" th:text="#{pedido.module-title}">
|
|
Pedidos</li>
|
|
</ol>
|
|
</nav>
|
|
</div>
|
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
<table id="pedidos-datatable" class="table table-striped table-nowrap responsive w-100">
|
|
<thead>
|
|
<tr>
|
|
<th class="text-start" scope="col" th:text="#{pedido.table.id}">Num. Pedido</th>
|
|
<th class="text-start" scope="col" th:text="#{pedido.table.cliente}">Cliente</th>
|
|
<th class="text-start" scope="col" th:text="#{pedido.table.fecha}">Fecha</th>
|
|
<th class="text-start" scope="col" th:text="#{pedido.table.importe}">Importe</th>
|
|
<th class="text-start" scope="col" th:text="#{pedido.table.estado}">Estado</th>
|
|
<th class="text-start" scope="col" th:text="#{pedido.table.acciones}">Acciones</th>
|
|
</tr>
|
|
<tr>
|
|
<th><input type="text" class="form-control form-control-sm input-filter" data-col="id" /></th>
|
|
<th><input type="text" class="form-control form-control-sm input-filter" data-col="createdBy.fullName" /></th>
|
|
<th></th>
|
|
<th></th>
|
|
<th>
|
|
<select class="form-select form-select-sm input-filter" data-col="estado">
|
|
<option value=""></option>
|
|
<option th:text="#{pedido.estado.aprobado}" value="aprobado"></option>
|
|
<option th:text="#{pedido.estado.maquetacion}" value="maquetacion"></option>
|
|
<option th:text="#{pedido.estado.haciendo_ferro}" value="haciendo_ferro"></option>
|
|
<option th:text="#{pedido.estado.produccion}" value="produccion"></option>
|
|
<option th:text="#{pedido.estado.terminado}" value="terminado"></option>
|
|
<option th:text="#{pedido.estado.cancelado}" value="cancelado"></option>
|
|
</select>
|
|
</th>
|
|
<th></th> <!-- Acciones (sin filtro) -->
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
</th:block>
|
|
|
|
<th:block th:replace="~{theme/partials/vendor-scripts :: scripts}" />
|
|
<th:block layout:fragment="pagejs">
|
|
<script th:inline="javascript">
|
|
window.languageBundle = /*[[${languageBundle}]]*/ {};
|
|
</script>
|
|
|
|
<script th:src="@{/assets/libs/datatables/datatables.min.js}"></script>
|
|
<script th:src="@{/assets/libs/datatables/dataTables.bootstrap5.min.js}"></script>
|
|
|
|
<!-- JS de Buttons y dependencias -->
|
|
<script th:src="@{/assets/libs/datatables/dataTables.buttons.min.js}"></script>
|
|
<script th:src="@{/assets/libs/jszip/jszip.min.js}"></script>
|
|
<script th:src="@{/assets/libs/pdfmake/pdfmake.min.js}"></script>
|
|
<script th:src="@{/assets/libs/pdfmake/vfs_fonts.min.js}"></script>
|
|
<script th:src="@{/assets/libs/datatables/buttons.html5.min.js}"></script>
|
|
<script th:src="@{/assets/libs/datatables/buttons.print.min.js}"></script>
|
|
<script th:src="@{/assets/libs/datatables/buttons.colVis.min.js}"></script>
|
|
|
|
|
|
<script type="module" th:src="@{/assets/js/pages/imprimelibros/pedidos/pedidos.js}"></script>
|
|
</th:block>
|
|
</body>
|
|
|
|
</html> |