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