From 210be05b7519850013f160c3d1383045fefbb35d Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Thu, 28 Dec 2023 18:15:42 +1300 Subject: [PATCH] Update regen for event message template --- sql/civicrm_generated.mysql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/civicrm_generated.mysql b/sql/civicrm_generated.mysql index 924d77ea0c..24c3489f7c 100644 --- a/sql/civicrm_generated.mysql +++ b/sql/civicrm_generated.mysql @@ -5348,8 +5348,8 @@ INSERT INTO `civicrm_msg_template` (`id`, `msg_title`, `msg_subject`, `msg_text` (28,'Additional Payment Receipt or Refund Notification','{if {financial_trxn.total_amount|raw} < 0}{ts}Refund Notification{/ts}{else}{ts}Payment Receipt{/ts}{/if}{if {event.title|boolean}} - {event.title}{/if} - {contact.display_name}\n','','\n\n\n \n \n\n\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle}style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle}style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=emptyBlockStyle}style=\"padding: 10px; border-bottom: 1px solid #999;background-color: #f7f7f7;\"{/capture}\n{capture assign=emptyBlockValueStyle}style=\"padding: 10px; border-bottom: 1px solid #999;\"{/capture}\n\n \n\n \n \n \n\n \n \n \n \n \n \n \n \n \n \n
\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}

{$greeting},

{/if}\n {if {financial_trxn.total_amount|raw} < 0}\n

{ts}A refund has been issued based on changes in your registration selections.{/ts}

\n {else}\n

{ts}Below you will find a receipt for this payment.{/ts}

\n {if !{contribution.balance_amount|boolean}}\n

{ts}Thank you for completing this contribution.{/ts}

\n {/if}\n {/if}\n
\n \n {if {financial_trxn.total_amount|raw} < 0}\n \n \n \n \n \n \n \n {else}\n \n \n \n \n \n \n \n {/if}\n {if {financial_trxn.trxn_date|boolean}}\n \n \n \n \n {/if}\n {if {financial_trxn.trxn_id|boolean}}\n \n \n \n \n {/if}\n {if {financial_trxn.payment_instrument_id|boolean}}\n \n \n \n \n {/if}\n {if {financial_trxn.check_number|boolean}}\n \n \n \n \n {/if}\n\n \n \n \n {if {contribution.total_amount|boolean}}\n \n \n \n \n {/if}\n {if {contribution.paid_amount|boolean}}\n \n \n \n \n {/if}\n {if {contribution.balance_amount|boolean}}\n \n \n \n \n {/if}\n
{ts}Refund Details{/ts}
\n {ts}This Refund Amount{/ts}\n \n {financial_trxn.total_amount}\n
{ts}Payment Details{/ts}
\n {ts}This Payment Amount{/ts}\n \n {financial_trxn.total_amount}\n
\n {ts}Transaction Date{/ts}\n \n {financial_trxn.trxn_date}\n
\n {ts}Transaction #{/ts}\n \n {financial_trxn.trxn_id}\n
\n {ts}Paid By{/ts}\n \n {financial_trxn.payment_instrument_id:label}\n
\n {ts}Check Number{/ts}\n \n {financial_trxn.check_number}\n
{ts}Contribution Details{/ts}
\n {ts}Total Fee{/ts}\n \n {contribution.total_amount}\n
\n {ts}Total Paid{/ts}\n \n {contribution.paid_amount}\n
\n {ts}Balance Owed{/ts}\n \n {contribution.balance_amount}\n
\n\n
\n \n {if {contribution.address_id.display|boolean}}\n \n \n \n \n \n \n {/if}\n {if {financial_trxn.pan_truncation|boolean}}\n \n \n \n \n \n \n {/if}\n {if {event.id|boolean}}\n \n \n \n \n \n \n\n {if {participant.role_id|boolean}}\n \n \n \n \n {/if}\n\n {if {event.is_show_location|boolean}}\n \n \n \n {/if}\n {if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}}\n \n \n \n\n {if {event.loc_block_id.phone_id.phone|boolean}}\n \n \n \n \n {/if}\n {if {event.loc_block_id.phone_2_id.phone|boolean}}\n \n \n \n \n {/if}\n\n {if {event.loc_block_id.email_id.email|boolean}}\n \n \n \n \n {/if}\n\n {if {event.loc_block_id.email_2_id.email|boolean}}\n \n \n \n \n {/if}\n {/if}\n\n {/if}\n
\n {ts}Billing Name and Address{/ts}\n
\n {contribution.address_id.name}
\n {contribution.address_id.display}\n
\n {ts}Credit Card Information{/ts}\n
\n {financial_trxn.card_type_id:label}
\n ************{financial_trxn.pan_truncation}
\n
\n {ts}Event Information and Location{/ts}\n
\n {event.event_title}
\n {event.start_date|crmDate}{if {event.end_date|boolean}}-{if \'{event.end_date|crmDate:\"%Y%m%d\"}\' === \'{event.start_date|crmDate:\"%Y%m%d\"}\'}{event.end_date|crmDate:\"Time\"}{else}{event.end_date}{/if}{/if}\n
\n {ts}Participant Role{/ts}\n \n {participant.role_id:label}\n
\n {event.location}\n
\n {ts}Event Contacts:{/ts}\n
\n {if {event.loc_block_id.phone_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if}\n
\n {if {event.loc_block_id.phone_2_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_2_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {event.loc_block_id.phone_2_id.phone} {if {event.loc_block_id.phone_2_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_2_id.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {event.loc_block_id.email_id.email}\n
\n {ts}Email{/ts}\n \n {event.loc_block_id.email_2_id.email}\n
\n
\n \n\n',1,827,'payment_or_refund_notification',0,1,0,NULL), (29,'Events - Registration Confirmation and Receipt (off-line)','{ts}Event Confirmation{/ts} - {event.title} - {contact.display_name}\n','','\n\n\n \n \n\n\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle}style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle}style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=tdfirstStyle}style=\"width: 180px; padding-bottom: 15px;\"{/capture}\n{capture assign=tdStyle}style=\"width: 100px;\"{/capture}\n{capture assign=participantTotalStyle}style=\"margin: 0.5em 0 0.5em;padding: 0.5em;background-color: #999999;font-weight: bold;color: #FAFAFA;border-radius: 2px;\"{/capture}\n\n\n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}

{$greeting},

{/if}\n\n {if $userText}\n

{$userText}

\n {/if}\n\n {if !empty($isOnWaitlist)}\n

{ts}You have been added to the WAIT LIST for this event.{/ts}

\n

{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}

\n {elseif !empty($isRequireApproval)}\n

{ts}Your registration has been submitted.{/ts}

\n

{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}

\n {elseif {contribution.is_pay_later|boolean} && {contribution.balance_amount|boolean}}\n

{event.pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {/if}\n\n
\n \n \n \n \n \n \n \n\n {if \"{participant.role_id:label}\" neq \'Attendee\'}\n \n \n \n \n {/if}\n\n {if {event.is_show_location|boolean}}\n \n \n \n {/if}\n\n {if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}}\n \n \n \n\n {if {event.loc_block_id.phone_id.phone|boolean}}\n \n \n \n \n {/if}\n {if {event.loc_block_id.phone_2_id.phone|boolean}}\n \n \n \n \n {/if}\n\n {if {event.loc_block_id.email_id.email|boolean}}\n \n \n \n \n {/if}\n\n {if {event.loc_block_id.email_2_id.email|boolean}}\n \n \n \n \n {/if}\n {/if}\n\n {if {event.is_public|boolean} and {event.is_show_calendar_links|boolean}}\n \n \n \n \n \n \n {/if}\n\n {if {contact.email_primary.email|boolean}}\n \n \n \n \n \n \n {/if}\n\n\n {if {event.is_monetary|boolean}}\n \n \n \n {if $isShowLineItems}\n {foreach from=$participants key=index item=currentParticipant}\n {if $isPrimary || {participant.id} === $currentParticipant.id}\n {if $isPrimary && ($participants|@count > 1)} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n \n \n \n {/if}\n {/foreach}\n {/if}\n {if !$isShowLineItems}\n {foreach from=$participants key=index item=currentParticipant}\n {if $isPrimary || {participant.id} === $currentParticipant.id}\n {foreach from=$currentParticipant.line_items key=index item=currentLineItem}\n \n \n \n \n {/foreach}\n {/if}\n {/foreach}\n {/if}\n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n \n \n \n {if !$isPrimary}\n {* Use the participant specific tax rate breakdown *}\n {assign var=taxRateBreakdown value=$participant.tax_rate_breakdown}\n {/if}\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n \n \n \n \n {/foreach}\n {/if}\n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if {contribution.balance_amount|boolean} && {contribution.paid_amount|boolean}}\n \n \n \n \n \n \n \n \n {/if}\n {if $isShowParticipantCount}\n \n \n \n \n {/if}\n {if {contribution.is_pay_later|boolean} && {contribution.balance_amount|boolean} && {event.pay_later_receipt|boolean}}\n \n \n \n {/if}\n\n {if {participant.register_date|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.receive_date|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.financial_type_id|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.trxn_id|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.payment_instrument_id|boolean} && {contribution.paid_amount|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.check_number|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.address_id.display|boolean}}\n \n \n \n \n \n \n {/if}\n\n {if !empty($credit_card_type)}\n \n \n \n \n \n \n {/if}\n {/if}\n {/if} {* End of conditional section for Paid events *}\n\n {if !empty($customGroup)}\n {foreach from=$customGroup item=value key=customName}\n \n \n \n {foreach from=$value item=v key=n}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {event.title}
\n {event.start_date|crmDate}{if {event.end_date|boolean}}-{if \'{event.end_date|crmDate:\"%Y%m%d\"}\' === \'{event.start_date|crmDate:\"%Y%m%d\"}\'}{event.end_date|crmDate:\"Time\"}{else}{event.end_date}{/if}{/if}\n
\n {ts}Participant Role{/ts}\n \n {participant.role_id:label}\n
\n {event.location}\n
\n {ts}Event Contacts:{/ts}\n
\n {if {event.loc_block_id.phone_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if}\n
\n {if {event.loc_block_id.phone_2_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_2_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {event.loc_block_id.phone_2_id.phone} {if {event.loc_block_id.phone_2_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_2_id.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {event.loc_block_id.email_id.email}\n
\n {ts}Email{/ts}\n \n {event.loc_block_id.email_2_id.email}\n
\n {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n {ts}Download iCalendar entry for this event.{/ts}\n
\n {capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n {ts}Add event to Google Calendar{/ts}\n
\n {ts}Registered Email{/ts}\n
\n {contact.email_primary.email}\n
\n {event.fee_label}\n
\n {$currentParticipant.contact.display_name}\n
\n \n \n \n \n \n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n \n \n {/if}\n \n {if $isShowParticipantCount}\n \n {/if}\n \n {foreach from=$currentParticipant.line_items item=line}\n \n \n \n \n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n {if $line.tax_rate || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if $isShowParticipantCount}\n \n {/if}\n \n {/foreach}\n {if $isShowTax && $isPrimary && ($participants|@count > 1)}\n \n \n \n \n \n \n {/if}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Total Participants{/ts}
{$line.title}{$line.qty}{$line.unit_price|crmMoney:$currency}{$line.line_total|crmMoney:$currency}{$line.tax_rate|string_format:\"%.2f\"}%{$line.tax_amount|crmMoney:$currency}\n {$line.line_total_inclusive|crmMoney:$currency}\n {$line.participant_count}
{ts 1=$currentParticipant.contact.display_name}Total for %1{/ts}{$currentParticipant.totals.total_amount_exclusive|crmMoney}{$currentParticipant.totals.tax_amount|crmMoney}{$currentParticipant.totals.total_amount_inclusive|crmMoney}
\n
\n {$currentLineItem.label}{if $isPrimary && ($participants|@count > 1)} - {$currentParticipant.contact.display_name}{/if}\n \n {$currentLineItem.line_total|crmMoney:$currency}\n
\n {ts}Amount Before Tax:{/ts}\n \n {if $isPrimary}{contribution.tax_exclusive_amount}{else}{$participant.totals.total_amount_exclusive|crmMoney}{/if}\n
{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if}{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}
\n {ts}Total Tax Amount{/ts}\n \n {if $isPrimary}{contribution.tax_amount}{else}{$participant.totals.tax_amount|crmMoney}{/if}\n
\n {ts}Total Amount{/ts}\n \n {contribution.total_amount}\n
{ts}Total Paid{/ts}\n {contribution.paid_amount|crmMoney}\n
{ts}Balance{/ts}{contribution.balance_amount}
{ts}Total Participants{/ts}{$line.participant_count}
\n {event.pay_later_receipt}\n
\n {ts}Registration Date{/ts}\n \n {participant.register_date}\n
\n {ts}Transaction Date{/ts}\n \n {contribution.receive_date}\n
\n {ts}Financial Type{/ts}\n \n {contribution.financial_type_id:label}\n
\n {ts}Transaction #{/ts}\n \n {contribution.trxn_id}\n
\n {ts}Paid By{/ts}\n \n {contribution.payment_instrument_id:label}\n
\n {ts}Check Number{/ts}\n \n {contribution.check_number}\n
\n {ts}Billing Name and Address{/ts}\n
\n {contribution.address_id.name}
\n {contribution.address_id.display}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n\n\n\n',1,828,'event_offline_receipt',1,0,0,NULL), (30,'Events - Registration Confirmation and Receipt (off-line)','{ts}Event Confirmation{/ts} - {event.title} - {contact.display_name}\n','','\n\n\n \n \n\n\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle}style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle}style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=tdfirstStyle}style=\"width: 180px; padding-bottom: 15px;\"{/capture}\n{capture assign=tdStyle}style=\"width: 100px;\"{/capture}\n{capture assign=participantTotalStyle}style=\"margin: 0.5em 0 0.5em;padding: 0.5em;background-color: #999999;font-weight: bold;color: #FAFAFA;border-radius: 2px;\"{/capture}\n\n\n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}

{$greeting},

{/if}\n\n {if $userText}\n

{$userText}

\n {/if}\n\n {if !empty($isOnWaitlist)}\n

{ts}You have been added to the WAIT LIST for this event.{/ts}

\n

{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}

\n {elseif !empty($isRequireApproval)}\n

{ts}Your registration has been submitted.{/ts}

\n

{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}

\n {elseif {contribution.is_pay_later|boolean} && {contribution.balance_amount|boolean}}\n

{event.pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {/if}\n\n
\n \n \n \n \n \n \n \n\n {if \"{participant.role_id:label}\" neq \'Attendee\'}\n \n \n \n \n {/if}\n\n {if {event.is_show_location|boolean}}\n \n \n \n {/if}\n\n {if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}}\n \n \n \n\n {if {event.loc_block_id.phone_id.phone|boolean}}\n \n \n \n \n {/if}\n {if {event.loc_block_id.phone_2_id.phone|boolean}}\n \n \n \n \n {/if}\n\n {if {event.loc_block_id.email_id.email|boolean}}\n \n \n \n \n {/if}\n\n {if {event.loc_block_id.email_2_id.email|boolean}}\n \n \n \n \n {/if}\n {/if}\n\n {if {event.is_public|boolean} and {event.is_show_calendar_links|boolean}}\n \n \n \n \n \n \n {/if}\n\n {if {contact.email_primary.email|boolean}}\n \n \n \n \n \n \n {/if}\n\n\n {if {event.is_monetary|boolean}}\n \n \n \n {if $isShowLineItems}\n {foreach from=$participants key=index item=currentParticipant}\n {if $isPrimary || {participant.id} === $currentParticipant.id}\n {if $isPrimary && ($participants|@count > 1)} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n \n \n \n {/if}\n {/foreach}\n {/if}\n {if !$isShowLineItems}\n {foreach from=$participants key=index item=currentParticipant}\n {if $isPrimary || {participant.id} === $currentParticipant.id}\n {foreach from=$currentParticipant.line_items key=index item=currentLineItem}\n \n \n \n \n {/foreach}\n {/if}\n {/foreach}\n {/if}\n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n \n \n \n {if !$isPrimary}\n {* Use the participant specific tax rate breakdown *}\n {assign var=taxRateBreakdown value=$participant.tax_rate_breakdown}\n {/if}\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n \n \n \n \n {/foreach}\n {/if}\n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if {contribution.balance_amount|boolean} && {contribution.paid_amount|boolean}}\n \n \n \n \n \n \n \n \n {/if}\n {if $isShowParticipantCount}\n \n \n \n \n {/if}\n {if {contribution.is_pay_later|boolean} && {contribution.balance_amount|boolean} && {event.pay_later_receipt|boolean}}\n \n \n \n {/if}\n\n {if {participant.register_date|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.receive_date|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.financial_type_id|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.trxn_id|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.payment_instrument_id|boolean} && {contribution.paid_amount|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.check_number|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.address_id.display|boolean}}\n \n \n \n \n \n \n {/if}\n\n {if !empty($credit_card_type)}\n \n \n \n \n \n \n {/if}\n {/if}\n {/if} {* End of conditional section for Paid events *}\n\n {if !empty($customGroup)}\n {foreach from=$customGroup item=value key=customName}\n \n \n \n {foreach from=$value item=v key=n}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {event.title}
\n {event.start_date|crmDate}{if {event.end_date|boolean}}-{if \'{event.end_date|crmDate:\"%Y%m%d\"}\' === \'{event.start_date|crmDate:\"%Y%m%d\"}\'}{event.end_date|crmDate:\"Time\"}{else}{event.end_date}{/if}{/if}\n
\n {ts}Participant Role{/ts}\n \n {participant.role_id:label}\n
\n {event.location}\n
\n {ts}Event Contacts:{/ts}\n
\n {if {event.loc_block_id.phone_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if}\n
\n {if {event.loc_block_id.phone_2_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_2_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {event.loc_block_id.phone_2_id.phone} {if {event.loc_block_id.phone_2_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_2_id.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {event.loc_block_id.email_id.email}\n
\n {ts}Email{/ts}\n \n {event.loc_block_id.email_2_id.email}\n
\n {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n {ts}Download iCalendar entry for this event.{/ts}\n
\n {capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n {ts}Add event to Google Calendar{/ts}\n
\n {ts}Registered Email{/ts}\n
\n {contact.email_primary.email}\n
\n {event.fee_label}\n
\n {$currentParticipant.contact.display_name}\n
\n \n \n \n \n \n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n \n \n {/if}\n \n {if $isShowParticipantCount}\n \n {/if}\n \n {foreach from=$currentParticipant.line_items item=line}\n \n \n \n \n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n {if $line.tax_rate || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if $isShowParticipantCount}\n \n {/if}\n \n {/foreach}\n {if $isShowTax && $isPrimary && ($participants|@count > 1)}\n \n \n \n \n \n \n {/if}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Total Participants{/ts}
{$line.title}{$line.qty}{$line.unit_price|crmMoney:$currency}{$line.line_total|crmMoney:$currency}{$line.tax_rate|string_format:\"%.2f\"}%{$line.tax_amount|crmMoney:$currency}\n {$line.line_total_inclusive|crmMoney:$currency}\n {$line.participant_count}
{ts 1=$currentParticipant.contact.display_name}Total for %1{/ts}{$currentParticipant.totals.total_amount_exclusive|crmMoney}{$currentParticipant.totals.tax_amount|crmMoney}{$currentParticipant.totals.total_amount_inclusive|crmMoney}
\n
\n {$currentLineItem.label}{if $isPrimary && ($participants|@count > 1)} - {$currentParticipant.contact.display_name}{/if}\n \n {$currentLineItem.line_total|crmMoney:$currency}\n
\n {ts}Amount Before Tax:{/ts}\n \n {if $isPrimary}{contribution.tax_exclusive_amount}{else}{$participant.totals.total_amount_exclusive|crmMoney}{/if}\n
{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if}{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}
\n {ts}Total Tax Amount{/ts}\n \n {if $isPrimary}{contribution.tax_amount}{else}{$participant.totals.tax_amount|crmMoney}{/if}\n
\n {ts}Total Amount{/ts}\n \n {contribution.total_amount}\n
{ts}Total Paid{/ts}\n {contribution.paid_amount|crmMoney}\n
{ts}Balance{/ts}{contribution.balance_amount}
{ts}Total Participants{/ts}{$line.participant_count}
\n {event.pay_later_receipt}\n
\n {ts}Registration Date{/ts}\n \n {participant.register_date}\n
\n {ts}Transaction Date{/ts}\n \n {contribution.receive_date}\n
\n {ts}Financial Type{/ts}\n \n {contribution.financial_type_id:label}\n
\n {ts}Transaction #{/ts}\n \n {contribution.trxn_id}\n
\n {ts}Paid By{/ts}\n \n {contribution.payment_instrument_id:label}\n
\n {ts}Check Number{/ts}\n \n {contribution.check_number}\n
\n {ts}Billing Name and Address{/ts}\n
\n {contribution.address_id.name}
\n {contribution.address_id.display}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n\n\n\n',1,828,'event_offline_receipt',0,1,0,NULL), - (31,'Events - Registration Confirmation and Receipt (on-line)','{if !empty($isOnWaitlist)}{ts}Wait List Confirmation{/ts}{elseif !empty($isRequireApproval)}{ts}Registration Request Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {event.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n\n{else}\n {ts}Thank you for your registration.{/ts}\n {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n {else}{if !empty($isOnWaitlist)}{ts}This is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}\n {/if}\n{/if}\n\n{if !empty($isOnWaitlist)}\n===============================================================================\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if $isPrimary}\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n{/if}\n===============================================================================\n\n{elseif !empty($isRequireApproval)}\n===============================================================================\n\n{ts}Your registration has been submitted.{/ts}\n\n{if $isPrimary}\n{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}\n\n{/if}\n===============================================================================\n\n{elseif $isPrimary && {contribution.balance_amount|boolean} && {contribution.is_pay_later|boolean}}\n\n\n===============================================================================\n\n{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt}{/if}\n===============================================================================\n\n{/if}\n\n\n===============================================================================\n\n{ts}Event Information and Location{/ts}\n\n===============================================================================\n\n{event.title}\n{event.start_date|crmDate:\"%A\"} {event.start_date|crmDate}{if {event.end_date|boolean}}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n\n{if \"{participant.role_id:label}\" neq \'Attendee\'}\n{ts}Participant Role{/ts}: {participant.role_id:label}\n{/if}\n\n{if !empty($isShowLocation)}\n{event.location}\n{/if}{*End of isShowLocation condition*}\n\n{if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}}\n\n{ts}Event Contacts:{/ts}\n{if {event.loc_block_id.phone_id.phone|boolean}}\n {if {event.loc_block_id.phone_id.phone_type_id|boolean}}{event.loc_block_id.phone_id.phone_type_id:label}{else}{ts}Phone{/ts}{/if} {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if}\n{/if}\n{if {event.loc_block_id.email_id.email|boolean}}\n{ts}Email {/ts}{event.loc_block_id.email_id.email}\n{/if}\n{if {event.loc_block_id.email_2_id.email|boolean}}\n{ts}Email {/ts}{event.loc_block_id.email_2_id.email}{/if}\n{/if}\n{if {event.is_public|boolean} and {event.is_show_calendar_links|boolean}}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar entry for this event.{/ts} {$icalFeed}\n{capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n{ts}Add event to Google Calendar{/ts} {$gCalendar}\n{/if}\n\n{if !empty($payer.name)}\nYou were registered by: {$payer.name}\n{/if}\n{if {event.is_monetary|boolean} and empty($isRequireApproval)} {* This section for Paid events only.*}\n\n===============================================================================\n\n{event.fee_label}\n===============================================================================\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if $isPrimary}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}\n\n{/if}\n{/if}\n----------------------------------------------------------------------------------------------------------------\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{if !empty($pricesetFieldsCount)}{capture assign=ts_participant_total}{ts}Total Participants{/ts}{/capture}{/if}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n----------------------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount)}{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{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 $isShowTax && {contribution.tax_amount|boolean}} {$line.line_total|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\"}{if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if !empty($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}\n{/if}\n{\"\"|string_format:\"%120s\"}\n{/foreach}\n{\"\"|string_format:\"%120s\"}\n\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{ts}Amount before Tax:{/ts} {if $isPrimary}{contribution.tax_exclusive_amount}{else}{$participant.totals.total_amount_exclusive|crmMoney}{/if}\n{if !$isPrimary}{* Use the participant specific tax rate breakdown *}{assign var=taxRateBreakdown value=$participant.tax_rate_breakdown}{/if}\n{foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if} {$valueStyle}>{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}\n{/foreach}\n{/if}\n{/if}\n\n{if !$isShowLineItems}\n{foreach from=$participants key=index item=currentParticipant}\n{if $isPrimary || {participant.id} === $currentParticipant.id}\n{foreach from=$currentParticipant.line_items key=index item=currentLineItem}\n{$currentLineItem.label} {if $isPrimary} - {$currentParticipant.contact.display_name}{/if} - {$currentLineItem.line_total|crmMoney:$currency}\n{/foreach}\n{/if}\n{/foreach}\n{/if}\n\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{ts}Total Tax Amount{/ts}: {if $isPrimary}{contribution.tax_amount}{else}{$participant.totals.tax_amount|crmMoney}{/if}\n{/if}\n{if $isPrimary}\n\n{ts}Total Amount{/ts}: {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n\n{if !empty($pricesetFieldsCount)}\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1}\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if {participant.register_date|boolean}}\n{ts}Registration Date{/ts}: {participant.register_date}\n{/if}\n{if {contribution.receive_date|boolean}}\n{ts}Transaction Date{/ts}: {contribution.receive_date}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if {contribution.payment_instrument_id|boolean} && {contribution.paid_amount|boolean}}\n{ts}Paid By{/ts}: {contribution.payment_instrument_id:label}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if {contribution.address_id.display|boolean}}\n\n===============================================================================\n\n{ts}Billing Name and Address{/ts}\n\n===============================================================================\n\n{contribution.address_id.name}\n{contribution.address_id.display}\n{/if}\n\n{if !empty($credit_card_type)}\n===============================================================================\n\n{ts}Credit Card Information{/ts}\n\n===============================================================================\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n===============================================================================\n\n{$customPre_grouptitle.$i}\n===============================================================================\n\n{foreach from=$customPr item=customValue key=customName}\n {$customName}: {$customValue}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n===============================================================================\n\n{$customPost_grouptitle.$j}\n===============================================================================\n\n{foreach from=$customPos item=customValue key=customName}\n {$customName}: {$customValue}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n===============================================================================\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n===============================================================================\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n------------------------------------------------------------------------------\n\n{$customProfile.title.$pid}\n------------------------------------------------------------------------------\n\n{foreach from=$eachProfile item=val key=field}\n{foreach from=$val item=v key=f}\n{$field}: {$v}\n{/foreach}\n{/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($event.allow_selfcancelxfer)}\n{ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid={participant.id}&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n{ts}Transfer or cancel your registration:{/ts} {$selfService}\n{/if}\n','\n\n\n \n \n\n\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle}style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle}style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=tdfirstStyle}style=\"width: 180px; padding-bottom: 15px;\"{/capture}\n{capture assign=tdStyle}style=\"width: 100px;\"{/capture}\n{capture assign=participantTotalStyle}style=\"margin: 0.5em 0 0.5em;padding: 0.5em;background-color: #999999;font-weight: bold;color: #FAFAFA;border-radius: 2px;\"{/capture}\n\n\n\n \n \n \n\n \n \n \n \n \n \n \n \n {/if}\n
\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}

{$greeting},

{/if}\n {if {event.confirm_email_text|boolean} AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n

{event.confirm_email_text}

\n {else}\n

{ts}Thank you for your registration.{/ts}\n {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n {else}\n {if $isOnWaitlist}{ts}This is a confirmation that your registration has been received and your status has been updated towaitlisted.{/ts}\n {else}{ts}This is a confirmation that your registration has been received and your status has been updated to registered.{/ts}\n {/if}\n {/if}\n

\n {/if}\n\n {if !empty($isOnWaitlist)}\n

{ts}You have been added to the WAIT LIST for this event.{/ts}

\n {if $isPrimary}\n

{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}

\n {/if}\n {elseif !empty($isRequireApproval)}\n

{ts}Your registration has been submitted.{/ts}

\n {if $isPrimary}\n

{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}

\n {/if}\n {elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)}\n

{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt}{/if}

\n {/if}\n
\n \n \n \n \n \n \n \n\n {if \"{participant.role_id:label}\" neq \'Attendee\'}\n \n \n \n \n {/if}\n\n {if !empty($isShowLocation)}\n \n \n \n {/if}\n\n {if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}}\n \n \n \n\n {if {event.loc_block_id.phone_id.phone|boolean}}\n \n \n \n \n {/if}\n {if {event.loc_block_id.phone_2_id.phone|boolean}}\n \n \n \n \n {/if}\n {if {event.loc_block_id.email_id.email|boolean}}\n \n \n \n \n {/if}\n {if {event.loc_block_id.email_2_id.email|boolean}}\n \n \n \n \n {/if}\n {/if}\n\n {if {event.is_public|boolean} and {event.is_show_calendar_links|boolean}}\n \n \n \n \n \n \n {/if}\n\n {if {event.is_share|boolean}}\n \n \n \n {/if}\n {if !empty($payer.name)}\n \n \n \n \n \n \n {/if}\n {if {event.is_monetary|boolean} and empty($isRequireApproval)}\n \n \n \n {if $isShowLineItems}\n {foreach from=$participants key=index item=currentParticipant}\n {if $isPrimary || {participant.id} === $currentParticipant.id}\n {if $isPrimary && ($participants|@count > 1)} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n \n \n \n {/if}\n {/foreach}\n {/if}\n {if !$isShowLineItems}\n {foreach from=$participants key=index item=currentParticipant}\n {if $isPrimary || {participant.id} === $currentParticipant.id}\n {foreach from=$currentParticipant.line_items key=index item=currentLineItem}\n \n \n \n \n {/foreach}\n {/if}\n {/foreach}\n {/if}\n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n \n \n \n {if !$isPrimary}\n {* Use the participant specific tax rate breakdown *}\n {assign var=taxRateBreakdown value=$participant.tax_rate_breakdown}\n {/if}\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n \n \n \n \n {/foreach}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if !empty($pricesetFieldsCount)}\n \n \n \n \n {/if}\n\n {if {participant.register_date|boolean}}\n \n \n \n \n {/if}\n\n {if !empty($receive_date)}\n \n \n \n \n {/if}\n\n {if !empty($financialTypeName)}\n \n \n \n \n {/if}\n\n {if !empty($trxn_id)}\n \n \n \n \n {/if}\n\n {if {contribution.payment_instrument_id|boolean} && {contribution.paid_amount|boolean}}\n \n \n \n \n {/if}\n\n {if !empty($checkNumber)}\n \n \n \n \n {/if}\n\n {if {contribution.address_id.display|boolean}}\n \n \n \n \n \n \n {/if}\n\n {if !empty($credit_card_type)}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n {if !empty($customPre)}\n {foreach from=$customPre item=customPr key=i}\n \n \n \n {foreach from=$customPr item=customValue key=customName}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($customPost)}\n {foreach from=$customPost item=customPos key=j}\n \n \n \n {foreach from=$customPos item=customValue key=customName}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($customProfile)}\n {foreach from=$customProfile.profile item=eachParticipant key=participantID}\n \n \n \n {foreach from=$eachParticipant item=eachProfile key=pid}\n \n \n \n {foreach from=$eachProfile item=val key=field}\n \n {foreach from=$val item=v key=f}\n \n \n {/foreach}\n \n {/foreach}\n {/foreach}\n {/foreach}\n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {event.title}
\n {event.start_date|crmDate:\"%A\"} {event.start_date|crmDate}{if {event.end_date|boolean}}-{if \'{event.end_date|crmDate:\"%Y%m%d\"}\' === \'{event.start_date|crmDate:\"%Y%m%d\"}\'}{event.end_date|crmDate:\"Time\"}{else}{event.end_date|crmDate:\"%A\"} {event.end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}\n \n {participant.role_id:label}\n
\n {event.location}\n
\n {ts}Event Contacts:{/ts}\n
\n {if {event.loc_block_id.phone_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if}\n
\n {if {event.loc_block_id.phone_2_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_2_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {event.loc_block_id.phone_2_id.phone} {if {event.loc_block_id.phone_2_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_2_id.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {event.loc_block_id.email_id.email}\n
\n {ts}Email{/ts}\n \n {event.loc_block_id.email_2_id.email}\n
\n {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n {ts}Download iCalendar entry for this event.{/ts}\n
\n {capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n {ts}Add event to Google Calendar{/ts}\n
\n {capture assign=eventUrl}{crmURL p=\'civicrm/event/info\' q=\"id={event.id}&reset=1\" a=true fe=1 h=1}{/capture}\n {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$eventUrl pageURL=$eventUrl title=\'{event.title}\'}\n
\n {ts}You were registered by:{/ts}\n
\n {$payer.name}\n
\n {event.fee_label}\n
\n {$currentParticipant.contact.display_name}\n
\n \n \n \n \n \n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n \n \n {/if}\n \n {if !empty($pricesetFieldsCount)}\n \n {/if}\n \n {foreach from=$currentParticipant.line_items item=line}\n \n \n \n \n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n {if $line.tax_rate || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if !empty($pricesetFieldsCount)}\n \n {/if}\n \n {/foreach}\n {if $isShowTax && $isPrimary && ($participants|@count > 1)}\n \n \n \n \n \n \n {/if}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Total Participants{/ts}
{$line.title}{$line.qty}{$line.unit_price|crmMoney:$currency}{$line.line_total|crmMoney:$currency}{$line.tax_rate|string_format:\"%.2f\"}%{$line.tax_amount|crmMoney:$currency}\n {$line.line_total_inclusive|crmMoney:$currency}\n {$line.participant_count}
{ts 1=$currentParticipant.contact.display_name}Total for %1{/ts}{$currentParticipant.totals.total_amount_exclusive|crmMoney}{$currentParticipant.totals.tax_amount|crmMoney}{$currentParticipant.totals.total_amount_inclusive|crmMoney}
\n
\n {$currentLineItem.label}{if $isPrimary && ($participants|@count > 1)} - {$currentParticipant.contact.display_name}{/if}\n \n {$currentLineItem.line_total|crmMoney:$currency}\n
\n {ts}Amount Before Tax:{/ts}\n \n {if $isPrimary}{contribution.tax_exclusive_amount}{else}{$participant.totals.total_amount_exclusive|crmMoney}{/if}\n
{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if}{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}
\n {ts}Total Tax Amount{/ts}\n \n {if $isPrimary}{contribution.tax_amount}{else}{$participant.totals.tax_amount|crmMoney}{/if}\n
\n {ts}Total Amount{/ts}\n \n {contribution.total_amount} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n
\n {ts}Total Participants{/ts}\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1}\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n {$count}\n
\n {ts}Registration Date{/ts}\n \n {participant.register_date}\n
\n {ts}Transaction Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Financial Type{/ts}\n \n {$financialTypeName}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Paid By{/ts}\n \n {contribution.payment_instrument_id:label}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n {ts}Billing Name and Address{/ts}\n
\n {contribution.address_id.name}
\n {contribution.address_id.display}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
{$customPre_grouptitle.$i}
{$customName}{$customValue}
{$customPost_grouptitle.$j}
{$customName}{$customValue}
{ts 1=$participantID+2}Participant %1{/ts}
{$customProfile.title.$pid}
{$field}{$v}
\n {if !empty($event.allow_selfcancelxfer)}\n
\n {ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}
\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid={participant.id}&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n {ts}Click here to transfer or cancel your registration.{/ts}\n
\n\n\n\n',1,829,'event_online_receipt',1,0,0,NULL), - (32,'Events - Registration Confirmation and Receipt (on-line)','{if !empty($isOnWaitlist)}{ts}Wait List Confirmation{/ts}{elseif !empty($isRequireApproval)}{ts}Registration Request Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {event.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n\n{else}\n {ts}Thank you for your registration.{/ts}\n {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n {else}{if !empty($isOnWaitlist)}{ts}This is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}\n {/if}\n{/if}\n\n{if !empty($isOnWaitlist)}\n===============================================================================\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if $isPrimary}\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n{/if}\n===============================================================================\n\n{elseif !empty($isRequireApproval)}\n===============================================================================\n\n{ts}Your registration has been submitted.{/ts}\n\n{if $isPrimary}\n{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}\n\n{/if}\n===============================================================================\n\n{elseif $isPrimary && {contribution.balance_amount|boolean} && {contribution.is_pay_later|boolean}}\n\n\n===============================================================================\n\n{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt}{/if}\n===============================================================================\n\n{/if}\n\n\n===============================================================================\n\n{ts}Event Information and Location{/ts}\n\n===============================================================================\n\n{event.title}\n{event.start_date|crmDate:\"%A\"} {event.start_date|crmDate}{if {event.end_date|boolean}}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n\n{if \"{participant.role_id:label}\" neq \'Attendee\'}\n{ts}Participant Role{/ts}: {participant.role_id:label}\n{/if}\n\n{if !empty($isShowLocation)}\n{event.location}\n{/if}{*End of isShowLocation condition*}\n\n{if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}}\n\n{ts}Event Contacts:{/ts}\n{if {event.loc_block_id.phone_id.phone|boolean}}\n {if {event.loc_block_id.phone_id.phone_type_id|boolean}}{event.loc_block_id.phone_id.phone_type_id:label}{else}{ts}Phone{/ts}{/if} {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if}\n{/if}\n{if {event.loc_block_id.email_id.email|boolean}}\n{ts}Email {/ts}{event.loc_block_id.email_id.email}\n{/if}\n{if {event.loc_block_id.email_2_id.email|boolean}}\n{ts}Email {/ts}{event.loc_block_id.email_2_id.email}{/if}\n{/if}\n{if {event.is_public|boolean} and {event.is_show_calendar_links|boolean}}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar entry for this event.{/ts} {$icalFeed}\n{capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n{ts}Add event to Google Calendar{/ts} {$gCalendar}\n{/if}\n\n{if !empty($payer.name)}\nYou were registered by: {$payer.name}\n{/if}\n{if {event.is_monetary|boolean} and empty($isRequireApproval)} {* This section for Paid events only.*}\n\n===============================================================================\n\n{event.fee_label}\n===============================================================================\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if $isPrimary}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}\n\n{/if}\n{/if}\n----------------------------------------------------------------------------------------------------------------\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{if !empty($pricesetFieldsCount)}{capture assign=ts_participant_total}{ts}Total Participants{/ts}{/capture}{/if}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n----------------------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount)}{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{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 $isShowTax && {contribution.tax_amount|boolean}} {$line.line_total|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\"}{if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if !empty($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}\n{/if}\n{\"\"|string_format:\"%120s\"}\n{/foreach}\n{\"\"|string_format:\"%120s\"}\n\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{ts}Amount before Tax:{/ts} {if $isPrimary}{contribution.tax_exclusive_amount}{else}{$participant.totals.total_amount_exclusive|crmMoney}{/if}\n{if !$isPrimary}{* Use the participant specific tax rate breakdown *}{assign var=taxRateBreakdown value=$participant.tax_rate_breakdown}{/if}\n{foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if} {$valueStyle}>{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}\n{/foreach}\n{/if}\n{/if}\n\n{if !$isShowLineItems}\n{foreach from=$participants key=index item=currentParticipant}\n{if $isPrimary || {participant.id} === $currentParticipant.id}\n{foreach from=$currentParticipant.line_items key=index item=currentLineItem}\n{$currentLineItem.label} {if $isPrimary} - {$currentParticipant.contact.display_name}{/if} - {$currentLineItem.line_total|crmMoney:$currency}\n{/foreach}\n{/if}\n{/foreach}\n{/if}\n\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{ts}Total Tax Amount{/ts}: {if $isPrimary}{contribution.tax_amount}{else}{$participant.totals.tax_amount|crmMoney}{/if}\n{/if}\n{if $isPrimary}\n\n{ts}Total Amount{/ts}: {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n\n{if !empty($pricesetFieldsCount)}\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1}\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if {participant.register_date|boolean}}\n{ts}Registration Date{/ts}: {participant.register_date}\n{/if}\n{if {contribution.receive_date|boolean}}\n{ts}Transaction Date{/ts}: {contribution.receive_date}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if {contribution.payment_instrument_id|boolean} && {contribution.paid_amount|boolean}}\n{ts}Paid By{/ts}: {contribution.payment_instrument_id:label}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if {contribution.address_id.display|boolean}}\n\n===============================================================================\n\n{ts}Billing Name and Address{/ts}\n\n===============================================================================\n\n{contribution.address_id.name}\n{contribution.address_id.display}\n{/if}\n\n{if !empty($credit_card_type)}\n===============================================================================\n\n{ts}Credit Card Information{/ts}\n\n===============================================================================\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n===============================================================================\n\n{$customPre_grouptitle.$i}\n===============================================================================\n\n{foreach from=$customPr item=customValue key=customName}\n {$customName}: {$customValue}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n===============================================================================\n\n{$customPost_grouptitle.$j}\n===============================================================================\n\n{foreach from=$customPos item=customValue key=customName}\n {$customName}: {$customValue}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n===============================================================================\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n===============================================================================\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n------------------------------------------------------------------------------\n\n{$customProfile.title.$pid}\n------------------------------------------------------------------------------\n\n{foreach from=$eachProfile item=val key=field}\n{foreach from=$val item=v key=f}\n{$field}: {$v}\n{/foreach}\n{/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($event.allow_selfcancelxfer)}\n{ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid={participant.id}&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n{ts}Transfer or cancel your registration:{/ts} {$selfService}\n{/if}\n','\n\n\n \n \n\n\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle}style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle}style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=tdfirstStyle}style=\"width: 180px; padding-bottom: 15px;\"{/capture}\n{capture assign=tdStyle}style=\"width: 100px;\"{/capture}\n{capture assign=participantTotalStyle}style=\"margin: 0.5em 0 0.5em;padding: 0.5em;background-color: #999999;font-weight: bold;color: #FAFAFA;border-radius: 2px;\"{/capture}\n\n\n\n \n \n \n\n \n \n \n \n \n \n \n \n {/if}\n
\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}

{$greeting},

{/if}\n {if {event.confirm_email_text|boolean} AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n

{event.confirm_email_text}

\n {else}\n

{ts}Thank you for your registration.{/ts}\n {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n {else}\n {if $isOnWaitlist}{ts}This is a confirmation that your registration has been received and your status has been updated towaitlisted.{/ts}\n {else}{ts}This is a confirmation that your registration has been received and your status has been updated to registered.{/ts}\n {/if}\n {/if}\n

\n {/if}\n\n {if !empty($isOnWaitlist)}\n

{ts}You have been added to the WAIT LIST for this event.{/ts}

\n {if $isPrimary}\n

{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}

\n {/if}\n {elseif !empty($isRequireApproval)}\n

{ts}Your registration has been submitted.{/ts}

\n {if $isPrimary}\n

{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}

\n {/if}\n {elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)}\n

{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt}{/if}

\n {/if}\n
\n \n \n \n \n \n \n \n\n {if \"{participant.role_id:label}\" neq \'Attendee\'}\n \n \n \n \n {/if}\n\n {if !empty($isShowLocation)}\n \n \n \n {/if}\n\n {if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}}\n \n \n \n\n {if {event.loc_block_id.phone_id.phone|boolean}}\n \n \n \n \n {/if}\n {if {event.loc_block_id.phone_2_id.phone|boolean}}\n \n \n \n \n {/if}\n {if {event.loc_block_id.email_id.email|boolean}}\n \n \n \n \n {/if}\n {if {event.loc_block_id.email_2_id.email|boolean}}\n \n \n \n \n {/if}\n {/if}\n\n {if {event.is_public|boolean} and {event.is_show_calendar_links|boolean}}\n \n \n \n \n \n \n {/if}\n\n {if {event.is_share|boolean}}\n \n \n \n {/if}\n {if !empty($payer.name)}\n \n \n \n \n \n \n {/if}\n {if {event.is_monetary|boolean} and empty($isRequireApproval)}\n \n \n \n {if $isShowLineItems}\n {foreach from=$participants key=index item=currentParticipant}\n {if $isPrimary || {participant.id} === $currentParticipant.id}\n {if $isPrimary && ($participants|@count > 1)} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n \n \n \n {/if}\n {/foreach}\n {/if}\n {if !$isShowLineItems}\n {foreach from=$participants key=index item=currentParticipant}\n {if $isPrimary || {participant.id} === $currentParticipant.id}\n {foreach from=$currentParticipant.line_items key=index item=currentLineItem}\n \n \n \n \n {/foreach}\n {/if}\n {/foreach}\n {/if}\n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n \n \n \n {if !$isPrimary}\n {* Use the participant specific tax rate breakdown *}\n {assign var=taxRateBreakdown value=$participant.tax_rate_breakdown}\n {/if}\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n \n \n \n \n {/foreach}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if !empty($pricesetFieldsCount)}\n \n \n \n \n {/if}\n\n {if {participant.register_date|boolean}}\n \n \n \n \n {/if}\n\n {if !empty($receive_date)}\n \n \n \n \n {/if}\n\n {if !empty($financialTypeName)}\n \n \n \n \n {/if}\n\n {if !empty($trxn_id)}\n \n \n \n \n {/if}\n\n {if {contribution.payment_instrument_id|boolean} && {contribution.paid_amount|boolean}}\n \n \n \n \n {/if}\n\n {if !empty($checkNumber)}\n \n \n \n \n {/if}\n\n {if {contribution.address_id.display|boolean}}\n \n \n \n \n \n \n {/if}\n\n {if !empty($credit_card_type)}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n {if !empty($customPre)}\n {foreach from=$customPre item=customPr key=i}\n \n \n \n {foreach from=$customPr item=customValue key=customName}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($customPost)}\n {foreach from=$customPost item=customPos key=j}\n \n \n \n {foreach from=$customPos item=customValue key=customName}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($customProfile)}\n {foreach from=$customProfile.profile item=eachParticipant key=participantID}\n \n \n \n {foreach from=$eachParticipant item=eachProfile key=pid}\n \n \n \n {foreach from=$eachProfile item=val key=field}\n \n {foreach from=$val item=v key=f}\n \n \n {/foreach}\n \n {/foreach}\n {/foreach}\n {/foreach}\n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {event.title}
\n {event.start_date|crmDate:\"%A\"} {event.start_date|crmDate}{if {event.end_date|boolean}}-{if \'{event.end_date|crmDate:\"%Y%m%d\"}\' === \'{event.start_date|crmDate:\"%Y%m%d\"}\'}{event.end_date|crmDate:\"Time\"}{else}{event.end_date|crmDate:\"%A\"} {event.end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}\n \n {participant.role_id:label}\n
\n {event.location}\n
\n {ts}Event Contacts:{/ts}\n
\n {if {event.loc_block_id.phone_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if}\n
\n {if {event.loc_block_id.phone_2_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_2_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {event.loc_block_id.phone_2_id.phone} {if {event.loc_block_id.phone_2_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_2_id.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {event.loc_block_id.email_id.email}\n
\n {ts}Email{/ts}\n \n {event.loc_block_id.email_2_id.email}\n
\n {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n {ts}Download iCalendar entry for this event.{/ts}\n
\n {capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n {ts}Add event to Google Calendar{/ts}\n
\n {capture assign=eventUrl}{crmURL p=\'civicrm/event/info\' q=\"id={event.id}&reset=1\" a=true fe=1 h=1}{/capture}\n {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$eventUrl pageURL=$eventUrl title=\'{event.title}\'}\n
\n {ts}You were registered by:{/ts}\n
\n {$payer.name}\n
\n {event.fee_label}\n
\n {$currentParticipant.contact.display_name}\n
\n \n \n \n \n \n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n \n \n {/if}\n \n {if !empty($pricesetFieldsCount)}\n \n {/if}\n \n {foreach from=$currentParticipant.line_items item=line}\n \n \n \n \n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n {if $line.tax_rate || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if !empty($pricesetFieldsCount)}\n \n {/if}\n \n {/foreach}\n {if $isShowTax && $isPrimary && ($participants|@count > 1)}\n \n \n \n \n \n \n {/if}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Total Participants{/ts}
{$line.title}{$line.qty}{$line.unit_price|crmMoney:$currency}{$line.line_total|crmMoney:$currency}{$line.tax_rate|string_format:\"%.2f\"}%{$line.tax_amount|crmMoney:$currency}\n {$line.line_total_inclusive|crmMoney:$currency}\n {$line.participant_count}
{ts 1=$currentParticipant.contact.display_name}Total for %1{/ts}{$currentParticipant.totals.total_amount_exclusive|crmMoney}{$currentParticipant.totals.tax_amount|crmMoney}{$currentParticipant.totals.total_amount_inclusive|crmMoney}
\n
\n {$currentLineItem.label}{if $isPrimary && ($participants|@count > 1)} - {$currentParticipant.contact.display_name}{/if}\n \n {$currentLineItem.line_total|crmMoney:$currency}\n
\n {ts}Amount Before Tax:{/ts}\n \n {if $isPrimary}{contribution.tax_exclusive_amount}{else}{$participant.totals.total_amount_exclusive|crmMoney}{/if}\n
{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if}{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}
\n {ts}Total Tax Amount{/ts}\n \n {if $isPrimary}{contribution.tax_amount}{else}{$participant.totals.tax_amount|crmMoney}{/if}\n
\n {ts}Total Amount{/ts}\n \n {contribution.total_amount} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n
\n {ts}Total Participants{/ts}\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1}\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n {$count}\n
\n {ts}Registration Date{/ts}\n \n {participant.register_date}\n
\n {ts}Transaction Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Financial Type{/ts}\n \n {$financialTypeName}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Paid By{/ts}\n \n {contribution.payment_instrument_id:label}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n {ts}Billing Name and Address{/ts}\n
\n {contribution.address_id.name}
\n {contribution.address_id.display}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
{$customPre_grouptitle.$i}
{$customName}{$customValue}
{$customPost_grouptitle.$j}
{$customName}{$customValue}
{ts 1=$participantID+2}Participant %1{/ts}
{$customProfile.title.$pid}
{$field}{$v}
\n {if !empty($event.allow_selfcancelxfer)}\n
\n {ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}
\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid={participant.id}&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n {ts}Click here to transfer or cancel your registration.{/ts}\n
\n\n\n\n',1,829,'event_online_receipt',0,1,0,NULL), + (31,'Events - Registration Confirmation and Receipt (on-line)','{if !empty($isOnWaitlist)}{ts}Wait List Confirmation{/ts}{elseif !empty($isRequireApproval)}{ts}Registration Request Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {event.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n\n{else}\n {ts}Thank you for your registration.{/ts}\n {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n {else}{if !empty($isOnWaitlist)}{ts}This is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}\n {/if}\n{/if}\n\n{if !empty($isOnWaitlist)}\n===============================================================================\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if $isPrimary}\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n{/if}\n===============================================================================\n\n{elseif !empty($isRequireApproval)}\n===============================================================================\n\n{ts}Your registration has been submitted.{/ts}\n\n{if $isPrimary}\n{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}\n\n{/if}\n===============================================================================\n\n{elseif $isPrimary && {contribution.balance_amount|boolean} && {contribution.is_pay_later|boolean}}\n\n\n===============================================================================\n\n{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt}{/if}\n===============================================================================\n\n{/if}\n\n\n===============================================================================\n\n{ts}Event Information and Location{/ts}\n\n===============================================================================\n\n{event.title}\n{event.start_date|crmDate:\"%A\"} {event.start_date|crmDate}{if {event.end_date|boolean}}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n\n{if \"{participant.role_id:label}\" neq \'Attendee\'}\n{ts}Participant Role{/ts}: {participant.role_id:label}\n{/if}\n\n{if !empty($isShowLocation)}\n{event.location}\n{/if}{*End of isShowLocation condition*}\n\n{if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}}\n\n{ts}Event Contacts:{/ts}\n{if {event.loc_block_id.phone_id.phone|boolean}}\n {if {event.loc_block_id.phone_id.phone_type_id|boolean}}{event.loc_block_id.phone_id.phone_type_id:label}{else}{ts}Phone{/ts}{/if} {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if}\n{/if}\n{if {event.loc_block_id.email_id.email|boolean}}\n{ts}Email {/ts}{event.loc_block_id.email_id.email}\n{/if}\n{if {event.loc_block_id.email_2_id.email|boolean}}\n{ts}Email {/ts}{event.loc_block_id.email_2_id.email}{/if}\n{/if}\n{if {event.is_public|boolean} and {event.is_show_calendar_links|boolean}}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar entry for this event.{/ts} {$icalFeed}\n{capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n{ts}Add event to Google Calendar{/ts} {$gCalendar}\n{/if}\n\n{if !empty($payer.name)}\nYou were registered by: {$payer.name}\n{/if}\n{if {event.is_monetary|boolean} and empty($isRequireApproval)} {* This section for Paid events only.*}\n\n===============================================================================\n\n{event.fee_label}\n===============================================================================\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if $isPrimary}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}\n\n{/if}\n{/if}\n----------------------------------------------------------------------------------------------------------------\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{if !empty($pricesetFieldsCount)}{capture assign=ts_participant_total}{ts}Total Participants{/ts}{/capture}{/if}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n----------------------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount)}{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{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 $isShowTax && {contribution.tax_amount|boolean}} {$line.line_total|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\"}{if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if !empty($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}\n{/if}\n{\"\"|string_format:\"%120s\"}\n{/foreach}\n{\"\"|string_format:\"%120s\"}\n\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{ts}Amount before Tax:{/ts} {if $isPrimary}{contribution.tax_exclusive_amount}{else}{$participant.totals.total_amount_exclusive|crmMoney}{/if}\n{if !$isPrimary}{* Use the participant specific tax rate breakdown *}{assign var=taxRateBreakdown value=$participant.tax_rate_breakdown}{/if}\n{foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if} {$valueStyle}>{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}\n{/foreach}\n{/if}\n{/if}\n\n{if !$isShowLineItems}\n{foreach from=$participants key=index item=currentParticipant}\n{if $isPrimary || {participant.id} === $currentParticipant.id}\n{foreach from=$currentParticipant.line_items key=index item=currentLineItem}\n{$currentLineItem.label} {if $isPrimary} - {$currentParticipant.contact.display_name}{/if} - {$currentLineItem.line_total|crmMoney:$currency}\n{/foreach}\n{/if}\n{/foreach}\n{/if}\n\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{ts}Total Tax Amount{/ts}: {if $isPrimary}{contribution.tax_amount}{else}{$participant.totals.tax_amount|crmMoney}{/if}\n{/if}\n{if $isPrimary}\n\n{ts}Total Amount{/ts}: {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n\n{if !empty($pricesetFieldsCount)}\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1}\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if {participant.register_date|boolean}}\n{ts}Registration Date{/ts}: {participant.register_date}\n{/if}\n{if {contribution.receive_date|boolean}}\n{ts}Transaction Date{/ts}: {contribution.receive_date}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if {contribution.payment_instrument_id|boolean} && {contribution.paid_amount|boolean}}\n{ts}Paid By{/ts}: {contribution.payment_instrument_id:label}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if {contribution.address_id.display|boolean}}\n\n===============================================================================\n\n{ts}Billing Name and Address{/ts}\n\n===============================================================================\n\n{contribution.address_id.name}\n{contribution.address_id.display}\n{/if}\n\n{if !empty($credit_card_type)}\n===============================================================================\n\n{ts}Credit Card Information{/ts}\n\n===============================================================================\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n===============================================================================\n\n{$customPre_grouptitle.$i}\n===============================================================================\n\n{foreach from=$customPr item=customValue key=customName}\n {$customName}: {$customValue}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n===============================================================================\n\n{$customPost_grouptitle.$j}\n===============================================================================\n\n{foreach from=$customPos item=customValue key=customName}\n {$customName}: {$customValue}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n===============================================================================\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n===============================================================================\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n------------------------------------------------------------------------------\n\n{$customProfile.title.$pid}\n------------------------------------------------------------------------------\n\n{foreach from=$eachProfile item=val key=field}\n{foreach from=$val item=v key=f}\n{$field}: {$v}\n{/foreach}\n{/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($event.allow_selfcancelxfer)}\n{ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid={participant.id}&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n{ts}Transfer or cancel your registration:{/ts} {$selfService}\n{/if}\n','\n\n\n \n \n\n\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle}style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle}style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=tdfirstStyle}style=\"width: 180px; padding-bottom: 15px;\"{/capture}\n{capture assign=tdStyle}style=\"width: 100px;\"{/capture}\n{capture assign=participantTotalStyle}style=\"margin: 0.5em 0 0.5em;padding: 0.5em;background-color: #999999;font-weight: bold;color: #FAFAFA;border-radius: 2px;\"{/capture}\n\n\n\n \n \n \n\n \n \n \n \n \n \n \n \n {/if}\n
\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}

{$greeting},

{/if}\n {if {event.confirm_email_text|boolean} AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n

{event.confirm_email_text}

\n {else}\n

{ts}Thank you for your registration.{/ts}\n {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n {else}\n {if $isOnWaitlist}{ts}This is a confirmation that your registration has been received and your status has been updated towaitlisted.{/ts}\n {else}{ts}This is a confirmation that your registration has been received and your status has been updated to registered.{/ts}\n {/if}\n {/if}\n

\n {/if}\n\n {if !empty($isOnWaitlist)}\n

{ts}You have been added to the WAIT LIST for this event.{/ts}

\n {if $isPrimary}\n

{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}

\n {/if}\n {elseif !empty($isRequireApproval)}\n

{ts}Your registration has been submitted.{/ts}

\n {if $isPrimary}\n

{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}

\n {/if}\n {elseif {contribution.is_pay_later|boolean} && {contribution.balance_amount|boolean} && $isPrimary}\n

{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt}{/if}

\n {/if}\n
\n \n \n \n \n \n \n \n\n {if \"{participant.role_id:label}\" neq \'Attendee\'}\n \n \n \n \n {/if}\n\n {if {event.is_show_location|boolean}}\n \n \n \n {/if}\n\n {if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}}\n \n \n \n\n {if {event.loc_block_id.phone_id.phone|boolean}}\n \n \n \n \n {/if}\n {if {event.loc_block_id.phone_2_id.phone|boolean}}\n \n \n \n \n {/if}\n {if {event.loc_block_id.email_id.email|boolean}}\n \n \n \n \n {/if}\n {if {event.loc_block_id.email_2_id.email|boolean}}\n \n \n \n \n {/if}\n {/if}\n\n {if {event.is_public|boolean} and {event.is_show_calendar_links|boolean}}\n \n \n \n \n \n \n {/if}\n\n {if {event.is_share|boolean}}\n \n \n \n {/if}\n {if !empty($payer.name)}\n \n \n \n \n \n \n {/if}\n {if {event.is_monetary|boolean} and empty($isRequireApproval)}\n \n \n \n {if $isShowLineItems}\n {foreach from=$participants key=index item=currentParticipant}\n {if $isPrimary || {participant.id} === $currentParticipant.id}\n {if $isPrimary && ($participants|@count > 1)} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n \n \n \n {/if}\n {/foreach}\n {/if}\n {if !$isShowLineItems}\n {foreach from=$participants key=index item=currentParticipant}\n {if $isPrimary || {participant.id} === $currentParticipant.id}\n {foreach from=$currentParticipant.line_items key=index item=currentLineItem}\n \n \n \n \n {/foreach}\n {/if}\n {/foreach}\n {/if}\n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n \n \n \n {if !$isPrimary}\n {* Use the participant specific tax rate breakdown *}\n {assign var=taxRateBreakdown value=$participant.tax_rate_breakdown}\n {/if}\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n \n \n \n \n {/foreach}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if !empty($pricesetFieldsCount)}\n \n \n \n \n {/if}\n\n {if {participant.register_date|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.receive_date|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.financial_type_id|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.trxn_id|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.payment_instrument_id|boolean} && {contribution.paid_amount|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.check_number|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.address_id.display|boolean}}\n \n \n \n \n \n \n {/if}\n\n {if !empty($credit_card_type)}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n {if !empty($customPre)}\n {foreach from=$customPre item=customPr key=i}\n \n \n \n {foreach from=$customPr item=customValue key=customName}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($customPost)}\n {foreach from=$customPost item=customPos key=j}\n \n \n \n {foreach from=$customPos item=customValue key=customName}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($customProfile)}\n {foreach from=$customProfile.profile item=eachParticipant key=participantID}\n \n \n \n {foreach from=$eachParticipant item=eachProfile key=pid}\n \n \n \n {foreach from=$eachProfile item=val key=field}\n \n {foreach from=$val item=v key=f}\n \n \n {/foreach}\n \n {/foreach}\n {/foreach}\n {/foreach}\n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {event.title}
\n {event.start_date|crmDate:\"%A\"} {event.start_date|crmDate}{if {event.end_date|boolean}}-{if \'{event.end_date|crmDate:\"%Y%m%d\"}\' === \'{event.start_date|crmDate:\"%Y%m%d\"}\'}{event.end_date|crmDate:\"Time\"}{else}{event.end_date|crmDate:\"%A\"} {event.end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}\n \n {participant.role_id:label}\n
\n {event.location}\n
\n {ts}Event Contacts:{/ts}\n
\n {if {event.loc_block_id.phone_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if}\n
\n {if {event.loc_block_id.phone_2_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_2_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {event.loc_block_id.phone_2_id.phone} {if {event.loc_block_id.phone_2_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_2_id.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {event.loc_block_id.email_id.email}\n
\n {ts}Email{/ts}\n \n {event.loc_block_id.email_2_id.email}\n
\n {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n {ts}Download iCalendar entry for this event.{/ts}\n
\n {capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n {ts}Add event to Google Calendar{/ts}\n
\n {capture assign=eventUrl}{crmURL p=\'civicrm/event/info\' q=\"id={event.id}&reset=1\" a=true fe=1 h=1}{/capture}\n {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$eventUrl pageURL=$eventUrl title=\'{event.title}\'}\n
\n {ts}You were registered by:{/ts}\n
\n {$payer.name}\n
\n {event.fee_label}\n
\n {$currentParticipant.contact.display_name}\n
\n \n \n \n \n \n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n \n \n {/if}\n \n {if !empty($pricesetFieldsCount)}\n \n {/if}\n \n {foreach from=$currentParticipant.line_items item=line}\n \n \n \n \n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n {if $line.tax_rate || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if !empty($pricesetFieldsCount)}\n \n {/if}\n \n {/foreach}\n {if $isShowTax && $isPrimary && ($participants|@count > 1)}\n \n \n \n \n \n \n {/if}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Total Participants{/ts}
{$line.title}{$line.qty}{$line.unit_price|crmMoney:$currency}{$line.line_total|crmMoney:$currency}{$line.tax_rate|string_format:\"%.2f\"}%{$line.tax_amount|crmMoney:$currency}\n {$line.line_total_inclusive|crmMoney:$currency}\n {$line.participant_count}
{ts 1=$currentParticipant.contact.display_name}Total for %1{/ts}{$currentParticipant.totals.total_amount_exclusive|crmMoney}{$currentParticipant.totals.tax_amount|crmMoney}{$currentParticipant.totals.total_amount_inclusive|crmMoney}
\n
\n {$currentLineItem.label}{if $isPrimary && ($participants|@count > 1)} - {$currentParticipant.contact.display_name}{/if}\n \n {$currentLineItem.line_total|crmMoney:$currency}\n
\n {ts}Amount Before Tax:{/ts}\n \n {if $isPrimary}{contribution.tax_exclusive_amount}{else}{$participant.totals.total_amount_exclusive|crmMoney}{/if}\n
{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if}{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}
\n {ts}Total Tax Amount{/ts}\n \n {if $isPrimary}{contribution.tax_amount}{else}{$participant.totals.tax_amount|crmMoney}{/if}\n
\n {ts}Total Amount{/ts}\n \n {contribution.total_amount} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n
\n {ts}Total Participants{/ts}\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1}\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n {$count}\n
\n {ts}Registration Date{/ts}\n \n {participant.register_date}\n
\n {ts}Transaction Date{/ts}\n \n {contribution.receive_date}\n
\n {ts}Financial Type{/ts}\n \n {contribution.financial_type_id:label}\n
\n {ts}Transaction #{/ts}\n \n {contribution.trxn_id|boolean}\n
\n {ts}Paid By{/ts}\n \n {contribution.payment_instrument_id:label}\n
\n {ts}Check Number{/ts}\n \n {contribution.check_number}\n
\n {ts}Billing Name and Address{/ts}\n
\n {contribution.address_id.name}
\n {contribution.address_id.display}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
{$customPre_grouptitle.$i}
{$customName}{$customValue}
{$customPost_grouptitle.$j}
{$customName}{$customValue}
{ts 1=$participantID+2}Participant %1{/ts}
{$customProfile.title.$pid}
{$field}{$v}
\n {if {event.allow_selfcancelxfer|boolean}}\n
\n {capture assign=selfservice_preposition}{if {event.selfcancelxfer_time} > 0}{ts}before{/ts}{else}{ts}after{/ts}{/if}{/capture}\n {ts 1={event.selfcancelxfer_time} 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts}\n {if {contribution.paid_amount|boolean}}{ts}Cancellations are not refundable.{/ts}{/if}
\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid={participant.id}&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n {ts}Click here to transfer or cancel your registration.{/ts}\n
\n\n\n\n',1,829,'event_online_receipt',1,0,0,NULL), + (32,'Events - Registration Confirmation and Receipt (on-line)','{if !empty($isOnWaitlist)}{ts}Wait List Confirmation{/ts}{elseif !empty($isRequireApproval)}{ts}Registration Request Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {event.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n\n{else}\n {ts}Thank you for your registration.{/ts}\n {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n {else}{if !empty($isOnWaitlist)}{ts}This is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}\n {/if}\n{/if}\n\n{if !empty($isOnWaitlist)}\n===============================================================================\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if $isPrimary}\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n{/if}\n===============================================================================\n\n{elseif !empty($isRequireApproval)}\n===============================================================================\n\n{ts}Your registration has been submitted.{/ts}\n\n{if $isPrimary}\n{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}\n\n{/if}\n===============================================================================\n\n{elseif $isPrimary && {contribution.balance_amount|boolean} && {contribution.is_pay_later|boolean}}\n\n\n===============================================================================\n\n{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt}{/if}\n===============================================================================\n\n{/if}\n\n\n===============================================================================\n\n{ts}Event Information and Location{/ts}\n\n===============================================================================\n\n{event.title}\n{event.start_date|crmDate:\"%A\"} {event.start_date|crmDate}{if {event.end_date|boolean}}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n\n{if \"{participant.role_id:label}\" neq \'Attendee\'}\n{ts}Participant Role{/ts}: {participant.role_id:label}\n{/if}\n\n{if !empty($isShowLocation)}\n{event.location}\n{/if}{*End of isShowLocation condition*}\n\n{if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}}\n\n{ts}Event Contacts:{/ts}\n{if {event.loc_block_id.phone_id.phone|boolean}}\n {if {event.loc_block_id.phone_id.phone_type_id|boolean}}{event.loc_block_id.phone_id.phone_type_id:label}{else}{ts}Phone{/ts}{/if} {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if}\n{/if}\n{if {event.loc_block_id.email_id.email|boolean}}\n{ts}Email {/ts}{event.loc_block_id.email_id.email}\n{/if}\n{if {event.loc_block_id.email_2_id.email|boolean}}\n{ts}Email {/ts}{event.loc_block_id.email_2_id.email}{/if}\n{/if}\n{if {event.is_public|boolean} and {event.is_show_calendar_links|boolean}}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar entry for this event.{/ts} {$icalFeed}\n{capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n{ts}Add event to Google Calendar{/ts} {$gCalendar}\n{/if}\n\n{if !empty($payer.name)}\nYou were registered by: {$payer.name}\n{/if}\n{if {event.is_monetary|boolean} and empty($isRequireApproval)} {* This section for Paid events only.*}\n\n===============================================================================\n\n{event.fee_label}\n===============================================================================\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if $isPrimary}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}\n\n{/if}\n{/if}\n----------------------------------------------------------------------------------------------------------------\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{if !empty($pricesetFieldsCount)}{capture assign=ts_participant_total}{ts}Total Participants{/ts}{/capture}{/if}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n----------------------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount)}{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{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 $isShowTax && {contribution.tax_amount|boolean}} {$line.line_total|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\"}{if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if !empty($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}\n{/if}\n{\"\"|string_format:\"%120s\"}\n{/foreach}\n{\"\"|string_format:\"%120s\"}\n\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{ts}Amount before Tax:{/ts} {if $isPrimary}{contribution.tax_exclusive_amount}{else}{$participant.totals.total_amount_exclusive|crmMoney}{/if}\n{if !$isPrimary}{* Use the participant specific tax rate breakdown *}{assign var=taxRateBreakdown value=$participant.tax_rate_breakdown}{/if}\n{foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if} {$valueStyle}>{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}\n{/foreach}\n{/if}\n{/if}\n\n{if !$isShowLineItems}\n{foreach from=$participants key=index item=currentParticipant}\n{if $isPrimary || {participant.id} === $currentParticipant.id}\n{foreach from=$currentParticipant.line_items key=index item=currentLineItem}\n{$currentLineItem.label} {if $isPrimary} - {$currentParticipant.contact.display_name}{/if} - {$currentLineItem.line_total|crmMoney:$currency}\n{/foreach}\n{/if}\n{/foreach}\n{/if}\n\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{ts}Total Tax Amount{/ts}: {if $isPrimary}{contribution.tax_amount}{else}{$participant.totals.tax_amount|crmMoney}{/if}\n{/if}\n{if $isPrimary}\n\n{ts}Total Amount{/ts}: {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n\n{if !empty($pricesetFieldsCount)}\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1}\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if {participant.register_date|boolean}}\n{ts}Registration Date{/ts}: {participant.register_date}\n{/if}\n{if {contribution.receive_date|boolean}}\n{ts}Transaction Date{/ts}: {contribution.receive_date}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if {contribution.payment_instrument_id|boolean} && {contribution.paid_amount|boolean}}\n{ts}Paid By{/ts}: {contribution.payment_instrument_id:label}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if {contribution.address_id.display|boolean}}\n\n===============================================================================\n\n{ts}Billing Name and Address{/ts}\n\n===============================================================================\n\n{contribution.address_id.name}\n{contribution.address_id.display}\n{/if}\n\n{if !empty($credit_card_type)}\n===============================================================================\n\n{ts}Credit Card Information{/ts}\n\n===============================================================================\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n===============================================================================\n\n{$customPre_grouptitle.$i}\n===============================================================================\n\n{foreach from=$customPr item=customValue key=customName}\n {$customName}: {$customValue}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n===============================================================================\n\n{$customPost_grouptitle.$j}\n===============================================================================\n\n{foreach from=$customPos item=customValue key=customName}\n {$customName}: {$customValue}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n===============================================================================\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n===============================================================================\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n------------------------------------------------------------------------------\n\n{$customProfile.title.$pid}\n------------------------------------------------------------------------------\n\n{foreach from=$eachProfile item=val key=field}\n{foreach from=$val item=v key=f}\n{$field}: {$v}\n{/foreach}\n{/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($event.allow_selfcancelxfer)}\n{ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid={participant.id}&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n{ts}Transfer or cancel your registration:{/ts} {$selfService}\n{/if}\n','\n\n\n \n \n\n\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle}style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle}style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=tdfirstStyle}style=\"width: 180px; padding-bottom: 15px;\"{/capture}\n{capture assign=tdStyle}style=\"width: 100px;\"{/capture}\n{capture assign=participantTotalStyle}style=\"margin: 0.5em 0 0.5em;padding: 0.5em;background-color: #999999;font-weight: bold;color: #FAFAFA;border-radius: 2px;\"{/capture}\n\n\n\n \n \n \n\n \n \n \n \n \n \n \n \n {/if}\n
\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}

{$greeting},

{/if}\n {if {event.confirm_email_text|boolean} AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n

{event.confirm_email_text}

\n {else}\n

{ts}Thank you for your registration.{/ts}\n {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n {else}\n {if $isOnWaitlist}{ts}This is a confirmation that your registration has been received and your status has been updated towaitlisted.{/ts}\n {else}{ts}This is a confirmation that your registration has been received and your status has been updated to registered.{/ts}\n {/if}\n {/if}\n

\n {/if}\n\n {if !empty($isOnWaitlist)}\n

{ts}You have been added to the WAIT LIST for this event.{/ts}

\n {if $isPrimary}\n

{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}

\n {/if}\n {elseif !empty($isRequireApproval)}\n

{ts}Your registration has been submitted.{/ts}

\n {if $isPrimary}\n

{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}

\n {/if}\n {elseif {contribution.is_pay_later|boolean} && {contribution.balance_amount|boolean} && $isPrimary}\n

{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt}{/if}

\n {/if}\n
\n \n \n \n \n \n \n \n\n {if \"{participant.role_id:label}\" neq \'Attendee\'}\n \n \n \n \n {/if}\n\n {if {event.is_show_location|boolean}}\n \n \n \n {/if}\n\n {if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}}\n \n \n \n\n {if {event.loc_block_id.phone_id.phone|boolean}}\n \n \n \n \n {/if}\n {if {event.loc_block_id.phone_2_id.phone|boolean}}\n \n \n \n \n {/if}\n {if {event.loc_block_id.email_id.email|boolean}}\n \n \n \n \n {/if}\n {if {event.loc_block_id.email_2_id.email|boolean}}\n \n \n \n \n {/if}\n {/if}\n\n {if {event.is_public|boolean} and {event.is_show_calendar_links|boolean}}\n \n \n \n \n \n \n {/if}\n\n {if {event.is_share|boolean}}\n \n \n \n {/if}\n {if !empty($payer.name)}\n \n \n \n \n \n \n {/if}\n {if {event.is_monetary|boolean} and empty($isRequireApproval)}\n \n \n \n {if $isShowLineItems}\n {foreach from=$participants key=index item=currentParticipant}\n {if $isPrimary || {participant.id} === $currentParticipant.id}\n {if $isPrimary && ($participants|@count > 1)} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n \n \n \n {/if}\n {/foreach}\n {/if}\n {if !$isShowLineItems}\n {foreach from=$participants key=index item=currentParticipant}\n {if $isPrimary || {participant.id} === $currentParticipant.id}\n {foreach from=$currentParticipant.line_items key=index item=currentLineItem}\n \n \n \n \n {/foreach}\n {/if}\n {/foreach}\n {/if}\n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n \n \n \n {if !$isPrimary}\n {* Use the participant specific tax rate breakdown *}\n {assign var=taxRateBreakdown value=$participant.tax_rate_breakdown}\n {/if}\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n \n \n \n \n {/foreach}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if !empty($pricesetFieldsCount)}\n \n \n \n \n {/if}\n\n {if {participant.register_date|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.receive_date|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.financial_type_id|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.trxn_id|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.payment_instrument_id|boolean} && {contribution.paid_amount|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.check_number|boolean}}\n \n \n \n \n {/if}\n\n {if {contribution.address_id.display|boolean}}\n \n \n \n \n \n \n {/if}\n\n {if !empty($credit_card_type)}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n {if !empty($customPre)}\n {foreach from=$customPre item=customPr key=i}\n \n \n \n {foreach from=$customPr item=customValue key=customName}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($customPost)}\n {foreach from=$customPost item=customPos key=j}\n \n \n \n {foreach from=$customPos item=customValue key=customName}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($customProfile)}\n {foreach from=$customProfile.profile item=eachParticipant key=participantID}\n \n \n \n {foreach from=$eachParticipant item=eachProfile key=pid}\n \n \n \n {foreach from=$eachProfile item=val key=field}\n \n {foreach from=$val item=v key=f}\n \n \n {/foreach}\n \n {/foreach}\n {/foreach}\n {/foreach}\n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {event.title}
\n {event.start_date|crmDate:\"%A\"} {event.start_date|crmDate}{if {event.end_date|boolean}}-{if \'{event.end_date|crmDate:\"%Y%m%d\"}\' === \'{event.start_date|crmDate:\"%Y%m%d\"}\'}{event.end_date|crmDate:\"Time\"}{else}{event.end_date|crmDate:\"%A\"} {event.end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}\n \n {participant.role_id:label}\n
\n {event.location}\n
\n {ts}Event Contacts:{/ts}\n
\n {if {event.loc_block_id.phone_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if}\n
\n {if {event.loc_block_id.phone_2_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_2_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {event.loc_block_id.phone_2_id.phone} {if {event.loc_block_id.phone_2_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_2_id.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {event.loc_block_id.email_id.email}\n
\n {ts}Email{/ts}\n \n {event.loc_block_id.email_2_id.email}\n
\n {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n {ts}Download iCalendar entry for this event.{/ts}\n
\n {capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id={event.id}\" h=0 a=1 fe=1}{/capture}\n {ts}Add event to Google Calendar{/ts}\n
\n {capture assign=eventUrl}{crmURL p=\'civicrm/event/info\' q=\"id={event.id}&reset=1\" a=true fe=1 h=1}{/capture}\n {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$eventUrl pageURL=$eventUrl title=\'{event.title}\'}\n
\n {ts}You were registered by:{/ts}\n
\n {$payer.name}\n
\n {event.fee_label}\n
\n {$currentParticipant.contact.display_name}\n
\n \n \n \n \n \n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n \n \n {/if}\n \n {if !empty($pricesetFieldsCount)}\n \n {/if}\n \n {foreach from=$currentParticipant.line_items item=line}\n \n \n \n \n {if $isShowTax && {contribution.tax_amount|boolean}}\n \n {if $line.tax_rate || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if !empty($pricesetFieldsCount)}\n \n {/if}\n \n {/foreach}\n {if $isShowTax && $isPrimary && ($participants|@count > 1)}\n \n \n \n \n \n \n {/if}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Total Participants{/ts}
{$line.title}{$line.qty}{$line.unit_price|crmMoney:$currency}{$line.line_total|crmMoney:$currency}{$line.tax_rate|string_format:\"%.2f\"}%{$line.tax_amount|crmMoney:$currency}\n {$line.line_total_inclusive|crmMoney:$currency}\n {$line.participant_count}
{ts 1=$currentParticipant.contact.display_name}Total for %1{/ts}{$currentParticipant.totals.total_amount_exclusive|crmMoney}{$currentParticipant.totals.tax_amount|crmMoney}{$currentParticipant.totals.total_amount_inclusive|crmMoney}
\n
\n {$currentLineItem.label}{if $isPrimary && ($participants|@count > 1)} - {$currentParticipant.contact.display_name}{/if}\n \n {$currentLineItem.line_total|crmMoney:$currency}\n
\n {ts}Amount Before Tax:{/ts}\n \n {if $isPrimary}{contribution.tax_exclusive_amount}{else}{$participant.totals.total_amount_exclusive|crmMoney}{/if}\n
{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if}{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}
\n {ts}Total Tax Amount{/ts}\n \n {if $isPrimary}{contribution.tax_amount}{else}{$participant.totals.tax_amount|crmMoney}{/if}\n
\n {ts}Total Amount{/ts}\n \n {contribution.total_amount} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n
\n {ts}Total Participants{/ts}\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1}\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n {$count}\n
\n {ts}Registration Date{/ts}\n \n {participant.register_date}\n
\n {ts}Transaction Date{/ts}\n \n {contribution.receive_date}\n
\n {ts}Financial Type{/ts}\n \n {contribution.financial_type_id:label}\n
\n {ts}Transaction #{/ts}\n \n {contribution.trxn_id|boolean}\n
\n {ts}Paid By{/ts}\n \n {contribution.payment_instrument_id:label}\n
\n {ts}Check Number{/ts}\n \n {contribution.check_number}\n
\n {ts}Billing Name and Address{/ts}\n
\n {contribution.address_id.name}
\n {contribution.address_id.display}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
{$customPre_grouptitle.$i}
{$customName}{$customValue}
{$customPost_grouptitle.$j}
{$customName}{$customValue}
{ts 1=$participantID+2}Participant %1{/ts}
{$customProfile.title.$pid}
{$field}{$v}
\n {if {event.allow_selfcancelxfer|boolean}}\n
\n {capture assign=selfservice_preposition}{if {event.selfcancelxfer_time} > 0}{ts}before{/ts}{else}{ts}after{/ts}{/if}{/capture}\n {ts 1={event.selfcancelxfer_time} 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts}\n {if {contribution.paid_amount|boolean}}{ts}Cancellations are not refundable.{/ts}{/if}
\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid={participant.id}&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n {ts}Click here to transfer or cancel your registration.{/ts}\n
\n\n\n\n',1,829,'event_online_receipt',0,1,0,NULL), (33,'Events - Receipt only','Receipt for {if $events_in_cart} Event Registration{/if} - {contact.display_name}\n','','\n\n \n \n \n \n \n {capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n {capture assign=labelStyle}style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n {capture assign=valueStyle}style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}

{$greeting},

{/if}\n {if $is_pay_later}\n

\n This is being sent to you as an acknowledgement that you have registered one or more members for the following workshop, event or purchase. Please note, however, that the status of your payment is pending, and the registration for this event will not be completed until your payment is received.\n

\n {else}\n

\n This is being sent to you as a {if !empty($is_refund)}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n

\n {/if}\n\n {if $is_pay_later}\n

{$pay_later_receipt}

\n {/if}\n\n

Your order number is #{$transaction_id}. {if !empty($line_items) && empty($is_refund)} Information about the workshops will be sent separately to each participant.{/if}\n Here\'s a summary of your transaction placed on {$transaction_date|crmDate:\"%D %I:%M %p %Z\"}:

\n\n{if $billing_name}\n \n \n \n \n \n \n \n
\n {ts}Billing Name and Address{/ts}\n
\n {$billing_name}
\n {$billing_street_address}
\n {$billing_city}, {$billing_state} {$billing_postal_code}
\n
\n {$email}\n
\n{/if}\n{if $credit_card_type}\n

 

\n \n \n \n \n \n \n \n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n
\n{/if}\n{if !empty($source)}\n

 

\n {$source}\n{/if}\n

 

\n \n \n \n{if $line_items}\n \n \n{/if}\n \n \n \n \n \n {foreach from=$line_items item=line_item}\n \n \n \n \n \n \n {/foreach}\n \n \n {if $discounts}\n \n \n \n \n \n \n {foreach from=$discounts key=myId item=i}\n \n \n \n \n \n \n {/foreach}\n {/if}\n \n{if $line_items}\n \n \n{/if}\n \n \n \n \n
\n Event\n \n Participants\n \n Price\n \n Total\n
\n {$line_item.event->title} ({$line_item.event->start_date|crmDate:\"%D\"})
\n {if $line_item.event->is_show_location}\n {$line_item.location.address.1.display|nl2br}\n {/if}{*End of isShowLocation condition*}

\n {$line_item.event->start_date|crmDate:\"%D %I:%M %p\"} - {$line_item.event->end_date|crmDate:\"%I:%M %p\"}\n
\n {$line_item.num_participants}\n {if $line_item.num_participants > 0}\n
\n {foreach from=$line_item.participants item=participant}\n {$participant.display_name}
\n {/foreach}\n
\n {/if}\n {if $line_item.num_waiting_participants > 0}\n Waitlisted:
\n
\n {foreach from=$line_item.waiting_participants item=participant}\n {$participant.display_name}
\n {/foreach}\n
\n {/if}\n
\n {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\n \n  {$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n
\n \n \n Subtotal:\n \n  {$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n
\n {$i.title}\n \n \n \n -{$i.amount}\n
\n \n \n Total:\n \n  {$total|crmMoney:$currency|string_format:\"%10s\"}\n
\n\n If you have questions about the status of your registration or purchase please feel free to contact us.\n \n\n',1,830,'event_registration_receipt',1,0,0,NULL), (34,'Events - Receipt only','Receipt for {if $events_in_cart} Event Registration{/if} - {contact.display_name}\n','','\n\n \n \n \n \n \n {capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n {capture assign=labelStyle}style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n {capture assign=valueStyle}style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}

{$greeting},

{/if}\n {if $is_pay_later}\n

\n This is being sent to you as an acknowledgement that you have registered one or more members for the following workshop, event or purchase. Please note, however, that the status of your payment is pending, and the registration for this event will not be completed until your payment is received.\n

\n {else}\n

\n This is being sent to you as a {if !empty($is_refund)}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n

\n {/if}\n\n {if $is_pay_later}\n

{$pay_later_receipt}

\n {/if}\n\n

Your order number is #{$transaction_id}. {if !empty($line_items) && empty($is_refund)} Information about the workshops will be sent separately to each participant.{/if}\n Here\'s a summary of your transaction placed on {$transaction_date|crmDate:\"%D %I:%M %p %Z\"}:

\n\n{if $billing_name}\n \n \n \n \n \n \n \n
\n {ts}Billing Name and Address{/ts}\n
\n {$billing_name}
\n {$billing_street_address}
\n {$billing_city}, {$billing_state} {$billing_postal_code}
\n
\n {$email}\n
\n{/if}\n{if $credit_card_type}\n

 

\n \n \n \n \n \n \n \n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n
\n{/if}\n{if !empty($source)}\n

 

\n {$source}\n{/if}\n

 

\n \n \n \n{if $line_items}\n \n \n{/if}\n \n \n \n \n \n {foreach from=$line_items item=line_item}\n \n \n \n \n \n \n {/foreach}\n \n \n {if $discounts}\n \n \n \n \n \n \n {foreach from=$discounts key=myId item=i}\n \n \n \n \n \n \n {/foreach}\n {/if}\n \n{if $line_items}\n \n \n{/if}\n \n \n \n \n
\n Event\n \n Participants\n \n Price\n \n Total\n
\n {$line_item.event->title} ({$line_item.event->start_date|crmDate:\"%D\"})
\n {if $line_item.event->is_show_location}\n {$line_item.location.address.1.display|nl2br}\n {/if}{*End of isShowLocation condition*}

\n {$line_item.event->start_date|crmDate:\"%D %I:%M %p\"} - {$line_item.event->end_date|crmDate:\"%I:%M %p\"}\n
\n {$line_item.num_participants}\n {if $line_item.num_participants > 0}\n
\n {foreach from=$line_item.participants item=participant}\n {$participant.display_name}
\n {/foreach}\n
\n {/if}\n {if $line_item.num_waiting_participants > 0}\n Waitlisted:
\n
\n {foreach from=$line_item.waiting_participants item=participant}\n {$participant.display_name}
\n {/foreach}\n
\n {/if}\n
\n {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\n \n  {$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n
\n \n \n Subtotal:\n \n  {$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n
\n {$i.title}\n \n \n \n -{$i.amount}\n
\n \n \n Total:\n \n  {$total|crmMoney:$currency|string_format:\"%10s\"}\n
\n\n If you have questions about the status of your registration or purchase please feel free to contact us.\n \n\n',1,830,'event_registration_receipt',0,1,0,NULL), (35,'Events - Registration Cancellation Notice','{ts 1=\"{event.title}\"}Event Registration Cancelled for %1{/ts} - {contact.display_name}\n','','\n\n\n \n \n\n\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle}style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle}style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n \n \n \n\n
\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}

{$greeting},

{/if}\n

{ts}Your Event Registration has been cancelled.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n\n {if !empty($isShowLocation)}\n \n \n \n {/if}\n\n {if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}}\n \n \n \n\n {if {event.loc_block_id.phone_id.phone|boolean}}\n \n \n \n \n {/if}\n {if {event.loc_block_id.phone_2_id.phone|boolean}}\n \n \n \n \n {/if}\n {if {event.loc_block_id.email_id.email|boolean}}\n \n \n \n \n {/if}\n {if {event.loc_block_id.email_2_id.email|boolean}}\n \n \n \n \n {/if}\n {/if}\n\n {if \'{contact.email}\'}\n \n \n \n \n \n \n {/if}\n\n {if !empty(\'{participant.register_date}\')}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {event.title}
\n {event.start_date|crmDate:\"%A\"} {event.start_date|crmDate}{if {event.end_date|boolean}}-{if \'{event.end_date|crmDate:\"%Y%m%d\"}\' === \'{event.start_date|crmDate:\"%Y%m%d\"}\'}{event.end_date|crmDate:\"Time\"}{else}{event.end_date|crmDate:\"%A\"} {event.end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}:\n \n {participant.role_id:label}\n
\n {event.location}\n
\n {ts}Event Contacts:{/ts}\n
\n {if {event.loc_block_id.phone_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if}\n
\n {if {event.loc_block_id.phone_2_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_2_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {event.loc_block_id.phone_2_id.phone} {if {event.loc_block_id.phone_2_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_2_id.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {event.loc_block_id.email_id.email}\n
\n {ts}Email{/ts}\n \n {event.loc_block_id.email_2_id.email}\n
\n {ts}Registered Email{/ts}\n
\n {contact.email}\n
\n {ts}Registration Date{/ts}\n \n {participant.register_date}\n
\n
\n

{ts 1=\'{domain.phone}\' 2=\'{domain.email}\'}Please contact us at %1 or send email to %2 if you have questions.{/ts}

\n
\n\n\n\n',1,831,'participant_cancelled',1,0,0,NULL), -- 2.25.1