You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

41 lines
930 B

<!DOCTYPE html>
<html>
<head>
<title>Capacidades</title>
<style>
table {
width: 100%;
border-collapse: collapse;
}
th, td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
th {
background-color: #f2f2f2;
}
</style>
</head>
<body>
<h2>Lista de Capacidades</h2>
<table>
<thead>
<tr>
<th>ID</th>
<th>Cantidad</th>
<th>Fecha de Creación</th>
</tr>
</thead>
<tbody>
@foreach($capacidades as $capacidad)
<tr>
<td>{{ $capacidad->id }}</td>
<td>{{ $capacidad->cantidad }}</td>
<td>{{ $capacidad->created_at->format('d/m/Y') }}</td>
</tr>
@endforeach
</tbody>
</table>
</body>
</html>