commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / CRM / Upgrade / 4.2.alpha2.msg_template / message_templates / event_offline_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
13 {/if}
14 ==========================================================={if $pricesetFieldsCount }===================={/if}
15
16 {elseif $isRequireApproval}
17 ==========================================================={if $pricesetFieldsCount }===================={/if}
18
19 {ts}Your registration has been submitted.{/ts}
20
21 {if $isPrimary}
22 {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}
23
24 {/if}
25 ==========================================================={if $pricesetFieldsCount }===================={/if}
26
27 {elseif $is_pay_later}
28
29 ==========================================================={if $pricesetFieldsCount }===================={/if}
30
31 {$pay_later_receipt}
32 ==========================================================={if $pricesetFieldsCount }===================={/if}
33
34 {else}
35
36 {ts}Please print this confirmation for your records.{/ts}
37 {/if}
38
39
40 ==========================================================={if $pricesetFieldsCount }===================={/if}
41
42 {ts}Event Information and Location{/ts}
43
44 ==========================================================={if $pricesetFieldsCount }===================={/if}
45
46 {$event.event_title}
47 {$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}
48
49 {if $event.participant_role neq 'Attendee' and $defaultRole}
50 {ts}Participant Role{/ts}: {$event.participant_role}
51 {/if}
52
53 {if $isShowLocation}
54 {if $location.address.1.name}
55
56 {$location.address.1.name}
57 {/if}
58 {if $location.address.1.street_address}{$location.address.1.street_address}
59 {/if}
60 {if $location.address.1.supplemental_address_1}{$location.address.1.supplemental_address_1}
61 {/if}
62 {if $location.address.1.supplemental_address_2}{$location.address.1.supplemental_address_2}
63 {/if}
64 {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}
65 {/if}
66
67 {/if}{*End of isShowLocation condition*}
68
69 {if $location.phone.1.phone || $location.email.1.email}
70
71 {ts}Event Contacts:{/ts}
72 {foreach from=$location.phone item=phone}
73 {if $phone.phone}
74
75 {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}
76 {/foreach}
77 {foreach from=$location.email item=eventEmail}
78 {if $eventEmail.email}
79
80 {ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}
81 {/if}
82
83 {capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture}
84 {ts}Download iCalendar File:{/ts} {$icalFeed}
85 {if $email}
86
87 ==========================================================={if $pricesetFieldsCount }===================={/if}
88
89 {ts}Registered Email{/ts}
90
91 ==========================================================={if $pricesetFieldsCount }===================={/if}
92
93 {$email}
94 {/if}
95 {if $event.is_monetary} {* This section for Paid events only.*}
96
97 ==========================================================={if $pricesetFieldsCount }===================={/if}
98
99 {$event.fee_label}
100 ==========================================================={if $pricesetFieldsCount }===================={/if}
101
102 {if $lineItem}{foreach from=$lineItem item=value key=priceset}
103
104 {if $value neq 'skip'}
105 {if $isPrimary}
106 {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}
107 {ts 1=$priceset+1}Participant %1{/ts}
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 {capture assign=ts_participant_total}{if $pricesetFieldsCount }{ts}Total Participants{/ts}{/if}{/capture}
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 ===========================================================
194 {ts}Credit Card Information{/ts}
195
196 ==========================================================={if $pricesetFieldsCount }===================={/if}
197
198 {$credit_card_type}
199 {$credit_card_number}
200 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
201 {/if}
202 {/if}
203 {/if} {* End of conditional section for Paid events *}
204
205 {if $customPre}
206 ==========================================================={if $pricesetFieldsCount }===================={/if}
207
208 {$customPre_grouptitle}
209 ==========================================================={if $pricesetFieldsCount }===================={/if}
210
211 {foreach from=$customPre item=value key=customName}
212 {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}
213 {$customName}: {$value}
214 {/if}
215 {/foreach}
216 {/if}
217
218 {if $customPost}
219 ==========================================================={if $pricesetFieldsCount }===================={/if}
220
221 {$customPost_grouptitle}
222 ==========================================================={if $pricesetFieldsCount }===================={/if}
223
224 {foreach from=$customPost item=value key=customName}
225 {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}
226 {$customName}: {$value}
227 {/if}
228 {/foreach}
229 {/if}
230 {if $customProfile}
231
232 {foreach from=$customProfile item=value key=customName}
233 ==========================================================={if $pricesetFieldsCount }===================={/if}
234
235 {ts 1=$customName+1}Participant Information - Participant %1{/ts}
236
237 ==========================================================={if $pricesetFieldsCount }===================={/if}
238
239 {foreach from=$value item=val key=field}
240 {if $field eq 'additionalCustomPre' or $field eq 'additionalCustomPost' }
241 {if $field eq 'additionalCustomPre' }
242 ----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}
243
244 {$additionalCustomPre_grouptitle}
245 ----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}
246
247 {else}
248 ----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}
249
250 {$additionalCustomPost_grouptitle}
251 ----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}
252
253 {/if}
254 {foreach from=$val item=v key=f}
255 {$f}: {$v}
256 {/foreach}
257 {/if}
258 {/foreach}
259 {/foreach}
260 {/if}
261 {if $customGroup}
262 {foreach from=$customGroup item=value key=customName}
263 =========================================================={if $pricesetFieldsCount }===================={/if}
264
265 {$customName}
266 =========================================================={if $pricesetFieldsCount }===================={/if}
267
268 {foreach from=$value item=v key=n}
269 {$n}: {$v}
270 {/foreach}
271 {/foreach}
272 {/if}
273
274