-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathdispatchnote.html
128 lines (120 loc) · 3.4 KB
/
dispatchnote.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
<!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>{%Receipt} {OrderNumber}</title>
<link rel="stylesheet" type="text/css" href="{ThemeUrl}/css/printables.css?date=20170803" />
</head>
<body>
<div id="ReceiptHeader">
<div id="Logo">
{Logo}
</div>
<div id="ReceiptTitle">
<h4>{ShopName}</h4>
<h1>{%DispatchNote} {OrderNumber}</h1>
</div>
</div>
<div id="InfoWrapper">
<div id="ShippingAddress">
{OrderShippingCompany(after:'<br />')}
{OrderShippingName(after:'<br />')}
{OrderShippingAddress(after:'<br />')}
{OrderShippingZip}
{OrderShippingCity(after:'<br />')}
{OrderShippingCountry}
</div>
<div id="OrderInfo">
<dl>
<dt>{%CheckoutCustomerInformation}</dt>
<dd>{OrderCustomerInformation}</dd>
</dl>
<dl class="OrderInfo">
<dt class="OrderDate">{%Date}</dt><dd class="OrderDate">{OrderDate}</dd>
<dt class="OrderNumber">{%Ordernumber}</dt><dd class="OrderNumber">{OrderNumber}</dd>
<dt class="OrderPaymentMethod">{%PaymentMethod}</dt><dd class="OrderPaymentMethod">{OrderPaymentMethod(show_price: 'false')}</dd>
<dt class="OrderShippingMethod">{%CheckoutShipping}</dt><dd class="OrderShippingMethod">{OrderShippingMethod}</dd>
{OrderTrackingCode(
before: '<dt class="OrderTrackingCode">{%TrackingCode}</dt><dd class="OrderTrackingCode">',
after: '</dd>'
)}
{OrderPickupPoint(
before: '<dt class="OrderPickupPoint">{%PickupPoint}</dt><dd class="OrderPickupPoint">',
after: '</dd>'
)}
{OrderComments(
before: '<dt class="OrderComments">{%CheckoutOrderComments}</dt><dd class="OrderComments">',
after: '</dd>'
)}
</dl>
</div>
</div>
{OrderProducts(
before: '
<div id="PrintProducts">
<table>
<thead>
<tr>
<th scope="col" class="CartProduct">{%Product}</th>
<th scope="col">{%ProductCode}</th>
<th scope="col">{%Quantity}</th>
<th scope="col">{%ShippingDate}</th>
</tr>
</thead>
<tbody>
',
helper: '{{
<tr>
<th class="CartProduct">
<h3>
{OrderProductName}
{OrderProductVariation(before: ' <br /><em class="ProductVariation">',after:'</em>')}
{OrderProductDownloadLink(before: ' <br /><span style="font-weight: normal;">{%ProductDownload}: </span><strong class="ProductDownloadLink">',after:'</strong>')}
</h3>
{ProductStockPlace(
before: '<dl><dt>{%Storage}</dt><dd>',
after: '</dd></dl>'
)}
{OrderProductChoices}
</th>
<td>{OrderProductCode}</td>
<td>{OrderProductQuantity}</td>
<td>{OrderProductShippingStatus}</td>
</tr>
}}',
after: '</tbody></table></div>'
)}
<div id="ReceiptContact">
<p id="PrintContactAddress">
{ContactCompany}
{ContactBusinessID(
before: ' (',
after: ')'
)}
<br>
{ContactStreetAddress1(
after: '
{ContactStreetAddress2(before: '<br>')}
'
)}
<br>
{ContactZip} {ContactCity(after:', ')} {ContactCountry}
</p>
<p id="PrintContactElectrical">
{ContactEmail(after:'<br>')}
{ContactInternet(after:'<br>')}
{ContactPhone(after:'<br>')}
</p>
<div id="PrintBanner">
{Banners(
name: 'print',
sort: 'random',
limit: 1,
helper: '{{
{BannerText}
}}'
)}
</div>
</div>
</body>
</html>