-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathorder_template.html
75 lines (70 loc) · 1.17 KB
/
order_template.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
<!DOCTYPE html>
<html>
<head>
<style>
.container {
width: 595pt;
height: 842pt;
display: flex;
overflow: auto;
align-items: center;
flex-direction: column;
}
.text {
top: 30pt;
left: 260pt;
margin: auto;
position: absolute;
}
.text1 {
top: 80pt;
left: 265pt;
position: absolute;
font-size: 24pt;
}
.text2 {
top: 130pt;
left: 85pt;
position: absolute;
font-size: 20pt;
}
.text3 {
top: 130pt;
left: 275pt;
position: absolute;
font-size: 20pt;
}
.text4 {
top: 130pt;
right: 85pt;
position: absolute;
font-size: 20pt;
}
hr {
border: none;
border-top: 1px dotted #000;
color: #fff;
background-color: #fff;
height: 1px;
width: 80%;
top: 150pt;
position: absolute;
}
@media print {
@page {
size: A4;
}
}
</style>
</head>
<body onload="window.print()">
<div class='container'>
<h1 class='text'>Fac_name</h1>
<span class='text1'>t_num</span>
<span class='text2'>Name</span>
<span class='text3'>Quantity</span>
<span class='text4'>Price</span>
<hr>
</div>
</body>
</html>