-
Notifications
You must be signed in to change notification settings - Fork 2
/
pdf.html
143 lines (135 loc) · 3.89 KB
/
pdf.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
<style>
* {
font-size: 12px;
font-family: 'Times New Roman';
}
td,
th,
tr,
table {
border-top: 1px solid black;
border-collapse: collapse;
}
td.producto,
th.producto {
width: 75px;
max-width: 75px;
}
td.cantidad,
th.cantidad {
width: 40px;
max-width: 40px;
word-break: break-all;
}
td.precio,
th.precio {
width: 40px;
max-width: 40px;
word-break: break-all;
}
.centrado {
text-align: center;
align-content: center;
}
.ticket {
width: 155px;
max-width: 155px;
page-break-before: always;
}
img {
max-width: inherit;
width: inherit;
}
@media print{
.oculto-impresion, .oculto-impresion *{
display: none !important;
}
}
</style>
</head>
<body>
<div class="ticket">
<img src="https://yt3.ggpht.com/-3BKTe8YFlbA/AAAAAAAAAAI/AAAAAAAAAAA/ad0jqQ4IkGE/s900-c-k-no-mo-rj-c0xffffff/photo.jpg" alt="Logotipo">
<p class="centrado">TICKET DE VENTA ANDIMAR
<br>RONALSES :) <3
<br>17/10/2017 02:22 a.m.</p>
<table>
<thead>
<tr>
<th class="cantidad">CANT</th>
<th class="producto">PRODUCTO</th>
<th class="precio">$$</th>
</tr>
</thead>
<tbody>
<tr>
<td class="cantidad">1.00</td>
<td class="producto">CHEETOS VERDES 80 G</td>
<td class="precio">$8.50</td>
</tr>
<tr>
<td class="cantidad">2.00</td>
<td class="producto">KINDER DELICE</td>
<td class="precio">$10.00</td>
</tr>
<tr>
<td class="cantidad">1.00</td>
<td class="producto">COCA COLA 600 ML</td>
<td class="precio">$10.00</td>
</tr>
<tr>
<td class="cantidad"></td>
<td class="producto">TOTAL</td>
<td class="precio">$28.50</td>
</tr>
</tbody>
</table>
<p class="centrado">¡GRACIAS POR SU COMPRA!
<br>parzibyte.me</p>
</div>
<div class="ticket">
<img src="https://yt3.ggpht.com/-3BKTe8YFlbA/AAAAAAAAAAI/AAAAAAAAAAA/ad0jqQ4IkGE/s900-c-k-no-mo-rj-c0xffffff/photo.jpg" alt="Logotipo">
<p class="centrado">TICKET DE VENTA ANDIMAR
<br>RONALSES :) <3
<br>17/10/2017 02:22 a.m.</p>
<table>
<thead>
<tr>
<th class="cantidad">CANT</th>
<th class="producto">PRODUCTO</th>
<th class="precio">$$</th>
</tr>
</thead>
<tbody>
<tr>
<td class="cantidad">1.00</td>
<td class="producto">CHEETOS VERDES 80 G</td>
<td class="precio">$8.50</td>
</tr>
<tr>
<td class="cantidad">2.00</td>
<td class="producto">KINDER DELICE</td>
<td class="precio">$10.00</td>
</tr>
<tr>
<td class="cantidad">1.00</td>
<td class="producto">COCA COLA 600 ML</td>
<td class="precio">$10.00</td>
</tr>
<tr>
<td class="cantidad"></td>
<td class="producto">TOTAL</td>
<td class="precio">$28.50</td>
</tr>
</tbody>
</table>
<p class="centrado">¡GRACIAS POR SU COMPRA!
<br>parzibyte.me</p>
</div>
</body>
</html>