commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / civicrm / CRM / Upgrade / 3.3.beta2.msg_template / message_templates / event_online_receipt_text.tpl
1 {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}
2 {$event.confirm_email_text}
3 {/if}
4
5 {if $isOnWaitlist}
6 ==========================================================={if $pricesetFieldsCount }===================={/if}
7
8 {ts}You have been added to the WAIT LIST for this event.{/ts}
9
10 {if $isPrimary}
11 {ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}
12 {/if}
13 ==========================================================={if $pricesetFieldsCount }===================={/if}
14
15 {elseif $isRequireApproval}
16 ==========================================================={if $pricesetFieldsCount }===================={/if}
17
18 {ts}Your registration has been submitted.{/ts}
19
20 {if $isPrimary}
21 {ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}
22
23 {/if}
24 ==========================================================={if $pricesetFieldsCount }===================={/if}
25
26 {elseif $is_pay_later}
27
28 ==========================================================={if $pricesetFieldsCount }===================={/if}
29
30 {$pay_later_receipt}
31 ==========================================================={if $pricesetFieldsCount }===================={/if}
32
33 {else}
34
35 {ts}Please print this confirmation for your records.{/ts}
36 {/if}
37
38
39 ==========================================================={if $pricesetFieldsCount }===================={/if}
40
41 {ts}Event Information and Location{/ts}
42
43 ==========================================================={if $pricesetFieldsCount }===================={/if}
44
45 {$event.event_title}
46 {$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}
47
48 {if $event.participant_role neq 'Attendee' and $defaultRole}
49 {ts}Participant Role{/ts}: {$event.participant_role}
50 {/if}
51
52 {if $isShowLocation}
53 {if $location.address.1.name}
54
55 {$location.address.1.name}
56 {/if}
57 {if $location.address.1.street_address}{$location.address.1.street_address}
58 {/if}
59 {if $location.address.1.supplemental_address_1}{$location.address.1.supplemental_address_1}
60 {/if}
61 {if $location.address.1.supplemental_address_2}{$location.address.1.supplemental_address_2}
62 {/if}
63 {if $location.address.1.city}{$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}
64 {/if}
65
66 {/if}{*End of isShowLocation condition*}
67
68 {if $location.phone.1.phone || $location.email.1.email}
69
70 {ts}Event Contacts:{/ts}
71 {foreach from=$location.phone item=phone}
72 {if $phone.phone}
73
74 {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}
75 {/foreach}
76 {foreach from=$location.email item=eventEmail}
77 {if $eventEmail.email}
78
79 {ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}
80 {/if}
81
82 {capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture}
83 {ts}Download iCalendar File:{/ts} {$icalFeed}
84 {if $email}
85
86 ==========================================================={if $pricesetFieldsCount }===================={/if}
87
88 {ts}Registered Email{/ts}
89
90 ==========================================================={if $pricesetFieldsCount }===================={/if}
91
92 {$email}
93 {/if}
94 {if $event.is_monetary} {* This section for Paid events only.*}
95
96 ==========================================================={if $pricesetFieldsCount }===================={/if}
97
98 {$event.fee_label}
99 ==========================================================={if $pricesetFieldsCount }===================={/if}
100
101 {if $lineItem}{foreach from=$lineItem item=value key=priceset}
102
103 {if $value neq 'skip'}
104 {if $isPrimary}
105 {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}
106 {ts 1=$priceset+1}Participant %1{/ts} {$part.$priceset.info}
107
108 {/if}
109 {/if}
110 -----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}
111
112 {capture assign=ts_item}{ts}Item{/ts}{/capture}
113 {capture assign=ts_qty}{ts}Qty{/ts}{/capture}
114 {capture assign=ts_each}{ts}Each{/ts}{/capture}
115 {capture assign=ts_total}{ts}Total{/ts}{/capture}
116 {if $pricesetFieldsCount }{capture assign=ts_participant_total}{ts}Total Participants{/ts}{/capture}{/if}
117 {$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {$ts_total|string_format:"%10s"} {$ts_participant_total|string_format:"%10s"}
118 -----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}
119
120 {foreach from=$value item=line}
121 {if $pricesetFieldsCount }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}
122 {capture assign=ts_item}{if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:"..."|string_format:"%-30s"} {$line.qty|string_format:"%5s"} {$line.unit_price|crmMoney|string_format:"%10s"} {$line.line_total|crmMoney|string_format:"%10s"}{$ts_participant_count|string_format:"%10s"}
123 {/foreach}
124 {/if}
125 {/foreach}
126 {/if}
127 {if $amount && !$lineItem}
128 {foreach from=$amount item=amnt key=level}{$amnt.amount|crmMoney} {$amnt.label}
129 {/foreach}
130 {/if}
131 {if $isPrimary }
132
133 {ts}Total Amount{/ts}: {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}
134
135 {if $pricesetFieldsCount }
136 {assign var="count" value= 0}
137 {foreach from=$lineItem item=pcount}
138 {assign var="lineItemCount" value=0}
139 {if $pcount neq 'skip'}
140 {foreach from=$pcount item=p_count}
141 {assign var="lineItemCount" value=$lineItemCount+$p_count.participant_count}
142 {/foreach}
143 {if $lineItemCount < 1 }
144 {assign var="lineItemCount" value=1}
145 {/if}
146 {assign var="count" value=$count+$lineItemCount}
147 {/if}
148 {/foreach}
149
150 {ts}Total Participants{/ts}: {$count}
151 {/if}
152
153 {if $is_pay_later }
154
155 ==========================================================={if $pricesetFieldsCount }===================={/if}
156
157 {$pay_later_receipt}
158 ==========================================================={if $pricesetFieldsCount }===================={/if}
159
160 {/if}
161
162 {if $register_date}
163 {ts}Registration Date{/ts}: {$register_date|crmDate}
164 {/if}
165 {if $receive_date}
166 {ts}Transaction Date{/ts}: {$receive_date|crmDate}
167 {/if}
168 {if $contributionTypeName}
169 {ts}Contribution Type{/ts}: {$contributionTypeName}
170 {/if}
171 {if $trxn_id}
172 {ts}Transaction #{/ts}: {$trxn_id}
173 {/if}
174 {if $paidBy}
175 {ts}Paid By{/ts}: {$paidBy}
176 {/if}
177 {if $checkNumber}
178 {ts}Check Number{/ts}: {$checkNumber}
179 {/if}
180 {if $contributeMode ne 'notify' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}
181
182 ==========================================================={if $pricesetFieldsCount }===================={/if}
183
184 {ts}Billing Name and Address{/ts}
185
186 ==========================================================={if $pricesetFieldsCount }===================={/if}
187
188 {$billingName}
189 {$address}
190 {/if}
191
192 {if $contributeMode eq 'direct' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}
193 ==========================================================={if $pricesetFieldsCount }===================={/if}
194
195 {ts}Credit Card Information{/ts}
196
197 ==========================================================={if $pricesetFieldsCount }===================={/if}
198
199 {$credit_card_type}
200 {$credit_card_number}
201 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
202 {/if}
203 {/if}
204 {/if} {* End of conditional section for Paid events *}
205
206 {if $customPre}
207 ==========================================================={if $pricesetFieldsCount }===================={/if}
208
209 {$customPre_grouptitle}
210 ==========================================================={if $pricesetFieldsCount }===================={/if}
211
212 {foreach from=$customPre item=value key=customName}
213 {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}
214 {$customName}: {$value}
215 {/if}
216 {/foreach}
217 {/if}
218
219 {if $customPost}
220 ==========================================================={if $pricesetFieldsCount }===================={/if}
221
222 {$customPost_grouptitle}
223 ==========================================================={if $pricesetFieldsCount }===================={/if}
224
225 {foreach from=$customPost item=value key=customName}
226 {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}
227 {$customName}: {$value}
228 {/if}
229 {/foreach}
230 {/if}
231 {if $customProfile}
232
233 {foreach from=$customProfile item=value key=customName}
234 ==========================================================={if $pricesetFieldsCount }===================={/if}
235
236 {ts 1=$customName+1}Participant Information - Participant %1{/ts}
237
238 ==========================================================={if $pricesetFieldsCount }===================={/if}
239
240 {foreach from=$value item=val key=field}
241 {if $field eq 'additionalCustomPre' or $field eq 'additionalCustomPost' }
242 {if $field eq 'additionalCustomPre' }
243 ----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}
244
245 {$additionalCustomPre_grouptitle}
246 ----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}
247
248 {else}
249 ----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}
250
251 {$additionalCustomPost_grouptitle}
252 ----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}
253
254 {/if}
255 {foreach from=$val item=v key=f}
256 {$f}: {$v}
257 {/foreach}
258 {/if}
259 {/foreach}
260 {/foreach}
261 {/if}
262 {if $customGroup}
263 {foreach from=$customGroup item=value key=customName}
264 =========================================================={if $pricesetFieldsCount }===================={/if}
265
266 {$customName}
267 =========================================================={if $pricesetFieldsCount }===================={/if}
268
269 {foreach from=$value item=v key=n}
270 {$n}: {$v}
271 {/foreach}
272 {/foreach}
273 {/if}