-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathaddresslabel.html
92 lines (92 loc) · 1.95 KB
/
addresslabel.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{%Order} {OrderNumber}</title>
<style type="text/css">
* { margin: 0; padding: 0; border: 0; }
@page {
size: A5 landscape;
margin: 0; padding: 0;
}
body {
color: #000; background: #FFF;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 12pt; line-height: 18pt;
text-align: right;
}
html, body {
width: 100%;
height: 100%;
overflow: hidden;
}
.LogoLink {
float: left;
display: block;
text-align: left;
padding: 10mm;
}
.NoLogoImage {
display: none;
margin: 0 0 18pt;
}
img {
display: block;
margin: 0 auto 18pt; padding: 0;
prince-image-resolution: 300;
max-height: 30mm;
max-width: 60mm;
}
.Content {
padding: 40mm 10mm 10mm;
text-align: right;
font-size: 16pt;
line-height: 24pt;
}
.Content p {
word-break: break-all; margin: 0;
}
.Sender {
position: absolute;
left: 10mm; top: 45mm;
text-align: left;
font-size: 11pt;
line-height: 14pt;
}
.Receiver {
position: absolute;
right: 10mm; top: 75mm;
text-align: left;
font-size: 11pt;
line-height: 14pt;
}
h2 {
font-size: 11pt;
margin: 0 0 14pt;
}
</style>
</head>
<body>
{Logo}
<div class="Content">
<div class="Receiver">
<p>
{OrderShippingCompany(after:'<br />')}
{OrderShippingName}
{OrderShippingAddress(before:'<br>')}
{OrderShippingZip(before:'<br>')} {OrderShippingCity}
{OrderShippingCountry(before:'<br>')}
</p>
</div>
<div class="Sender">
<h2>{%Sender}</h2>
<p>
{ContactCompany(after:'<br>')}
{ContactStreetAddress1(after:'{ContactStreetAddress2(before:', ')}<br>')}
{ContactZip} {ContactCity(after:'<br>')}
{ContactCountry}
</p>
</div>
</div>
</body>
</html>