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.
55 lines
1.3 KiB
55 lines
1.3 KiB
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Choferes</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-top: 20px;
|
|
}
|
|
th, td {
|
|
border: 1px solid #ddd;
|
|
padding: 8px;
|
|
text-align: left;
|
|
}
|
|
th {
|
|
background-color: #f2f2f2;
|
|
}
|
|
.header {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="header">
|
|
<h1>Reporte de Choferes</h1>
|
|
<p>Fecha de generación: {{ date('d/m/Y H:i:s') }}</p>
|
|
</div>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>Nombre</th>
|
|
<th>Tipo de Licencia</th>
|
|
<th>Fecha de Creación</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($choferes as $chofer)
|
|
<tr>
|
|
<td>{{ $chofer->id }}</td>
|
|
<td>{{ $chofer->nombre }}</td>
|
|
<td>{{ $chofer->tipo_licencia }}</td>
|
|
<td>{{ $chofer->created_at->format('d/m/Y') }}</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
</body>
|
|
</html>
|
|
|