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.
 
 
 
 

36 lines
992 B

<!DOCTYPE html>
<html>
<head>
<style>
body { font-family: Arial, sans-serif; }
table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th, td { border: 1px solid #000; padding: 8px; text-align: left; }
th { background-color: #f2f2f2; }
</style>
</head>
<body>
<h1>Reporte de Inventario</h1>
<table>
<thead>
<tr>
<th>ID</th>
<th>Bodega</th>
<th>Artículo</th>
<th>Cantidad</th>
<th>Precio</th>
</tr>
</thead>
<tbody>
{% for item in inventarios %}
<tr>
<td>{{ item.id }}</td>
<td>{{ item.bodega.nombre_bodega }}</td>
<td>{{ item.articulo.nombre_articulo }}</td>
<td>{{ item.cantidad }}</td>
<td>{{ item.precio }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</body>
</html>