Commit | Line | Data |
---|---|---|
6a488035 TO |
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 | ||
13 | <center> | |
14 | <table width="620" border="0" cellpadding="0" cellspacing="0" id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left;"> | |
15 | ||
16 | <!-- BEGIN HEADER --> | |
17 | <!-- You can add table row(s) here with logo or other header elements --> | |
18 | <!-- END HEADER --> | |
19 | ||
20 | <!-- BEGIN CONTENT --> | |
21 | ||
22 | <tr> | |
23 | <td> | |
24 | {if $formValues.receipt_text_signup} | |
25 | <p>{$formValues.receipt_text_signup|htmlize}</p> | |
26 | {elseif $formValues.receipt_text_renewal} | |
27 | <p>{$formValues.receipt_text_renewal|htmlize}</p> | |
28 | {else} | |
29 | <p>{ts}Thanks for your support.{/ts}</p> | |
30 | {/if} | |
31 | {if ! $cancelled} | |
32 | <p>{ts}Please print this receipt for your records.{/ts}</p> | |
33 | {/if} | |
34 | </td> | |
35 | </tr> | |
36 | <tr> | |
37 | <td> | |
38 | <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;"> | |
39 | <tr> | |
40 | <th {$headerStyle}> | |
41 | {ts}Membership Information{/ts} | |
42 | </th> | |
43 | </tr> | |
44 | <tr> | |
45 | <td {$labelStyle}> | |
46 | {ts}Membership Type{/ts} | |
47 | </td> | |
48 | <td {$valueStyle}> | |
49 | {$membership_name} | |
50 | </td> | |
51 | </tr> | |
52 | {if ! $cancelled} | |
53 | <tr> | |
54 | <td {$labelStyle}> | |
55 | {ts}Membership Start Date{/ts} | |
56 | </td> | |
57 | <td {$valueStyle}> | |
58 | {$mem_start_date} | |
59 | </td> | |
60 | </tr> | |
61 | <tr> | |
62 | <td {$labelStyle}> | |
63 | {ts}Membership End Date{/ts} | |
64 | </td> | |
65 | <td {$valueStyle}> | |
66 | {$mem_end_date} | |
67 | </td> | |
68 | </tr> | |
69 | {if $formValues.total_amount} | |
70 | <tr> | |
71 | <th {$headerStyle}> | |
72 | {ts}Membership Fee{/ts} | |
73 | </th> | |
74 | </tr> | |
75 | {if $formValues.contributionType_name} | |
76 | <tr> | |
77 | <td {$labelStyle}> | |
78 | {ts}Contribution Type{/ts} | |
79 | </td> | |
80 | <td {$valueStyle}> | |
81 | {$formValues.contributionType_name} | |
82 | </td> | |
83 | </tr> | |
84 | {/if} | |
85 | <tr> | |
86 | <td {$labelStyle}> | |
87 | {ts}Amount{/ts} | |
88 | </td> | |
89 | <td {$valueStyle}> | |
90 | {$formValues.total_amount|crmMoney} | |
91 | </td> | |
92 | </tr> | |
93 | {if $receive_date} | |
94 | <tr> | |
95 | <td {$labelStyle}> | |
96 | {ts}Received Date{/ts} | |
97 | </td> | |
98 | <td {$valueStyle}> | |
99 | {$receive_date|truncate:10:''|crmDate} | |
100 | </td> | |
101 | </tr> | |
102 | {/if} | |
103 | {if $formValues.paidBy} | |
104 | <tr> | |
105 | <td {$labelStyle}> | |
106 | {ts}Paid By{/ts} | |
107 | </td> | |
108 | <td {$valueStyle}> | |
109 | {$formValues.paidBy} | |
110 | </td> | |
111 | </tr> | |
112 | {if $formValues.check_number} | |
113 | <tr> | |
114 | <td {$labelStyle}> | |
115 | {ts}Check Number{/ts} | |
116 | </td> | |
117 | <td {$valueStyle}> | |
118 | {$formValues.check_number} | |
119 | </td> | |
120 | </tr> | |
121 | {/if} | |
122 | {/if} | |
123 | {/if} | |
124 | {/if} | |
125 | </table> | |
126 | </td> | |
127 | </tr> | |
128 | ||
129 | {if $isPrimary} | |
130 | <tr> | |
131 | <td> | |
132 | <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;"> | |
133 | ||
134 | {if $contributeMode ne 'notify' and !$isAmountzero and !$is_pay_later } | |
135 | <tr> | |
136 | <th {$headerStyle}> | |
137 | {ts}Billing Name and Address{/ts} | |
138 | </th> | |
139 | </tr> | |
140 | <tr> | |
141 | <td {$labelStyle}> | |
142 | {$billingName}<br /> | |
143 | {$address} | |
144 | </td> | |
145 | </tr> | |
146 | {/if} | |
147 | ||
148 | {if $contributeMode eq 'direct' and !$isAmountzero and !$is_pay_later} | |
149 | <tr> | |
150 | <th {$headerStyle}> | |
151 | {ts}Credit Card Information{/ts} | |
152 | </th> | |
153 | </tr> | |
154 | <tr> | |
155 | <td {$valueStyle}> | |
156 | {$credit_card_type}<br /> | |
157 | {$credit_card_number} | |
158 | </td> | |
159 | </tr> | |
160 | <tr> | |
161 | <td {$labelStyle}> | |
162 | {ts}Expires{/ts} | |
163 | </td> | |
164 | <td {$valueStyle}> | |
165 | {$credit_card_exp_date|truncate:7:''|crmDate} | |
166 | </td> | |
167 | </tr> | |
168 | {/if} | |
169 | ||
170 | </table> | |
171 | </td> | |
172 | </tr> | |
173 | {/if} | |
174 | ||
175 | {if $customValues} | |
176 | <tr> | |
177 | <td> | |
178 | <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;"> | |
179 | <tr> | |
180 | <th {$headerStyle}> | |
181 | {ts}Membership Options{/ts} | |
182 | </th> | |
183 | </tr> | |
184 | {foreach from=$customValues item=value key=customName} | |
185 | <tr> | |
186 | <td {$labelStyle}> | |
187 | {$customName} | |
188 | </td> | |
189 | <td {$valueStyle}> | |
190 | {$value} | |
191 | </td> | |
192 | </tr> | |
193 | {/foreach} | |
194 | </table> | |
195 | </td> | |
196 | </tr> | |
197 | {/if} | |
198 | ||
199 | </table> | |
200 | </center> | |
201 | ||
202 | </body> | |
203 | </html> |