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.
		
		
		
		
			
				
					76 lines
				
				2.0 KiB
			
		
		
			
		
	
	
					76 lines
				
				2.0 KiB
			| 
								 
											7 months ago
										 
									 | 
							
								<!DOCTYPE html>
							 | 
						||
| 
								 | 
							
								<html>
							 | 
						||
| 
								 | 
							
								<head>
							 | 
						||
| 
								 | 
							
								    <title>Lista de Préstamos</title>
							 | 
						||
| 
								 | 
							
								    <style>
							 | 
						||
| 
								 | 
							
								        body {
							 | 
						||
| 
								 | 
							
								            font-family: Arial, sans-serif;
							 | 
						||
| 
								 | 
							
								            font-size: 12px;
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								        table {
							 | 
						||
| 
								 | 
							
								            width: 100%;
							 | 
						||
| 
								 | 
							
								            border-collapse: collapse;
							 | 
						||
| 
								 | 
							
								            margin-top: 20px;
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								        th, td {
							 | 
						||
| 
								 | 
							
								            border: 1px solid #ddd;
							 | 
						||
| 
								 | 
							
								            padding: 8px;
							 | 
						||
| 
								 | 
							
								            text-align: left;
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								        th {
							 | 
						||
| 
								 | 
							
								            background-color: #f2f2f2;
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								        h1 {
							 | 
						||
| 
								 | 
							
								            text-align: center;
							 | 
						||
| 
								 | 
							
								            margin-bottom: 20px;
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								        .header {
							 | 
						||
| 
								 | 
							
								            margin-bottom: 20px;
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								        .footer {
							 | 
						||
| 
								 | 
							
								            margin-top: 20px;
							 | 
						||
| 
								 | 
							
								            text-align: right;
							 | 
						||
| 
								 | 
							
								            font-size: 10px;
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								    </style>
							 | 
						||
| 
								 | 
							
								</head>
							 | 
						||
| 
								 | 
							
								<body>
							 | 
						||
| 
								 | 
							
								    <div class="header">
							 | 
						||
| 
								 | 
							
								        <h1>Lista de Préstamos</h1>
							 | 
						||
| 
								 | 
							
								        <p>Fecha de generación: {{ date('d/m/Y H:i:s') }}</p>
							 | 
						||
| 
								 | 
							
								    </div>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <table>
							 | 
						||
| 
								 | 
							
								        <thead>
							 | 
						||
| 
								 | 
							
								            <tr>
							 | 
						||
| 
								 | 
							
								                <th>ID</th>
							 | 
						||
| 
								 | 
							
								                <th>Solicitante</th>
							 | 
						||
| 
								 | 
							
								                <th>Destino</th>
							 | 
						||
| 
								 | 
							
								                <th>Salida</th>
							 | 
						||
| 
								 | 
							
								                <th>Llegada</th>
							 | 
						||
| 
								 | 
							
								                <th>Motivo</th>
							 | 
						||
| 
								 | 
							
								                <th>Domicilio</th>
							 | 
						||
| 
								 | 
							
								                <th>Personas</th>
							 | 
						||
| 
								 | 
							
								                <th>Chofer</th>
							 | 
						||
| 
								 | 
							
								                <th>Estado</th>
							 | 
						||
| 
								 | 
							
								            </tr>
							 | 
						||
| 
								 | 
							
								        </thead>
							 | 
						||
| 
								 | 
							
								        <tbody>
							 | 
						||
| 
								 | 
							
								            @foreach($prestamos as $prestamo)
							 | 
						||
| 
								 | 
							
								            <tr>
							 | 
						||
| 
								 | 
							
								                <td>{{ $prestamo->id }}</td>
							 | 
						||
| 
								 | 
							
								                <td>{{ $prestamo->nombre_solicitante }}</td>
							 | 
						||
| 
								 | 
							
								                <td>{{ $prestamo->destino }}</td>
							 | 
						||
| 
								 | 
							
								                <td>{{ $prestamo->fecha_hora_salida }}</td>
							 | 
						||
| 
								 | 
							
								                <td>{{ $prestamo->fecha_hora_llegada }}</td>
							 | 
						||
| 
								 | 
							
								                <td>{{ $prestamo->motivo }}</td>
							 | 
						||
| 
								 | 
							
								                <td>{{ $prestamo->domicilio }}</td>
							 | 
						||
| 
								 | 
							
								                <td>{{ $prestamo->numero_personas }}</td>
							 | 
						||
| 
								 | 
							
								                <td>{{ $prestamo->chofer ? 'Sí' : 'No' }}</td>
							 | 
						||
| 
								 | 
							
								                <td>{{ $prestamo->eliminado == 0 ? 'Activo' : 'Inactivo' }}</td>
							 | 
						||
| 
								 | 
							
								            </tr>
							 | 
						||
| 
								 | 
							
								            @endforeach
							 | 
						||
| 
								 | 
							
								        </tbody>
							 | 
						||
| 
								 | 
							
								    </table>
							 | 
						||
| 
								 | 
							
								</body>
							 | 
						||
| 
								 | 
							
								</html>
							 |