060625d6 |
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} |
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} |
14 | |
15 | <p>Dear {$contactDisplayName}</p> |
16 | <center> |
17 | <table width="620" border="0" cellpadding="0" cellspacing="0" id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left;"> |
18 | |
19 | <!-- BEGIN HEADER --> |
20 | <!-- You can add table row(s) here with logo or other header elements --> |
21 | <!-- END HEADER --> |
22 | |
23 | <!-- BEGIN CONTENT --> |
24 | |
25 | <tr> |
26 | <td> |
27 | {if $paymentConfig.confirm_email_text} |
28 | <p>{$paymentConfig.confirm_email_text|htmlize}</p> |
29 | {elseif $isRefund} |
30 | <p>{ts}A refund has been issued based on changes in your registration selections.{/ts}</p> |
31 | {else} |
32 | <p>{ts}A payment has been received.{/ts}</p> |
33 | {/if} |
34 | <p>{ts}Please print this confirmation for your records.{/ts}</p> |
35 | </td> |
36 | </tr> |
37 | <tr> |
38 | <td> |
39 | <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;"> |
40 | {if $isRefund} |
41 | <tr> |
42 | <th {$headerStyle}>{ts}Refund Details{/ts}</th> |
43 | </tr> |
44 | <tr> |
45 | <td {$labelStyle}> |
46 | {ts}Total Fees{/ts} |
47 | </td> |
48 | <td {$valueStyle}> |
49 | {$totalAmount|crmMoney} |
50 | </td> |
51 | </tr> |
52 | <tr> |
53 | <td {$labelStyle}> |
54 | {ts}You Paid{/ts} |
55 | </td> |
56 | <td {$valueStyle}> |
57 | {$totalPaid|crmMoney} |
58 | </td> |
59 | </tr> |
60 | <tr> |
61 | <td {$labelStyle}> |
62 | {ts}Refund Amount{/ts} |
63 | </td> |
64 | <td {$valueStyle}> |
65 | {$refundAmount|crmMoney} |
66 | <td> |
67 | </tr> |
68 | {else} |
69 | <tr> |
70 | <th {$headerStyle}>{ts}Payment Details{/ts}</th> |
71 | </tr> |
72 | <tr> |
73 | <td {$labelStyle}> |
74 | {ts}{if $component eq 'event'}Total Fees{/if}{/ts} |
75 | </td> |
76 | <td {$valueStyle}> |
77 | {$totalAmount|crmMoney} |
78 | </td> |
79 | </tr> |
80 | <tr> |
81 | <td {$labelStyle}> |
82 | {ts}This Payment Amount{/ts} |
83 | </td> |
84 | <td {$valueStyle}> |
85 | {$paymentAmount|crmMoney} |
86 | </td> |
87 | </tr> |
88 | <tr> |
89 | <td {$labelStyle}> |
90 | {ts}Balance Owed{/ts} |
91 | </td> |
92 | <td {$valueStyle}> |
93 | {$amountOwed|crmMoney} |
94 | </td> {* This will be zero after final payment. *} |
95 | </tr> |
96 | <tr> <td {$emptyBlockStyle}></td> |
97 | <td {$emptyBlockValueStyle}></td></tr> |
98 | {if $paymentsComplete} |
99 | <tr> |
100 | <td colspan='2' {$valueStyle}> |
101 | {ts}Thank-you. This completes your payment for {if $component eq 'event'}{$event.event_title}{/if}.{/ts} |
102 | </td> |
103 | </tr> |
104 | {/if} |
105 | {/if} |
106 | {if $receive_date} |
107 | <tr> |
108 | <td {$labelStyle}> |
109 | {ts}Transaction Date{/ts} |
110 | </td> |
111 | <td {$valueStyle}> |
112 | {$receive_date|crmDate} |
113 | </td> |
114 | </tr> |
115 | {/if} |
116 | {if $trxn_id} |
117 | <tr> |
118 | <td {$labelStyle}> |
119 | {ts}Transaction #{/ts} |
120 | </td> |
121 | <td {$valueStyle}> |
122 | {$trxn_id} |
123 | </td> |
124 | </tr> |
125 | {/if} |
126 | {if $paidBy} |
127 | <tr> |
128 | <td {$labelStyle}> |
129 | {ts}Paid By{/ts} |
130 | </td> |
131 | <td {$valueStyle}> |
132 | {$paidBy} |
133 | </td> |
134 | </tr> |
135 | {/if} |
136 | {if $checkNumber} |
137 | <tr> |
138 | <td {$labelStyle}> |
139 | {ts}Check Number{/ts} |
140 | </td> |
141 | <td {$valueStyle}> |
142 | {$checkNumber} |
143 | </td> |
144 | </tr> |
145 | {/if} |
146 | </table> |
147 | </td> |
148 | </tr> |
149 | <tr> |
150 | <td> |
151 | <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;"> |
152 | {if $contributeMode eq 'direct' and !$isAmountzero} |
153 | <tr> |
154 | <th {$headerStyle}> |
155 | {ts}Billing Name and Address{/ts} |
156 | </th> |
157 | </tr> |
158 | <tr> |
159 | <td colspan="2" {$valueStyle}> |
160 | {$billingName}<br /> |
161 | {$address|nl2br} |
162 | </td> |
163 | </tr> |
164 | {/if} |
165 | {if $contributeMode eq'direct' and !$isAmountzero} |
166 | <tr> |
167 | <th {$headerStyle}> |
168 | {ts}Credit Card Information{/ts} |
169 | </th> |
170 | </tr> |
171 | <tr> |
172 | <td colspan="2" {$valueStyle}> |
173 | {$credit_card_type}<br /> |
174 | {$credit_card_number}<br /> |
175 | {ts}Expires:{/ts} {$credit_card_exp_date|truncate:7:''|crmDate} |
176 | </td> |
177 | </tr> |
178 | {/if} |
179 | {if $component eq 'event'} |
180 | <tr> |
181 | <th {$headerStyle}> |
182 | {ts}Event Information and Location{/ts} |
183 | </th> |
184 | </tr> |
185 | <tr> |
186 | <td colspan="2" {$valueStyle}> |
187 | {$event.event_title}<br /> |
188 | {$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} |
189 | </td> |
190 | </tr> |
191 | |
192 | {if $event.participant_role neq 'Attendee' and $defaultRole} |
193 | <tr> |
194 | <td {$labelStyle}> |
195 | {ts}Participant Role{/ts} |
196 | </td> |
197 | <td {$valueStyle}> |
198 | {$event.participant_role} |
199 | </td> |
200 | </tr> |
201 | {/if} |
202 | |
203 | {if $isShowLocation} |
204 | <tr> |
205 | <td colspan="2" {$valueStyle}> |
206 | {$location.address.1.display|nl2br} |
207 | </td> |
208 | </tr> |
209 | {/if} |
210 | |
211 | {if $location.phone.1.phone || $location.email.1.email} |
212 | <tr> |
213 | <td colspan="2" {$labelStyle}> |
214 | {ts}Event Contacts:{/ts} |
215 | </td> |
216 | </tr> |
217 | {foreach from=$location.phone item=phone} |
218 | {if $phone.phone} |
219 | <tr> |
220 | <td {$labelStyle}> |
221 | {if $phone.phone_type} |
222 | {$phone.phone_type_display} |
223 | {else} |
224 | {ts}Phone{/ts} |
225 | {/if} |
226 | </td> |
227 | <td {$valueStyle}> |
228 | {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if} |
229 | </td> |
230 | </tr> |
231 | {/if} |
232 | {/foreach} |
233 | {foreach from=$location.email item=eventEmail} |
234 | {if $eventEmail.email} |
235 | <tr> |
236 | <td {$labelStyle}> |
237 | {ts}Email{/ts} |
238 | </td> |
239 | <td {$valueStyle}> |
240 | {$eventEmail.email} |
241 | </td> |
242 | </tr> |
243 | {/if} |
244 | {/foreach} |
245 | {/if} {*phone block close*} |
246 | {/if} |
247 | </table> |
248 | </td> |
249 | </tr> |
250 | |
251 | </table> |
252 | </center> |
253 | |
254 | </body> |
255 | </html> |