Commit | Line | Data |
---|---|---|
7cdb890a PJ |
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html xmlns="http://www.w3.org/1999/xhtml"> | |
3 | <head> | |
4 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
5 | <title></title> | |
6 | </head> | |
7 | <body> | |
8 | ||
9 | {capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} | |
10 | {capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} | |
11 | {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} | |
820fbcfb PJ |
12 | {capture assign=emptyBlockStyle }style="padding: 10px; border-bottom: 1px solid #999;background-color: #f7f7f7;"{/capture} |
13 | {capture assign=emptyBlockValueStyle }style="padding: 10px; border-bottom: 1px solid #999;"{/capture} | |
7cdb890a | 14 | |
7cdb890a | 15 | <center> |
cb342529 | 16 | <table id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;"> |
7cdb890a PJ |
17 | |
18 | <!-- BEGIN HEADER --> | |
19 | <!-- You can add table row(s) here with logo or other header elements --> | |
20 | <!-- END HEADER --> | |
21 | ||
22 | <!-- BEGIN CONTENT --> | |
7cdb890a PJ |
23 | <tr> |
24 | <td> | |
cb342529 | 25 | {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}<p>{$greeting},</p>{/if} |
7324e717 | 26 | {if $isRefund} |
cb342529 | 27 | <p>{ts}A refund has been issued based on changes in your registration selections.{/ts}</p> |
7cdb890a | 28 | {else} |
cb342529 | 29 | <p>{ts}Below you will find a receipt for this payment.{/ts}</p> |
30 | {if $paymentsComplete} | |
31 | <p>{ts}Thank you for completing this contribution.{/ts}</p> | |
32 | {/if} | |
7cdb890a | 33 | {/if} |
7cdb890a PJ |
34 | </td> |
35 | </tr> | |
820fbcfb PJ |
36 | <tr> |
37 | <td> | |
38 | <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;"> | |
cb342529 | 39 | {if $isRefund} |
40 | <tr> | |
41 | <th {$headerStyle}>{ts}Refund Details{/ts}</th> | |
42 | </tr> | |
43 | <tr> | |
44 | <td {$labelStyle}> | |
45 | {ts}This Refund Amount{/ts} | |
46 | </td> | |
47 | <td {$valueStyle}> | |
48 | {$refundAmount|crmMoney} | |
49 | </td> | |
50 | </tr> | |
51 | {else} | |
52 | <tr> | |
53 | <th {$headerStyle}>{ts}Payment Details{/ts}</th> | |
54 | </tr> | |
55 | <tr> | |
56 | <td {$labelStyle}> | |
57 | {ts}This Payment Amount{/ts} | |
58 | </td> | |
59 | <td {$valueStyle}> | |
60 | {$paymentAmount|crmMoney} | |
61 | </td> | |
62 | </tr> | |
63 | {/if} | |
64 | {if $receive_date} | |
65 | <tr> | |
66 | <td {$labelStyle}> | |
67 | {ts}Transaction Date{/ts} | |
68 | </td> | |
69 | <td {$valueStyle}> | |
70 | {$receive_date|crmDate} | |
71 | </td> | |
72 | </tr> | |
73 | {/if} | |
74 | {if $trxn_id} | |
75 | <tr> | |
76 | <td {$labelStyle}> | |
77 | {ts}Transaction #{/ts} | |
78 | </td> | |
79 | <td {$valueStyle}> | |
80 | {$trxn_id} | |
81 | </td> | |
82 | </tr> | |
83 | {/if} | |
84 | {if $paidBy} | |
85 | <tr> | |
86 | <td {$labelStyle}> | |
87 | {ts}Paid By{/ts} | |
88 | </td> | |
89 | <td {$valueStyle}> | |
90 | {$paidBy} | |
91 | </td> | |
92 | </tr> | |
93 | {/if} | |
94 | {if $checkNumber} | |
95 | <tr> | |
96 | <td {$labelStyle}> | |
97 | {ts}Check Number{/ts} | |
98 | </td> | |
99 | <td {$valueStyle}> | |
100 | {$checkNumber} | |
101 | </td> | |
102 | </tr> | |
103 | {/if} | |
104 | ||
7cdb890a | 105 | <tr> |
cb342529 | 106 | <th {$headerStyle}>{ts}Contribution Details{/ts}</th> |
7cdb890a PJ |
107 | </tr> |
108 | <tr> | |
109 | <td {$labelStyle}> | |
1f6479af | 110 | {ts}Total Fee{/ts} |
7cdb890a PJ |
111 | </td> |
112 | <td {$valueStyle}> | |
113 | {$totalAmount|crmMoney} | |
114 | </td> | |
1010c4e1 PJ |
115 | </tr> |
116 | <tr> | |
7cdb890a | 117 | <td {$labelStyle}> |
1f6479af | 118 | {ts}Total Paid{/ts} |
7cdb890a PJ |
119 | </td> |
120 | <td {$valueStyle}> | |
121 | {$totalPaid|crmMoney} | |
122 | </td> | |
1010c4e1 PJ |
123 | </tr> |
124 | <tr> | |
7cdb890a | 125 | <td {$labelStyle}> |
cb342529 | 126 | {ts}Balance Owed{/ts} |
7cdb890a PJ |
127 | </td> |
128 | <td {$valueStyle}> | |
cb342529 | 129 | {$amountOwed|crmMoney} |
130 | </td> {* This will be zero after final payment. *} | |
7cdb890a | 131 | </tr> |
820fbcfb | 132 | </table> |
cb342529 | 133 | |
820fbcfb PJ |
134 | </td> |
135 | </tr> | |
7cdb890a PJ |
136 | <tr> |
137 | <td> | |
7f7fa13a | 138 | <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;"> |
1e477c5b | 139 | {if $billingName || $address} |
7cdb890a PJ |
140 | <tr> |
141 | <th {$headerStyle}> | |
7f7fa13a | 142 | {ts}Billing Name and Address{/ts} |
7cdb890a PJ |
143 | </th> |
144 | </tr> | |
145 | <tr> | |
146 | <td colspan="2" {$valueStyle}> | |
7f7fa13a EM |
147 | {$billingName}<br /> |
148 | {$address|nl2br} | |
7cdb890a PJ |
149 | </td> |
150 | </tr> | |
7f7fa13a | 151 | {/if} |
1e477c5b | 152 | {if $credit_card_number} |
7cdb890a PJ |
153 | <tr> |
154 | <th {$headerStyle}> | |
7f7fa13a | 155 | {ts}Credit Card Information{/ts} |
7cdb890a PJ |
156 | </th> |
157 | </tr> | |
158 | <tr> | |
159 | <td colspan="2" {$valueStyle}> | |
7f7fa13a EM |
160 | {$credit_card_type}<br /> |
161 | {$credit_card_number}<br /> | |
162 | {ts}Expires:{/ts} {$credit_card_exp_date|truncate:7:''|crmDate} | |
7cdb890a PJ |
163 | </td> |
164 | </tr> | |
7f7fa13a EM |
165 | {/if} |
166 | {if $component eq 'event'} | |
167 | <tr> | |
168 | <th {$headerStyle}> | |
169 | {ts}Event Information and Location{/ts} | |
170 | </th> | |
171 | </tr> | |
172 | <tr> | |
173 | <td colspan="2" {$valueStyle}> | |
174 | {$event.event_title}<br /> | |
175 | {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:"%Y%m%d" == $event.event_start_date|date_format:"%Y%m%d"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if} | |
176 | </td> | |
177 | </tr> | |
7cdb890a | 178 | |
7324e717 | 179 | {if $event.participant_role} |
7f7fa13a EM |
180 | <tr> |
181 | <td {$labelStyle}> | |
182 | {ts}Participant Role{/ts} | |
183 | </td> | |
184 | <td {$valueStyle}> | |
185 | {$event.participant_role} | |
186 | </td> | |
187 | </tr> | |
188 | {/if} | |
7cdb890a | 189 | |
7f7fa13a EM |
190 | {if $isShowLocation} |
191 | <tr> | |
192 | <td colspan="2" {$valueStyle}> | |
060625d6 | 193 | {$location.address.1.display|nl2br} |
7f7fa13a EM |
194 | </td> |
195 | </tr> | |
196 | {/if} | |
7cdb890a | 197 | |
7f7fa13a EM |
198 | {if $location.phone.1.phone || $location.email.1.email} |
199 | <tr> | |
200 | <td colspan="2" {$labelStyle}> | |
201 | {ts}Event Contacts:{/ts} | |
202 | </td> | |
203 | </tr> | |
204 | {foreach from=$location.phone item=phone} | |
205 | {if $phone.phone} | |
7cdb890a PJ |
206 | <tr> |
207 | <td {$labelStyle}> | |
7f7fa13a EM |
208 | {if $phone.phone_type} |
209 | {$phone.phone_type_display} | |
210 | {else} | |
211 | {ts}Phone{/ts} | |
212 | {/if} | |
7cdb890a PJ |
213 | </td> |
214 | <td {$valueStyle}> | |
7f7fa13a | 215 | {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if} |
7cdb890a PJ |
216 | </td> |
217 | </tr> | |
7f7fa13a EM |
218 | {/if} |
219 | {/foreach} | |
220 | {foreach from=$location.email item=eventEmail} | |
221 | {if $eventEmail.email} | |
7cdb890a PJ |
222 | <tr> |
223 | <td {$labelStyle}> | |
7f7fa13a | 224 | {ts}Email{/ts} |
7cdb890a PJ |
225 | </td> |
226 | <td {$valueStyle}> | |
7f7fa13a | 227 | {$eventEmail.email} |
7cdb890a PJ |
228 | </td> |
229 | </tr> | |
7f7fa13a EM |
230 | {/if} |
231 | {/foreach} | |
232 | {/if} {*phone block close*} | |
233 | {/if} | |
234 | </table> | |
7cdb890a PJ |
235 | </td> |
236 | </tr> | |
237 | ||
238 | </table> | |
239 | </center> | |
240 | ||
241 | </body> | |
242 | </html> |