-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinvoice-pdf.html
133 lines (117 loc) · 5.64 KB
/
invoice-pdf.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
---
layout: pdf
title: Email Preview
---
<!-- WRAPPER -->
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top">
<!-- MASTER -->
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="master" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="height: 202mm">
<td valign="top">
<!-- LOGO BAR -->
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="height: 25mm;">
<tr>
<td align="center" valign="top" class="pink-border-btm">
<img
width="70%"
src="{{var logo_url}}"
alt="{{var logo_alt}}"
border="0"/>
</td>
</tr>
</table>
<!-- END LOGO BAR -->
<table border="0" cellpadding="20" cellspacing="0" width="100%" class="white-box">
<tr>
<td valign="top" width="50%">
<h1>INVOICE #{{var invoice.increment_id}}</h1>
<h2>ORDER #{{var order.increment_id}}</h2>
</td>
<td width="50%" valign="top">
<p>
Order Date: <em>{{var order.getCreatedAtFormated('long')}}</em>
</p>
<p>
<em>Thanks again for your business.</em>
</p>
</td>
</tr>
</table>
<table border="0" cellpadding="20" cellspacing="0" width="100%" class="white-box" id="order-summary">
<tr>
<td class="heading">
<h2>ORDER SUMMARY</h2>
</td>
</tr>
<tr>
<td>
<!-- sales_email_order_invoice_item -->
{{layout area="frontend" handle="sales_email_order_invoice_items" invoice=$invoice order=$order}}
<!-- end sales_email_order_invoice_items -->
</td>
</tr>
</table>
<table border="0" cellpadding="20" cellspacing="0" width="100%" class="plain-box">
<tr>
<td valign="top" width="50%" class="method">
<h2>SHIPPING METHOD</h2>
{{var order.shipping_description}}
</td>
<td valign="top" width="50%" class="method">
<h2>PAYMENT METHOD</h2>
{{var payment_html}}
</td>
</tr>
</table>
<!-- END MEAT -->
<table border="0" cellpadding="10" cellspacing="0" width="100%" class="white-box pink-border-top">
<tr>
<td valign="top" align="center">
piggyPrint Ltd. | PO Box 110, Huddersfield, West Yorkshire. HD7 9AS
</td>
</tr>
</table>
</td>
</table>
<!-- PERFORATED -->
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="white-box" style="height: 75mm; border-top: 1px dashed #ddd">
<tr>
<td style="padding-top: 8mm; padding-bottom: 13mm">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<!-- LEFT MARGIN -->
<td class="sticker margin">
</td>
<td align="left" valign="top" class="sticker">
<div style="margin: 5mm;">
Ship To:<br />
{{var order.getShippingAddress().format('html')}}
</div>
</td>
<!-- MIDDLE GUTTER -->
<td>
</td>
<td align="left" valign="top" class="sticker">
<div style="margin: 5mm;">
Bill To:<br />
{{var order.getBillingAddress().format('html')}}
</div>
</td>
<!-- RIGHT MARGIN -->
<td class="sticker margin">
</td>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END MASTER -->
</td>
</tr>
</table>
<!-- END WRAPPER -->