| 1 | {contact.email_greeting}, |
| 2 | |
| 3 | {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)} |
| 4 | {$event.confirm_email_text} |
| 5 | |
| 6 | {else} |
| 7 | Thank you for your participation. This letter is a confirmation that your registration has been received and your status has been updated to {if $participant_status}{$participant_status}{else}{if $isOnWaitlist}waitlisted{else}registered{/if}{/if}. |
| 8 | |
| 9 | {/if} |
| 10 | |
| 11 | {if $isOnWaitlist} |
| 12 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 13 | |
| 14 | {ts}You have been added to the WAIT LIST for this event.{/ts} |
| 15 | |
| 16 | {if $isPrimary} |
| 17 | {ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts} |
| 18 | {/if} |
| 19 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 20 | |
| 21 | {elseif $isRequireApproval} |
| 22 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 23 | |
| 24 | {ts}Your registration has been submitted.{/ts} |
| 25 | |
| 26 | {if $isPrimary} |
| 27 | {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} |
| 28 | |
| 29 | {/if} |
| 30 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 31 | |
| 32 | {elseif $is_pay_later && !$isAmountzero && !$isAdditionalParticipant} |
| 33 | |
| 34 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 35 | |
| 36 | {$pay_later_receipt} |
| 37 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 38 | |
| 39 | {else} |
| 40 | |
| 41 | {ts}Please print this confirmation for your records.{/ts} |
| 42 | {/if} |
| 43 | |
| 44 | |
| 45 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 46 | |
| 47 | {ts}Event Information and Location{/ts} |
| 48 | |
| 49 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 50 | |
| 51 | {$event.event_title} |
| 52 | {$event.event_start_date|date_format:"%A"} {$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|date_format:"%A"} {$event.event_end_date|crmDate}{/if}{/if} |
| 53 | {if $conference_sessions} |
| 54 | |
| 55 | |
| 56 | {ts}Your schedule:{/ts} |
| 57 | {assign var='group_by_day' value='NA'} |
| 58 | {foreach from=$conference_sessions item=session} |
| 59 | {if $session.start_date|date_format:"%Y/%m/%d" != $group_by_day|date_format:"%Y/%m/%d"} |
| 60 | {assign var='group_by_day' value=$session.start_date} |
| 61 | |
| 62 | {$group_by_day|date_format:"%m/%d/%Y"} |
| 63 | |
| 64 | |
| 65 | {/if} |
| 66 | {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title} |
| 67 | {if $session.location} {$session.location}{/if} |
| 68 | {/foreach} |
| 69 | {/if} |
| 70 | |
| 71 | {if $event.participant_role neq 'Attendee' and $defaultRole} |
| 72 | {ts}Participant Role{/ts}: {$event.participant_role} |
| 73 | {/if} |
| 74 | |
| 75 | {if $isShowLocation} |
| 76 | {if $location.address.1.name} |
| 77 | |
| 78 | {$location.address.1.name} |
| 79 | {/if} |
| 80 | {if $location.address.1.street_address}{$location.address.1.street_address} |
| 81 | {/if} |
| 82 | {if $location.address.1.supplemental_address_1}{$location.address.1.supplemental_address_1} |
| 83 | {/if} |
| 84 | {if $location.address.1.supplemental_address_2}{$location.address.1.supplemental_address_2} |
| 85 | {/if} |
| 86 | {if $location.address.1.city}{$location.address.1.city}, {$location.address.1.state_province} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if} |
| 87 | {/if} |
| 88 | |
| 89 | {/if}{*End of isShowLocation condition*} |
| 90 | |
| 91 | {if $location.phone.1.phone || $location.email.1.email} |
| 92 | |
| 93 | {ts}Event Contacts:{/ts} |
| 94 | {foreach from=$location.phone item=phone} |
| 95 | {if $phone.phone} |
| 96 | |
| 97 | {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if} |
| 98 | {/foreach} |
| 99 | {foreach from=$location.email item=eventEmail} |
| 100 | {if $eventEmail.email} |
| 101 | |
| 102 | {ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach} |
| 103 | {/if} |
| 104 | |
| 105 | {if $event.is_public} |
| 106 | {capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture} |
| 107 | {ts}Download iCalendar File:{/ts} {$icalFeed} |
| 108 | {/if} |
| 109 | |
| 110 | {if $payer.name} |
| 111 | You were registered by: {$payer.name} |
| 112 | {/if} |
| 113 | {if $event.is_monetary} {* This section for Paid events only.*} |
| 114 | |
| 115 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 116 | |
| 117 | {$event.fee_label} |
| 118 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 119 | |
| 120 | {if $lineItem}{foreach from=$lineItem item=value key=priceset} |
| 121 | |
| 122 | {if $value neq 'skip'} |
| 123 | {if $isPrimary} |
| 124 | {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *} |
| 125 | {ts 1=$priceset+1}Participant %1{/ts} {$part.$priceset.info} |
| 126 | |
| 127 | {/if} |
| 128 | {/if} |
| 129 | -----------------------------------------------------------{if $pricesetFieldsCount }-----------------------------------------------------{/if} |
| 130 | |
| 131 | {capture assign=ts_item}{ts}Item{/ts}{/capture} |
| 132 | {capture assign=ts_qty}{ts}Qty{/ts}{/capture} |
| 133 | {capture assign=ts_each}{ts}Each{/ts}{/capture} |
| 134 | {if $dataArray} |
| 135 | {capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} |
| 136 | {capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} |
| 137 | {capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} |
| 138 | {/if} |
| 139 | {capture assign=ts_total}{ts}Total{/ts}{/capture} |
| 140 | {if $pricesetFieldsCount }{capture assign=ts_participant_total}{ts}Total Participants{/ts}{/capture}{/if} |
| 141 | {$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {if $dataArray} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate|string_format:"%10s"} {$ts_taxAmount|string_format:"%10s"} {/if} {$ts_total|string_format:"%10s"} {$ts_participant_total|string_format:"%10s"} |
| 142 | -----------------------------------------------------------{if $pricesetFieldsCount }-----------------------------------------------------{/if} |
| 143 | |
| 144 | {foreach from=$value item=line} |
| 145 | {if $pricesetFieldsCount }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if} |
| 146 | {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:$currency|string_format:"%10s"} {if $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:"%10s"} {if $line.tax_rate != "" || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:$currency|string_format:"%10s"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:"%10s"}{$ts_participant_count|string_format:"%10s"} |
| 147 | {/foreach} |
| 148 | ---------------------------------------------------------------------------------------------------------------- |
| 149 | {if $individual}{ts}Participant Total{/ts} {$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:"%29s"} {$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:"%33s"} {$individual.$priceset.totalAmtWithTax|crmMoney:$currency|string_format:"%12s"}{/if} |
| 150 | {/if} |
| 151 | {""|string_format:"%120s"} |
| 152 | {/foreach} |
| 153 | {""|string_format:"%120s"} |
| 154 | |
| 155 | {if $dataArray} |
| 156 | {ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency} |
| 157 | |
| 158 | {foreach from=$dataArray item=value key=priceset} |
| 159 | {if $priceset || $priceset == 0} |
| 160 | {$taxTerm} {$priceset|string_format:"%.2f"}%: {$value|crmMoney:$currency} |
| 161 | {else} |
| 162 | {ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency} |
| 163 | {/if} |
| 164 | {/foreach} |
| 165 | {/if} |
| 166 | {/if} |
| 167 | |
| 168 | {if $amounts && !$lineItem} |
| 169 | {foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label} |
| 170 | {/foreach} |
| 171 | {/if} |
| 172 | |
| 173 | {if $totalTaxAmount} |
| 174 | {ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency} |
| 175 | {/if} |
| 176 | {if $isPrimary } |
| 177 | |
| 178 | {ts}Total Amount{/ts}: {$totalAmount|crmMoney:$currency} {if $hookDiscount.message}({$hookDiscount.message}){/if} |
| 179 | |
| 180 | {if $pricesetFieldsCount } |
| 181 | {assign var="count" value= 0} |
| 182 | {foreach from=$lineItem item=pcount} |
| 183 | {assign var="lineItemCount" value=0} |
| 184 | {if $pcount neq 'skip'} |
| 185 | {foreach from=$pcount item=p_count} |
| 186 | {assign var="lineItemCount" value=$lineItemCount+$p_count.participant_count} |
| 187 | {/foreach} |
| 188 | {if $lineItemCount < 1 } |
| 189 | {assign var="lineItemCount" value=1} |
| 190 | {/if} |
| 191 | {assign var="count" value=$count+$lineItemCount} |
| 192 | {/if} |
| 193 | {/foreach} |
| 194 | |
| 195 | {ts}Total Participants{/ts}: {$count} |
| 196 | {/if} |
| 197 | |
| 198 | {if $register_date} |
| 199 | {ts}Registration Date{/ts}: {$register_date|crmDate} |
| 200 | {/if} |
| 201 | {if $receive_date} |
| 202 | {ts}Transaction Date{/ts}: {$receive_date|crmDate} |
| 203 | {/if} |
| 204 | {if $contributionTypeName} |
| 205 | {ts}Financial Type{/ts}: {$contributionTypeName} |
| 206 | {/if} |
| 207 | {if $trxn_id} |
| 208 | {ts}Transaction #{/ts}: {$trxn_id} |
| 209 | {/if} |
| 210 | {if $paidBy} |
| 211 | {ts}Paid By{/ts}: {$paidBy} |
| 212 | {/if} |
| 213 | {if $checkNumber} |
| 214 | {ts}Check Number{/ts}: {$checkNumber} |
| 215 | {/if} |
| 216 | {if $contributeMode ne 'notify' and !$isAmountzero and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and !$isOnWaitlist and !$isRequireApproval} |
| 217 | |
| 218 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 219 | |
| 220 | {ts}Billing Name and Address{/ts} |
| 221 | |
| 222 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 223 | |
| 224 | {$billingName} |
| 225 | {$address} |
| 226 | {/if} |
| 227 | |
| 228 | {if $contributeMode eq 'direct' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval} |
| 229 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 230 | |
| 231 | {ts}Credit Card Information{/ts} |
| 232 | |
| 233 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 234 | |
| 235 | {$credit_card_type} |
| 236 | {$credit_card_number} |
| 237 | {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} |
| 238 | {/if} |
| 239 | {/if} |
| 240 | {/if} {* End of conditional section for Paid events *} |
| 241 | |
| 242 | {if $customPre} |
| 243 | {foreach from=$customPre item=customPr key=i} |
| 244 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 245 | |
| 246 | {$customPre_grouptitle.$i} |
| 247 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 248 | |
| 249 | {foreach from=$customPr item=customValue key=customName} |
| 250 | {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields} |
| 251 | {$customName}: {$customValue} |
| 252 | {/if} |
| 253 | {/foreach} |
| 254 | {/foreach} |
| 255 | {/if} |
| 256 | |
| 257 | {if $customPost} |
| 258 | {foreach from=$customPost item=customPos key=j} |
| 259 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 260 | |
| 261 | {$customPost_grouptitle.$j} |
| 262 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 263 | |
| 264 | {foreach from=$customPos item=customValue key=customName} |
| 265 | {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields} |
| 266 | {$customName}: {$customValue} |
| 267 | {/if} |
| 268 | {/foreach} |
| 269 | {/foreach} |
| 270 | {/if} |
| 271 | {if $customProfile} |
| 272 | |
| 273 | {foreach from=$customProfile.profile item=eachParticipant key=participantID} |
| 274 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 275 | |
| 276 | {ts 1=$participantID+2}Participant Information - Participant %1{/ts} |
| 277 | |
| 278 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 279 | |
| 280 | {foreach from=$eachParticipant item=eachProfile key=pid} |
| 281 | ----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if} |
| 282 | |
| 283 | {$customProfile.title.$pid} |
| 284 | ----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if} |
| 285 | |
| 286 | {foreach from=$eachProfile item=val key=field} |
| 287 | {foreach from=$val item=v key=f} |
| 288 | {$field}: {$v} |
| 289 | {/foreach} |
| 290 | {/foreach} |
| 291 | {/foreach} |
| 292 | {/foreach} |
| 293 | {/if} |
| 294 | {if $customGroup} |
| 295 | {foreach from=$customGroup item=value key=customName} |
| 296 | =========================================================={if $pricesetFieldsCount }===================={/if} |
| 297 | |
| 298 | {$customName} |
| 299 | =========================================================={if $pricesetFieldsCount }===================={/if} |
| 300 | |
| 301 | {foreach from=$value item=v key=n} |
| 302 | {$n}: {$v} |
| 303 | {/foreach} |
| 304 | {/foreach} |
| 305 | {/if} |