forked from MyCashflow/MyCashflow-Default-Theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddresslabel.html
103 lines (100 loc) · 2.07 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
93
94
95
96
97
98
99
100
101
102
103
<!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: left;
}
html, body {
width: 100%;
height: 100%;
overflow: hidden;
}
img {
display: block;
margin: 0 auto 18pt; padding: 0;
prince-image-resolution: 300;
max-height: 60mm;
max-width: 60mm;
}
#SenderInformation {
float: left;
height: 100%;
width: 38%;
border-right: 0.5pt solid #888;
}
#ReceiverAddress {
float: left;
height: 100%;
width: 61%;
margin-left: -0.5pt;
}
#ReceiverAddress .Content {
padding-top: 40mm;
text-align: right;
font-size: 16pt;
line-height: 24pt;
}
.Content {
padding: 10mm;
}
.Content p {
width: 100%; overflow: hidden;
word-break: break-all; margin: 0;
}
h2 {
font-size: 12pt;
margin: 0 0 18pt;
}
.NoLogoImage {
display: block;
margin: 0 0 18pt;
}
dl {
display: block;
margin: 0 0 9pt;
}
dt {
}
dd {
margin-left: 18pt;
}
</style>
</head>
<body>
<div id="SenderInformation">
<div class="Content">
{Logo}
<h2>{%Sender}</h2>
<p>
{ContactCompany(after:'<br>')}
{ContactStreetAddress1(after:'{ContactStreetAddress2(before:', ')}<br>')}
{ContactZip} {ContactCity(after:'<br>')}
{ContactCountry}
</p>
</div>
</div>
<div id="ReceiverAddress">
<div class="Content">
<p>
{OrderShippingCompany(after:'<br />')}
{OrderShippingName}
{OrderShippingAddress(before:'<br>')}
{OrderShippingZip(before:'<br>')} {OrderShippingCity}
{OrderShippingCountry(before:'<br>')}
{OrderShippingPhone(before:'<br>')}
</p>
</div>
</div>
</body>
</html>