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.
		
		
		
		
			
				
					48 lines
				
				1.2 KiB
			
		
		
			
		
	
	
					48 lines
				
				1.2 KiB
			| 
								 
											7 months ago
										 
									 | 
							
								<!-- resources/views/exports/usuarios-pdf.blade.php -->
							 | 
						||
| 
								 | 
							
								<!DOCTYPE html>
							 | 
						||
| 
								 | 
							
								<html>
							 | 
						||
| 
								 | 
							
								<head>
							 | 
						||
| 
								 | 
							
								    <title>Lista de Usuarios</title>
							 | 
						||
| 
								 | 
							
								    <style>
							 | 
						||
| 
								 | 
							
								        /* Estilos opcionales para el PDF */
							 | 
						||
| 
								 | 
							
								        table {
							 | 
						||
| 
								 | 
							
								            width: 100%;
							 | 
						||
| 
								 | 
							
								            border-collapse: collapse;
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								        th, td {
							 | 
						||
| 
								 | 
							
								            border: 1px solid black;
							 | 
						||
| 
								 | 
							
								            padding: 8px;
							 | 
						||
| 
								 | 
							
								            text-align: left;
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								    </style>
							 | 
						||
| 
								 | 
							
								</head>
							 | 
						||
| 
								 | 
							
								<body>
							 | 
						||
| 
								 | 
							
								    <h1>Lista de Usuarios</h1>
							 | 
						||
| 
								 | 
							
								    <table>
							 | 
						||
| 
								 | 
							
								        <thead>
							 | 
						||
| 
								 | 
							
								            <tr>
							 | 
						||
| 
								 | 
							
								                <th>ID</th>
							 | 
						||
| 
								 | 
							
								                <th>Nombre</th>
							 | 
						||
| 
								 | 
							
								                <th>Email</th>
							 | 
						||
| 
								 | 
							
								                <th>Apellido</th>
							 | 
						||
| 
								 | 
							
								                <th>Puesto</th>
							 | 
						||
| 
								 | 
							
								                <th>Carrera</th>
							 | 
						||
| 
								 | 
							
								                <th>Teléfono</th>
							 | 
						||
| 
								 | 
							
								            </tr>
							 | 
						||
| 
								 | 
							
								        </thead>
							 | 
						||
| 
								 | 
							
								        <tbody>
							 | 
						||
| 
								 | 
							
								            @foreach($usuarios as $usuario)
							 | 
						||
| 
								 | 
							
								            <tr>
							 | 
						||
| 
								 | 
							
								                <td>{{ $usuario->id }}</td>
							 | 
						||
| 
								 | 
							
								                <td>{{ $usuario->name }}</td>
							 | 
						||
| 
								 | 
							
								                <td>{{ $usuario->email }}</td>
							 | 
						||
| 
								 | 
							
								                <td>{{ $usuario->apellido }}</td>
							 | 
						||
| 
								 | 
							
								                <td>{{ $usuario->puesto }}</td>
							 | 
						||
| 
								 | 
							
								                <td>{{ $usuario->carrera }}</td>
							 | 
						||
| 
								 | 
							
								                <td>{{ $usuario->telefono }}</td>
							 | 
						||
| 
								 | 
							
								            </tr>
							 | 
						||
| 
								 | 
							
								            @endforeach
							 | 
						||
| 
								 | 
							
								        </tbody>
							 | 
						||
| 
								 | 
							
								    </table>
							 | 
						||
| 
								 | 
							
								</body>
							 | 
						||
| 
								 | 
							
								</html>
							 |