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.
		
		
		
		
		
			
		
			
				
					
					
						
							53 lines
						
					
					
						
							1.1 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							53 lines
						
					
					
						
							1.1 KiB
						
					
					
				
								<!DOCTYPE html>
							 | 
						|
								<html>
							 | 
						|
								<head>
							 | 
						|
								    <title>Reporte de Puestos</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 Puestos</h1>
							 | 
						|
								        <p>Fecha de generación: {{ date('d/m/Y H:i:s') }}</p>
							 | 
						|
								    </div>
							 | 
						|
								
							 | 
						|
								    <table>
							 | 
						|
								        <thead>
							 | 
						|
								            <tr>
							 | 
						|
								                <th>#</th>
							 | 
						|
								                <th>Nombre del Puesto</th>
							 | 
						|
								
							 | 
						|
								            </tr>
							 | 
						|
								        </thead>
							 | 
						|
								        <tbody>
							 | 
						|
								            @foreach($puestos as $index => $puesto)
							 | 
						|
								            <tr>
							 | 
						|
								                <td>{{ $index + 1 }}</td>
							 | 
						|
								                <td>{{ $puesto->nombre }}</td>
							 | 
						|
								
							 | 
						|
								            </tr>
							 | 
						|
								            @endforeach
							 | 
						|
								        </tbody>
							 | 
						|
								    </table>
							 | 
						|
								</body>
							 | 
						|
								</html>
							 | 
						|
								
							 |