-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplantilla.html
53 lines (53 loc) · 1.04 KB
/
plantilla.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-family: Arial, sans-serif;
margin: 20px;
}
.header {
text-align: center;
margin-bottom: 20px;
}
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}
th, td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
th {
background-color: #f2f2f2;
}
</style>
</head>
<body>
<div class="header">
<h1>Reporte de Ventas</h1>
<p>Rango de fechas: {{fechaDesde}} a {{fechaHasta}}</p>
<p>Ventas Totales: ${{ventasTotales}}</p>
</div>
<table>
<thead>
<tr>
<th>Producto</th>
<th>Cantidad Vendida</th>
<th>Total ($)</th>
</tr>
</thead>
<tbody>
{{#each ventas}}
<tr>
<td>{{producto}}</td>
<td>{{cantidad}}</td>
<td>{{total}}</td>
</tr>
{{/each}}
</tbody>
</table>
</body>
</html>