La busqueda compleja, cuando eliges otra subcategoria com empressa por secoters, y usas la barra de busqueda de lista esta completa. Ajustes hecho a metodos encesarios en cotrolador,Interfaces, servicios y repositorios.
Funcionamiento minimo conseguidomaster
parent
8cef213edf
commit
665a45d106
@ -1,51 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
listEmpPrime: TEST[Empresa(id=4, nombre=Keytara, cif=123456789W4, correo=keytara@example.com, telefono=12345678904,
|
||||||
<html lang="en">
|
keywords=programador, sector=Sector(id=4, nombre=Musica)),
|
||||||
<head>
|
Empresa(id=9, nombre=FinTrack, cif=123456789W9, correo=fintrack@example.com, telefono=12345678909,
|
||||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css">
|
keywords=finance,investment, sector=Sector(id=4, nombre=Musica)),
|
||||||
<link rel="stylesheet" type="text/css" th:href="@{/style.css}">
|
Empresa(id=14, nombre=WealthTrack, cif=123456789W9, correo=wealthtrack@example.com, telefono=12345678909,
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
|
keywords=finance,investment, sector=Sector(id=4, nombre=Musica))]
|
||||||
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.11.3/css/jquery.dataTables.min.css">
|
listEmpSec: TEST[]
|
||||||
<script type="text/javascript" src="https://cdn.datatables.net/1.11.3/js/jquery.dataTables.min.js"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct" crossorigin="anonymous"></script>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Title</title>
|
|
||||||
<style>
|
|
||||||
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Listado de Sucursales<a href="/logout" class="logout-button"><i class="fas fa-door-open"></i></a></h1>
|
|
||||||
<div class="table">
|
|
||||||
<table class ="table table-hover table-responsive-xl">
|
|
||||||
<thead class="thread-light">
|
|
||||||
<tr>
|
|
||||||
<th>Id</th>
|
|
||||||
<th>Nombre</th>
|
|
||||||
<th>Localidad</th>
|
|
||||||
<th>Dirección</th>
|
|
||||||
<th>SedeCentral</th>
|
|
||||||
<th>Empressa</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<tr class="cell" th:each="sucursal :${sucursales}">
|
|
||||||
<td>[[${sucursal.id}]]</td>
|
|
||||||
<td>[[${sucursal.nombre}]]</td>
|
|
||||||
<td>[[${sucursal.localidad}]]</td>
|
|
||||||
<td>[[${sucursal.direccion}]]</td>
|
|
||||||
<td>[[${sucursal.sedeCentral}]]</td>
|
|
||||||
<td>[[${sucursal.empresa.nombre}]]</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<button onclick="goBack()">Atras</button>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
function goBack() {
|
|
||||||
window.history.back();
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Loading…
Reference in new issue