| 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} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/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 | {if $event.is_public} |
| 84 | {capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture} |
| 85 | {ts}Download iCalendar File:{/ts} {$icalFeed} |
| 86 | {/if} |
| 87 | |
| 88 | {if $email} |
| 89 | |
| 90 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 91 | |
| 92 | {ts}Registered Email{/ts} |
| 93 | |
| 94 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 95 | |
| 96 | {$email} |
| 97 | {/if} |
| 98 | {if $event.is_monetary} {* This section for Paid events only.*} |
| 99 | |
| 100 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 101 | |
| 102 | {$event.fee_label} |
| 103 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 104 | |
| 105 | {if $lineItem}{foreach from=$lineItem item=value key=priceset} |
| 106 | |
| 107 | {if $value neq 'skip'} |
| 108 | {if $isPrimary} |
| 109 | {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *} |
| 110 | {ts 1=$priceset+1}Participant %1{/ts} |
| 111 | {/if} |
| 112 | {/if} |
| 113 | ---------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if} |
| 114 | |
| 115 | {capture assign=ts_item}{ts}Item{/ts}{/capture} |
| 116 | {capture assign=ts_qty}{ts}Qty{/ts}{/capture} |
| 117 | {capture assign=ts_each}{ts}Each{/ts}{/capture} |
| 118 | {capture assign=ts_total}{ts}Total{/ts}{/capture} |
| 119 | {capture assign=ts_participant_total}{if $pricesetFieldsCount }{ts}Total Participants{/ts}{/if}{/capture} |
| 120 | {$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"} |
| 121 | ----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if} |
| 122 | |
| 123 | {foreach from=$value item=line} |
| 124 | {if $pricesetFieldsCount }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if} |
| 125 | {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"} |
| 126 | {/foreach} |
| 127 | {/if} |
| 128 | {/foreach} |
| 129 | {/if} |
| 130 | {if $amount && !$lineItem} |
| 131 | {foreach from=$amount item=amnt key=level}{$amnt.amount|crmMoney} {$amnt.label} |
| 132 | {/foreach} |
| 133 | {/if} |
| 134 | {if $isPrimary} |
| 135 | |
| 136 | {if $balanceAmount}{ts}Total Paid{/ts}{else}{ts}Total Amount{/ts}{/if}: {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if} |
| 137 | |
| 138 | {if $balanceAmount} |
| 139 | {ts}Balance{/ts}: {$balanceAmount|crmMoney} |
| 140 | {/if} |
| 141 | |
| 142 | {if $pricesetFieldsCount } |
| 143 | {assign var="count" value= 0} |
| 144 | {foreach from=$lineItem item=pcount} |
| 145 | {assign var="lineItemCount" value=0} |
| 146 | {if $pcount neq 'skip'} |
| 147 | {foreach from=$pcount item=p_count} |
| 148 | {assign var="lineItemCount" value=$lineItemCount+$p_count.participant_count} |
| 149 | {/foreach} |
| 150 | {if $lineItemCount < 1 } |
| 151 | {assign var="lineItemCount" value=1} |
| 152 | {/if} |
| 153 | {assign var="count" value=$count+$lineItemCount} |
| 154 | {/if} |
| 155 | {/foreach} |
| 156 | |
| 157 | {ts}Total Participants{/ts}: {$count} |
| 158 | {/if} |
| 159 | |
| 160 | {if $is_pay_later } |
| 161 | |
| 162 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 163 | |
| 164 | {$pay_later_receipt} |
| 165 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 166 | |
| 167 | {/if} |
| 168 | |
| 169 | {if $register_date} |
| 170 | {ts}Registration Date{/ts}: {$register_date|crmDate} |
| 171 | {/if} |
| 172 | {if $receive_date} |
| 173 | {ts}Transaction Date{/ts}: {$receive_date|crmDate} |
| 174 | {/if} |
| 175 | {if $contributionTypeName} |
| 176 | {ts}Financial Type{/ts}: {$contributionTypeName} |
| 177 | {/if} |
| 178 | {if $trxn_id} |
| 179 | {ts}Transaction #{/ts}: {$trxn_id} |
| 180 | {/if} |
| 181 | {if $paidBy} |
| 182 | {ts}Paid By{/ts}: {$paidBy} |
| 183 | {/if} |
| 184 | {if $checkNumber} |
| 185 | {ts}Check Number{/ts}: {$checkNumber} |
| 186 | {/if} |
| 187 | {if $contributeMode ne 'notify' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval} |
| 188 | |
| 189 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 190 | |
| 191 | {ts}Billing Name and Address{/ts} |
| 192 | |
| 193 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 194 | |
| 195 | {$billingName} |
| 196 | {$address} |
| 197 | {/if} |
| 198 | |
| 199 | {if $contributeMode eq 'direct' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval} |
| 200 | =========================================================== |
| 201 | {ts}Credit Card Information{/ts} |
| 202 | |
| 203 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 204 | |
| 205 | {$credit_card_type} |
| 206 | {$credit_card_number} |
| 207 | {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} |
| 208 | {/if} |
| 209 | {/if} |
| 210 | {/if} {* End of conditional section for Paid events *} |
| 211 | |
| 212 | {if $customPre} |
| 213 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 214 | |
| 215 | {$customPre_grouptitle} |
| 216 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 217 | |
| 218 | {foreach from=$customPre item=value key=customName} |
| 219 | {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields} |
| 220 | {$customName}: {$value} |
| 221 | {/if} |
| 222 | {/foreach} |
| 223 | {/if} |
| 224 | |
| 225 | {if $customPost} |
| 226 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 227 | |
| 228 | {$customPost_grouptitle} |
| 229 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 230 | |
| 231 | {foreach from=$customPost item=value key=customName} |
| 232 | {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields} |
| 233 | {$customName}: {$value} |
| 234 | {/if} |
| 235 | {/foreach} |
| 236 | {/if} |
| 237 | {if $customProfile} |
| 238 | |
| 239 | {foreach from=$customProfile item=value key=customName} |
| 240 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 241 | |
| 242 | {ts 1=$customName+1}Participant Information - Participant %1{/ts} |
| 243 | |
| 244 | ==========================================================={if $pricesetFieldsCount }===================={/if} |
| 245 | |
| 246 | {foreach from=$value item=val key=field} |
| 247 | {if $field eq 'additionalCustomPre' or $field eq 'additionalCustomPost' } |
| 248 | {if $field eq 'additionalCustomPre' } |
| 249 | ----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if} |
| 250 | |
| 251 | {$additionalCustomPre_grouptitle} |
| 252 | ----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if} |
| 253 | |
| 254 | {else} |
| 255 | ----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if} |
| 256 | |
| 257 | {$additionalCustomPost_grouptitle} |
| 258 | ----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if} |
| 259 | |
| 260 | {/if} |
| 261 | {foreach from=$val item=v key=f} |
| 262 | {$f}: {$v} |
| 263 | {/foreach} |
| 264 | {/if} |
| 265 | {/foreach} |
| 266 | {/foreach} |
| 267 | {/if} |
| 268 | {if $customGroup} |
| 269 | {foreach from=$customGroup item=value key=customName} |
| 270 | =========================================================={if $pricesetFieldsCount }===================={/if} |
| 271 | |
| 272 | {$customName} |
| 273 | =========================================================={if $pricesetFieldsCount }===================={/if} |
| 274 | |
| 275 | {foreach from=$value item=v key=n} |
| 276 | {$n}: {$v} |
| 277 | {/foreach} |
| 278 | {/foreach} |
| 279 | {/if} |
| 280 | |
| 281 | |