-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprint.html
209 lines (195 loc) · 5.08 KB
/
print.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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Imprimir factura | unolet.com</title>
<style>
body {
font-size: 16px;
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
color: black;
}
#header {
width: 100%
}
#header th {
text-align: right;
}
#header-left {
width: 50%;
padding-top: 0px;
}
#header-right {
width: auto
}
h1 {
font-size: 26px;
margin: 0px;
padding: 0px;
font-style: normal;
font-weight: bold;
}
#logo {
width: 128px
}
#items {
border-collapse: collapse;
font-size: 14px;
}
#items td {
border: 1px solid gray
}
#items th {
text-align: center;
border: 1px solid gray;
background-color: #eee;
}
hr {
border: none;
border-top: 1px solid gray;
}
#mark {
position: fixed;
font-size: 5rem;
font-weight: bold;
opacity: 0.1;
top: 45%;
left: 10%;
}
.btn,
.btn-img,
.btn img {
display: none;
}
</style>
</head>
<body>
<div id="mark">
REIMPRESIÓN
</div>
<div id="app" class="container-fluid">
<table id="header">
<tr>
<td id="header-left" style="font-weight: bold;">
<h1 id="empresa">MI EMPRESA</h1>
<div id="direccion">Dirección de la empresa</div>
<div id="rnc">RNC: 000-00000-0</div>
<div id="telefono">Tel.: 000-000-0000</div>
<div id="email">Email: -----</div>
<div id="web"></div>
</td>
<td id="header-right">
<table>
<tr>
<td colspan="2" id="titulo" style="font-size: 20px;">FACTURA A CONTADO</td>
</tr>
<tr>
<th>Almacén: </th>
<td id="almacen">Suc. Principal</td>
</tr>
<tr>
<th>Número: </th>
<td id="numero" style="white-space: nowrap;">000000000000</td>
</tr>
<tr>
<th>Fecha: </th>
<td id="fecha">01-01-2020</td>
</tr>
<tr>
<th>Vendedor: </th>
<td id="vendedor">Juan Pérez</td>
</tr>
<tr>
<th>Condición: </th>
<td id="condicion">A Contado</td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="header-left-2">
<table>
<tr>
<th>Cliente: </th>
<td id="cliente">Juana Pérez</td>
</tr>
<tr>
<th>Contacto: </th>
<td id="cliente_contacto">809-000-0001</td>
</tr>
</table>
</td>
<td id="header-right-2">
<table>
<tr>
<th>NCF: </th>
<td id="ncf">B010000000001</td>
</tr>
<tr>
<th>NIF: </th>
<td id="nif">0123456789876543210</td>
</tr>
</table>
<table id="factura_afectada" style="display: none;">
<tr>
<th colspan="2" style="text-align: center;">Factura afectada</th>
</tr>
<tr>
<th>Número: </th>
<td id="factura_afectada_numero" style="white-space: nowrap;">AAA-0000000000</td>
</tr>
<tr>
<th>Fecha: </th>
<td id="factura_afectada_fecha">01/01/1900</td>
</tr>
</table>
</td>
</tr>
</table>
<hr>
<table id="items" style="width: 100%">
<thead>
<tr id="keys"></tr>
</thead>
<tbody id="values"></tbody>
</table>
<!-- Totales -->
<table style="width: 100%;">
<tr>
<td id="print_note" style="width: 55%; font-style: italic; font-size: 14px; padding-right: 5px;"></td>
<td>
<table style="text-align: right; width: 100%">
<tr>
<td id="subtotal"></td>
</tr>
<tr>
<td id="descuento"></td>
</tr>
<tr>
<td id="itbis"></td>
</tr>
<tr>
<td id="total" style="font-weight: bold; font-size: 18px;"></td>
</tr>
<tr>
<td id="total2" style="font-weight: bold; font-size: 18px;"></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<footer style="position: fixed; bottom: 10px; width: 100%;">
<table style="width: 100%;">
<tr>
<td style="border: none; border-top: 1px solid black; text-align: center;">Revisado por</td>
<td style="border: none; padding: 5px"></td>
<td style="border: none; border-top: 1px solid black; text-align: center;">Despachado por</td>
<td style="border: none; padding: 5px"></td>
<td style="border: none; border-top: 1px solid black; text-align: center;">Recibido por</td>
</tr>
</table>
</footer>
</body>
</html>