From 58d8c7e2f2d8e91eb562828f700b793312577339 Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 1 Dec 2016 13:55:25 +1300 Subject: [PATCH] CRM-19298, (relates to testing on CRM-19621) fix receipts on separate membership payments to not have extraneous line. The additional line is arguably better in some use-cases, but weird from the point of view that the line is covered in a separate email as well. It is also technically more difficult & fragile so I am removing it. --- CRM/Contribute/BAO/Contribution.php | 9 +------- .../membership_online_receipt_html.tpl | 21 +++++------------ .../membership_online_receipt_text.tpl | 6 ++--- sql/civicrm_generated.mysql | 2 +- tests/phpunit/api/v3/ContributionPageTest.php | 9 ++++++-- .../membership_online_receipt_html.tpl | 23 ++++++------------- .../membership_online_receipt_text.tpl | 6 ++--- 7 files changed, 26 insertions(+), 50 deletions(-) diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index 4e88444e49..af79d62d5d 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -2555,11 +2555,6 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac $values['is_pay_later'] = 1; } - // if separate payment there are two contributions recorded and the - // admin will need to send a receipt for each of them separately. - // we dont link the two in the db (but can potentially infer it if needed) - $template->assign('is_separate_payment', 0); - if ($recur && $paymentObject) { $url = $paymentObject->subscriptionURL($membership->id, 'membership', 'cancel'); $template->assign('cancelSubscriptionUrl', $url); @@ -2822,7 +2817,6 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac 'honor_profile_id' => CRM_Core_DAO::getFieldValue('CRM_Core_DAO_UFJoin', $values['id'], 'uf_group_id', 'entity_id'), 'honor_id' => $softRecord['soft_credit'][1]['contact_id'], ); - $softCreditTypes = CRM_Core_OptionGroup::values('soft_credit_type'); $template->assign('soft_credit_type', $softRecord['soft_credit'][1]['soft_credit_type_label']); $template->assign('honor_block_is_active', CRM_Core_DAO::getFieldValue('CRM_Core_DAO_UFJoin', $values['id'], 'is_active', 'entity_id')); @@ -4728,8 +4722,7 @@ LIMIT 1;"; $contribution->loadRelatedObjects($input, $ids, TRUE); // set receipt from e-mail and name in value if (!$returnMessageText) { - $session = CRM_Core_Session::singleton(); - $userID = $session->get('userID'); + $userID = CRM_Core_Session::singleton()->getLoggedInContactID(); if (!empty($userID)) { list($userName, $userEmail) = CRM_Contact_BAO_Contact_Location::getEmailDetails($userID); $values['receipt_from_email'] = CRM_Utils_Array::value('receipt_from_email', $input, $userEmail); diff --git a/CRM/Upgrade/4.7.14.msg_template/message_templates/membership_online_receipt_html.tpl b/CRM/Upgrade/4.7.14.msg_template/message_templates/membership_online_receipt_html.tpl index 37328e7c1a..4777aa4f10 100644 --- a/CRM/Upgrade/4.7.14.msg_template/message_templates/membership_online_receipt_html.tpl +++ b/CRM/Upgrade/4.7.14.msg_template/message_templates/membership_online_receipt_html.tpl @@ -101,25 +101,16 @@ {$amount|crmMoney} - {else} + {/if} - {ts}Additional Contribution{/ts} - - - {$amount|crmMoney} - + {ts}Total{/ts} + + + {$amount+$membership_amount|crmMoney} + - {/if} {/if} - - - {ts}Total{/ts} - - - {$amount+$membership_amount|crmMoney} - - {elseif !$useForMember && $lineItem and $priceSetID and !$is_quick_config} diff --git a/CRM/Upgrade/4.7.14.msg_template/message_templates/membership_online_receipt_text.tpl b/CRM/Upgrade/4.7.14.msg_template/message_templates/membership_online_receipt_text.tpl index dceb1157eb..08ebc1e13b 100644 --- a/CRM/Upgrade/4.7.14.msg_template/message_templates/membership_online_receipt_text.tpl +++ b/CRM/Upgrade/4.7.14.msg_template/message_templates/membership_online_receipt_text.tpl @@ -33,12 +33,10 @@ {if $amount} {if ! $is_separate_payment } {ts}Contribution Amount{/ts}: {$amount|crmMoney} -{else} -{ts}Additional Contribution{/ts}: {$amount|crmMoney} -{/if} -{/if} ------------------------------------------- {ts}Total{/ts}: {$amount+$membership_amount|crmMoney} +{/if} +{/if} {elseif !$useForMember && $lineItem and $priceSetID & !$is_quick_config} {foreach from=$lineItem item=value key=priceset} --------------------------------------------------------- diff --git a/sql/civicrm_generated.mysql b/sql/civicrm_generated.mysql index f7effd8804..9acb0cc42f 100644 --- a/sql/civicrm_generated.mysql +++ b/sql/civicrm_generated.mysql @@ -966,7 +966,7 @@ UNLOCK TABLES; LOCK TABLES `civicrm_msg_template` WRITE; /*!40000 ALTER TABLE `civicrm_msg_template` DISABLE KEYS */; -INSERT INTO `civicrm_msg_template` (`id`, `msg_title`, `msg_subject`, `msg_text`, `msg_html`, `is_active`, `workflow_id`, `is_default`, `is_reserved`, `is_sms`, `pdf_format_id`) VALUES (1,'Cases - Send Copy of an Activity','{if $idHash}[case #{$idHash}]{/if} {$activitySubject}\n','===========================================================\n{ts}Activity Summary{/ts} - {$activityTypeName}\n===========================================================\n{if $isCaseActivity}\n{ts}Your Case Role(s){/ts} : {$contact.role}\n{if $manageCaseURL}\n{ts}Manage Case{/ts} : {$manageCaseURL}\n{/if}\n{/if}\n\n{if $editActURL}\n{ts}Edit activity{/ts} : {$editActURL}\n{/if}\n{if $viewActURL}\n{ts}View activity{/ts} : {$viewActURL}\n{/if}\n\n{foreach from=$activity.fields item=field}\n{if $field.type eq \'Date\'}\n{$field.label}{if $field.category}({$field.category}){/if} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label}{if $field.category}({$field.category}){/if} : {$field.value}\n{/if}\n{/foreach}\n\n{foreach from=$activity.customGroups key=customGroupName item=customGroup}\n==========================================================\n{$customGroupName}\n==========================================================\n{foreach from=$customGroup item=field}\n{if $field.type eq \'Date\'}\n{$field.label} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label} : {$field.value}\n{/if}\n{/foreach}\n\n{/foreach}\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 {if $isCaseActivity}\n \n \n \n \n {if $manageCaseURL}\n \n \n \n {/if}\n {/if}\n {if $editActURL}\n \n \n \n {/if}\n {if $viewActURL}\n \n \n \n {/if}\n {foreach from=$activity.fields item=field}\n \n \n \n \n {/foreach}\n\n {foreach from=$activity.customGroups key=customGroupName item=customGroup}\n \n \n \n {foreach from=$customGroup item=field}\n \n \n \n \n {/foreach}\n {/foreach}\n
\n {ts}Activity Summary{/ts} - {$activityTypeName}\n
\n {ts}Your Case Role(s){/ts}\n \n {$contact.role}\n
\n {ts}Manage Case{/ts}\n
\n {ts}Edit activity{/ts}\n
\n {ts}View activity{/ts}\n
\n {$field.label}{if $field.category}({$field.category}){/if}\n \n {if $field.type eq \'Date\'}\n {$field.value|crmDate:$config->dateformatDatetime}\n {else}\n {$field.value}\n {/if}\n
\n {$customGroupName}\n
\n {$field.label}\n \n {if $field.type eq \'Date\'}\n {$field.value|crmDate:$config->dateformatDatetime}\n {else}\n {$field.value}\n {/if}\n
\n
\n
\n\n\n\n',1,798,1,0,0,NULL),(2,'Cases - Send Copy of an Activity','{if $idHash}[case #{$idHash}]{/if} {$activitySubject}\n','===========================================================\n{ts}Activity Summary{/ts} - {$activityTypeName}\n===========================================================\n{if $isCaseActivity}\n{ts}Your Case Role(s){/ts} : {$contact.role}\n{if $manageCaseURL}\n{ts}Manage Case{/ts} : {$manageCaseURL}\n{/if}\n{/if}\n\n{if $editActURL}\n{ts}Edit activity{/ts} : {$editActURL}\n{/if}\n{if $viewActURL}\n{ts}View activity{/ts} : {$viewActURL}\n{/if}\n\n{foreach from=$activity.fields item=field}\n{if $field.type eq \'Date\'}\n{$field.label}{if $field.category}({$field.category}){/if} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label}{if $field.category}({$field.category}){/if} : {$field.value}\n{/if}\n{/foreach}\n\n{foreach from=$activity.customGroups key=customGroupName item=customGroup}\n==========================================================\n{$customGroupName}\n==========================================================\n{foreach from=$customGroup item=field}\n{if $field.type eq \'Date\'}\n{$field.label} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label} : {$field.value}\n{/if}\n{/foreach}\n\n{/foreach}\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 {if $isCaseActivity}\n \n \n \n \n {if $manageCaseURL}\n \n \n \n {/if}\n {/if}\n {if $editActURL}\n \n \n \n {/if}\n {if $viewActURL}\n \n \n \n {/if}\n {foreach from=$activity.fields item=field}\n \n \n \n \n {/foreach}\n\n {foreach from=$activity.customGroups key=customGroupName item=customGroup}\n \n \n \n {foreach from=$customGroup item=field}\n \n \n \n \n {/foreach}\n {/foreach}\n
\n {ts}Activity Summary{/ts} - {$activityTypeName}\n
\n {ts}Your Case Role(s){/ts}\n \n {$contact.role}\n
\n {ts}Manage Case{/ts}\n
\n {ts}Edit activity{/ts}\n
\n {ts}View activity{/ts}\n
\n {$field.label}{if $field.category}({$field.category}){/if}\n \n {if $field.type eq \'Date\'}\n {$field.value|crmDate:$config->dateformatDatetime}\n {else}\n {$field.value}\n {/if}\n
\n {$customGroupName}\n
\n {$field.label}\n \n {if $field.type eq \'Date\'}\n {$field.value|crmDate:$config->dateformatDatetime}\n {else}\n {$field.value}\n {/if}\n
\n
\n
\n\n\n\n',1,798,0,1,0,NULL),(3,'Contributions - Duplicate Organization Alert','{ts}CiviContribute Alert: Possible Duplicate Contact Record{/ts}\n','{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}\n{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}\n\n{ts}Organization Name{/ts}: {$onBehalfName}\n{ts}Organization Email{/ts}: {$onBehalfEmail}\n{ts}Organization Contact ID{/ts}: {$onBehalfID}\n\n{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}\n\n{if $receiptMessage}\n###########################################################\n{ts}Copy of Contribution Receipt{/ts}\n\n###########################################################\n{$receiptMessage}\n\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\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n {if $receiptMessage}\n \n \n \n {/if}\n
\n

{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}

\n

{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Organization Name{/ts}\n \n {$onBehalfName}\n
\n {ts}Organization Email{/ts}\n \n {$onBehalfEmail}\n
\n {ts}Organization Contact ID{/ts}\n \n {$onBehalfID}\n
\n
\n

{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}

\n
\n \n \n \n \n \n \n \n
\n {ts}Copy of Contribution Receipt{/ts}\n
\n {* FIXME: the below is most probably not HTML-ised *}\n {$receiptMessage}\n
\n
\n
\n\n\n\n',1,799,1,0,0,NULL),(4,'Contributions - Duplicate Organization Alert','{ts}CiviContribute Alert: Possible Duplicate Contact Record{/ts}\n','{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}\n{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}\n\n{ts}Organization Name{/ts}: {$onBehalfName}\n{ts}Organization Email{/ts}: {$onBehalfEmail}\n{ts}Organization Contact ID{/ts}: {$onBehalfID}\n\n{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}\n\n{if $receiptMessage}\n###########################################################\n{ts}Copy of Contribution Receipt{/ts}\n\n###########################################################\n{$receiptMessage}\n\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\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n {if $receiptMessage}\n \n \n \n {/if}\n
\n

{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}

\n

{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Organization Name{/ts}\n \n {$onBehalfName}\n
\n {ts}Organization Email{/ts}\n \n {$onBehalfEmail}\n
\n {ts}Organization Contact ID{/ts}\n \n {$onBehalfID}\n
\n
\n

{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}

\n
\n \n \n \n \n \n \n \n
\n {ts}Copy of Contribution Receipt{/ts}\n
\n {* FIXME: the below is most probably not HTML-ised *}\n {$receiptMessage}\n
\n
\n
\n\n\n\n',1,799,0,1,0,NULL),(5,'Contributions - Receipt (off-line)','{ts}Contribution Receipt{/ts}\n','{if $formValues.receipt_text}\n{$formValues.receipt_text}\n{else}{ts}Thank you for your support.{/ts}{/if}\n\n{ts}Please print this receipt for your records.{/ts}\n\n\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\n{if $lineItem}\n{foreach from=$lineItem item=value key=priceset}\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 $getTaxDetails}\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{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $getTaxDetails} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\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 $getTaxDetails}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $getTaxDetails && $dataArray}\n{ts}Amount before Tax{/ts} : {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0 || $value != \'\'}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}% : {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm} : {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n{ts}Total Tax Amount{/ts} : {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{ts}Total Amount{/ts} : {$formValues.total_amount|crmMoney:$currency}\n{if $receive_date}\n{ts}Date Received{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if $receipt_date}\n{ts}Receipt Date{/ts}: {$receipt_date|truncate:10:\'\'|crmDate}\n{/if}\n{if $formValues.paidBy and !$formValues.hidden_CreditCard}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if $formValues.check_number}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{if $formValues.trxn_id}\n{ts}Transaction ID{/ts}: {$formValues.trxn_id}\n{/if}\n\n{if $ccContribution}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n===========================================================\n{ts}Credit Card Information{/ts}\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 $customGroup}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $softCreditTypes and $softCredits}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $formValues.product_name}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$formValues.product_name}\n{if $formValues.product_option}\n{ts}Option{/ts}: {$formValues.product_option}\n{/if}\n{if $formValues.product_sku}\n{ts}SKU{/ts}: {$formValues.product_sku}\n{/if}\n{if $fulfilled_date}\n{ts}Sent{/ts}: {$fulfilled_date|crmDate}\n{/if}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n\n {if $formValues.receipt_text}\n

{$formValues.receipt_text|htmlize}

\n {else}\n

{ts}Thank you for your support.{/ts}

\n {/if}\n\n

{ts}Please print this receipt for your records.{/ts}

\n\n
\n \n \n \n \n \n \n \n \n\n {if $lineItem and !$is_quick_config}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {/if}\n {if $getTaxDetails && $dataArray}\n \n \n \n \n\n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0 || $value != \'\'}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n\n {if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n \n \n \n \n {/if}\n\n \n \n \n \n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $receipt_date}\n \n \n \n \n {/if}\n\n {if $formValues.paidBy and !$formValues.hidden_CreditCard}\n \n \n \n \n {if $formValues.check_number}\n \n \n \n \n {/if}\n {/if}\n\n {if $formValues.trxn_id}\n \n \n \n \n {/if}\n\n {if $ccContribution}\n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n\n {if $softCreditTypes and $softCredits}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n \n \n \n {foreach from=$softCredits.$n item=value key=label}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $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 {if $formValues.product_name}\n \n \n \n \n \n \n {if $formValues.product_option}\n \n \n \n \n {/if}\n {if $formValues.product_sku}\n \n \n \n \n {/if}\n {if $fulfilled_date}\n \n \n \n \n {/if}\n {/if}\n\n
\n {ts}Contribution Information{/ts}\n
\n {ts}Financial Type{/ts}\n \n {$formValues.contributionType_name}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $getTaxDetails}\n \n \n \n {/if}\n \n \n {foreach from=$value item=line}\n \n \n \n \n {if $getTaxDetails}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney:$currency}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney:$currency}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n
\n
\n {ts} Amount before Tax : {/ts}\n \n {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$formValues.total_amount|crmMoney:$currency}\n
\n {ts}Date Received{/ts}\n \n {$receive_date|truncate:10:\'\'|crmDate}\n
\n {ts}Receipt Date{/ts}\n \n {$receipt_date|truncate:10:\'\'|crmDate}\n
\n {ts}Paid By{/ts}\n \n {$formValues.paidBy}\n
\n {ts}Check Number{/ts}\n \n {$formValues.check_number}\n
\n {ts}Transaction ID{/ts}\n \n {$formValues.trxn_id}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\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
\n {$softCreditType}\n
\n {$label}\n \n {$value}\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n {ts}Premium Information{/ts}\n
\n {$formValues.product_name}\n
\n {ts}Option{/ts}\n \n {$formValues.product_option}\n
\n {ts}SKU{/ts}\n \n {$formValues.product_sku}\n
\n {ts}Sent{/ts}\n \n {$fulfilled_date|truncate:10:\'\'|crmDate}\n
\n
\n
\n\n\n\n',1,800,1,0,0,NULL),(6,'Contributions - Receipt (off-line)','{ts}Contribution Receipt{/ts}\n','{if $formValues.receipt_text}\n{$formValues.receipt_text}\n{else}{ts}Thank you for your support.{/ts}{/if}\n\n{ts}Please print this receipt for your records.{/ts}\n\n\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\n{if $lineItem}\n{foreach from=$lineItem item=value key=priceset}\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 $getTaxDetails}\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{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $getTaxDetails} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\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 $getTaxDetails}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $getTaxDetails && $dataArray}\n{ts}Amount before Tax{/ts} : {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0 || $value != \'\'}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}% : {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm} : {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n{ts}Total Tax Amount{/ts} : {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{ts}Total Amount{/ts} : {$formValues.total_amount|crmMoney:$currency}\n{if $receive_date}\n{ts}Date Received{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if $receipt_date}\n{ts}Receipt Date{/ts}: {$receipt_date|truncate:10:\'\'|crmDate}\n{/if}\n{if $formValues.paidBy and !$formValues.hidden_CreditCard}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if $formValues.check_number}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{if $formValues.trxn_id}\n{ts}Transaction ID{/ts}: {$formValues.trxn_id}\n{/if}\n\n{if $ccContribution}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n===========================================================\n{ts}Credit Card Information{/ts}\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 $customGroup}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $softCreditTypes and $softCredits}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $formValues.product_name}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$formValues.product_name}\n{if $formValues.product_option}\n{ts}Option{/ts}: {$formValues.product_option}\n{/if}\n{if $formValues.product_sku}\n{ts}SKU{/ts}: {$formValues.product_sku}\n{/if}\n{if $fulfilled_date}\n{ts}Sent{/ts}: {$fulfilled_date|crmDate}\n{/if}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n\n {if $formValues.receipt_text}\n

{$formValues.receipt_text|htmlize}

\n {else}\n

{ts}Thank you for your support.{/ts}

\n {/if}\n\n

{ts}Please print this receipt for your records.{/ts}

\n\n
\n \n \n \n \n \n \n \n \n\n {if $lineItem and !$is_quick_config}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {/if}\n {if $getTaxDetails && $dataArray}\n \n \n \n \n\n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0 || $value != \'\'}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n\n {if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n \n \n \n \n {/if}\n\n \n \n \n \n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $receipt_date}\n \n \n \n \n {/if}\n\n {if $formValues.paidBy and !$formValues.hidden_CreditCard}\n \n \n \n \n {if $formValues.check_number}\n \n \n \n \n {/if}\n {/if}\n\n {if $formValues.trxn_id}\n \n \n \n \n {/if}\n\n {if $ccContribution}\n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n\n {if $softCreditTypes and $softCredits}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n \n \n \n {foreach from=$softCredits.$n item=value key=label}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $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 {if $formValues.product_name}\n \n \n \n \n \n \n {if $formValues.product_option}\n \n \n \n \n {/if}\n {if $formValues.product_sku}\n \n \n \n \n {/if}\n {if $fulfilled_date}\n \n \n \n \n {/if}\n {/if}\n\n
\n {ts}Contribution Information{/ts}\n
\n {ts}Financial Type{/ts}\n \n {$formValues.contributionType_name}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $getTaxDetails}\n \n \n \n {/if}\n \n \n {foreach from=$value item=line}\n \n \n \n \n {if $getTaxDetails}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney:$currency}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney:$currency}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n
\n
\n {ts} Amount before Tax : {/ts}\n \n {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$formValues.total_amount|crmMoney:$currency}\n
\n {ts}Date Received{/ts}\n \n {$receive_date|truncate:10:\'\'|crmDate}\n
\n {ts}Receipt Date{/ts}\n \n {$receipt_date|truncate:10:\'\'|crmDate}\n
\n {ts}Paid By{/ts}\n \n {$formValues.paidBy}\n
\n {ts}Check Number{/ts}\n \n {$formValues.check_number}\n
\n {ts}Transaction ID{/ts}\n \n {$formValues.trxn_id}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\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
\n {$softCreditType}\n
\n {$label}\n \n {$value}\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n {ts}Premium Information{/ts}\n
\n {$formValues.product_name}\n
\n {ts}Option{/ts}\n \n {$formValues.product_option}\n
\n {ts}SKU{/ts}\n \n {$formValues.product_sku}\n
\n {ts}Sent{/ts}\n \n {$fulfilled_date|truncate:10:\'\'|crmDate}\n
\n
\n
\n\n\n\n',1,800,0,1,0,NULL),(7,'Contributions - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}\n','{if $receipt_text}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{else}\n\n{ts}Please print this receipt for your records.{/ts}\n{/if}\n\n{if $amount}\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{if $lineItem and $priceSetID and !$is_quick_config}\n{foreach from=$lineItem item=value key=priceset}\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 $dataArray}\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{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\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 $dataArray}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney:$currency}\n{else}\n{ts}Amount{/ts}: {$amount|crmMoney:$currency} {if $amount_level } - {$amount_level} {/if}\n{/if}\n{/if}\n{if $receive_date}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $is_monetary and $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n\n{if $is_recur and ($contributeMode eq \'notify\' or $contributeMode eq \'directIPN\')}\n{ts}This is a recurring contribution. You can cancel future contributions at:{/ts}\n\n{$cancelSubscriptionUrl}\n\n{if $updateSubscriptionBillingUrl}\n{ts}You can update billing details for this recurring contribution at:{/ts}\n\n{$updateSubscriptionBillingUrl}\n\n{/if}\n{ts}You can update recurring contribution amount or change the number of installments for this recurring contribution at:{/ts}\n\n{$updateSubscriptionUrl}\n\n{/if}\n\n{if $honor_block_is_active}\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n{elseif $softCreditTypes and $softCredits}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n{if $pcpBlock}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if $onBehalfProfile}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !( $contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\' ) and $is_monetary}\n{if $is_pay_later && !$isBillingAddressRequiredForPayLater}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{elseif $amount GT 0}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{/if} {* End ! is_pay_later condition. *}\n{/if}\n{if $contributeMode eq \'direct\' AND !$is_pay_later AND $amount GT 0}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if $selectPremium }\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if $contact_email OR $contact_phone}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if $contact_email}\n {$contact_email}\n{/if}\n{if $contact_phone}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND $price}\n\n{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if $customPre}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if $customPost}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}','\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 {if $receipt_text}\n

{$receipt_text|htmlize}

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

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n\n {if $amount}\n\n\n \n \n \n\n {if $lineItem and $priceSetID and !$is_quick_config}\n\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n\n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {else}\n\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {/if}\n\n {/if}\n\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $is_monetary and $trxn_id}\n \n \n \n \n {/if}\n\n {if $is_recur}\n {if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n \n \n \n \n {/if}\n {/if}\n\n {if $honor_block_is_active}\n \n \n \n {foreach from=$honoreeProfile item=value key=label}\n \n \n \n \n {/foreach}\n {elseif $softCreditTypes and $softCredits}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n \n \n \n {foreach from=$softCredits.$n item=value key=label}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $pcpBlock}\n \n \n \n \n \n \n \n {if $pcp_roll_nickname}\n \n \n \n \n {/if}\n {if $pcp_personal_note}\n \n \n \n \n {/if}\n {/if}\n\n {if $onBehalfProfile}\n \n \n \n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n \n \n \n \n {/foreach}\n {/if}\n\n {if $isShare}\n \n \n \n {/if}\n\n {if ! ($contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\') and $is_monetary}\n {if $is_pay_later && !$isBillingAddressRequiredForPayLater}\n \n \n \n \n \n \n {elseif $amount GT 0}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $contributeMode eq \'direct\' AND !$is_pay_later AND $amount GT 0}\n \n \n \n \n \n \n {/if}\n\n {if $selectPremium}\n \n \n \n \n \n \n {if $option}\n \n \n \n \n {/if}\n {if $sku}\n \n \n \n \n {/if}\n {if $start_date}\n \n \n \n \n {/if}\n {if $end_date}\n \n \n \n \n {/if}\n {if $contact_email OR $contact_phone}\n \n \n \n {/if}\n {if $is_deductible AND $price}\n \n \n \n {/if}\n {/if}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n
\n {ts}Contribution Information{/ts}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n \n {foreach from=$value item=line}\n \n \n \n \n {if $getTaxDetails}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney:$currency}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney:$currency}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n
\n
\n {ts} Amount before Tax : {/ts}\n \n {$amount-$totalTaxAmount|crmMoney:$currency}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$amount|crmMoney:$currency}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$amount|crmMoney:$currency} {if $amount_level} - {$amount_level}{/if}\n
\n {ts}Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts 1=$cancelSubscriptionUrl}This is a recurring contribution. You can cancel future contributions by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by visiting this web page.{/ts}\n
\n {$soft_credit_type}\n
\n {$label}\n \n {$value}\n
\n {$softCreditType}\n
\n {$label}\n \n {$value}\n
\n {ts}Personal Campaign Page{/ts}\n
\n {ts}Display In Honor Roll{/ts}\n \n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n
\n {ts}Nickname{/ts}\n \n {$pcp_roll_nickname}\n
\n {ts}Personal Note{/ts}\n \n {$pcp_personal_note}\n
\n {$onBehalfProfile_grouptitle}\n
\n {$onBehalfName}\n \n {$onBehalfValue}\n
\n {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contributionPageId`\" a=true fe=1 h=1}{/capture}\n {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$contributionUrl title=$title pageURL=$contributionUrl}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\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
\n {ts}Premium Information{/ts}\n
\n {$product_name}\n
\n {ts}Option{/ts}\n \n {$option}\n
\n {ts}SKU{/ts}\n \n {$sku}\n
\n {ts}Start Date{/ts}\n \n {$start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$end_date|crmDate}\n
\n

{ts}For information about this premium, contact:{/ts}

\n {if $contact_email}\n

{$contact_email}

\n {/if}\n {if $contact_phone}\n

{$contact_phone}

\n {/if}\n
\n

{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}

\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n
\n\n\n\n',1,801,1,0,0,NULL),(8,'Contributions - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}\n','{if $receipt_text}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{else}\n\n{ts}Please print this receipt for your records.{/ts}\n{/if}\n\n{if $amount}\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{if $lineItem and $priceSetID and !$is_quick_config}\n{foreach from=$lineItem item=value key=priceset}\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 $dataArray}\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{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\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 $dataArray}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney:$currency}\n{else}\n{ts}Amount{/ts}: {$amount|crmMoney:$currency} {if $amount_level } - {$amount_level} {/if}\n{/if}\n{/if}\n{if $receive_date}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $is_monetary and $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n\n{if $is_recur and ($contributeMode eq \'notify\' or $contributeMode eq \'directIPN\')}\n{ts}This is a recurring contribution. You can cancel future contributions at:{/ts}\n\n{$cancelSubscriptionUrl}\n\n{if $updateSubscriptionBillingUrl}\n{ts}You can update billing details for this recurring contribution at:{/ts}\n\n{$updateSubscriptionBillingUrl}\n\n{/if}\n{ts}You can update recurring contribution amount or change the number of installments for this recurring contribution at:{/ts}\n\n{$updateSubscriptionUrl}\n\n{/if}\n\n{if $honor_block_is_active}\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n{elseif $softCreditTypes and $softCredits}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n{if $pcpBlock}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if $onBehalfProfile}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !( $contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\' ) and $is_monetary}\n{if $is_pay_later && !$isBillingAddressRequiredForPayLater}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{elseif $amount GT 0}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{/if} {* End ! is_pay_later condition. *}\n{/if}\n{if $contributeMode eq \'direct\' AND !$is_pay_later AND $amount GT 0}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if $selectPremium }\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if $contact_email OR $contact_phone}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if $contact_email}\n {$contact_email}\n{/if}\n{if $contact_phone}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND $price}\n\n{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if $customPre}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if $customPost}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}','\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 {if $receipt_text}\n

{$receipt_text|htmlize}

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

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n\n {if $amount}\n\n\n \n \n \n\n {if $lineItem and $priceSetID and !$is_quick_config}\n\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n\n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {else}\n\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {/if}\n\n {/if}\n\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $is_monetary and $trxn_id}\n \n \n \n \n {/if}\n\n {if $is_recur}\n {if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n \n \n \n \n {/if}\n {/if}\n\n {if $honor_block_is_active}\n \n \n \n {foreach from=$honoreeProfile item=value key=label}\n \n \n \n \n {/foreach}\n {elseif $softCreditTypes and $softCredits}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n \n \n \n {foreach from=$softCredits.$n item=value key=label}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $pcpBlock}\n \n \n \n \n \n \n \n {if $pcp_roll_nickname}\n \n \n \n \n {/if}\n {if $pcp_personal_note}\n \n \n \n \n {/if}\n {/if}\n\n {if $onBehalfProfile}\n \n \n \n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n \n \n \n \n {/foreach}\n {/if}\n\n {if $isShare}\n \n \n \n {/if}\n\n {if ! ($contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\') and $is_monetary}\n {if $is_pay_later && !$isBillingAddressRequiredForPayLater}\n \n \n \n \n \n \n {elseif $amount GT 0}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $contributeMode eq \'direct\' AND !$is_pay_later AND $amount GT 0}\n \n \n \n \n \n \n {/if}\n\n {if $selectPremium}\n \n \n \n \n \n \n {if $option}\n \n \n \n \n {/if}\n {if $sku}\n \n \n \n \n {/if}\n {if $start_date}\n \n \n \n \n {/if}\n {if $end_date}\n \n \n \n \n {/if}\n {if $contact_email OR $contact_phone}\n \n \n \n {/if}\n {if $is_deductible AND $price}\n \n \n \n {/if}\n {/if}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n
\n {ts}Contribution Information{/ts}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n \n {foreach from=$value item=line}\n \n \n \n \n {if $getTaxDetails}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney:$currency}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney:$currency}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n
\n
\n {ts} Amount before Tax : {/ts}\n \n {$amount-$totalTaxAmount|crmMoney:$currency}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$amount|crmMoney:$currency}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$amount|crmMoney:$currency} {if $amount_level} - {$amount_level}{/if}\n
\n {ts}Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts 1=$cancelSubscriptionUrl}This is a recurring contribution. You can cancel future contributions by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by visiting this web page.{/ts}\n
\n {$soft_credit_type}\n
\n {$label}\n \n {$value}\n
\n {$softCreditType}\n
\n {$label}\n \n {$value}\n
\n {ts}Personal Campaign Page{/ts}\n
\n {ts}Display In Honor Roll{/ts}\n \n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n
\n {ts}Nickname{/ts}\n \n {$pcp_roll_nickname}\n
\n {ts}Personal Note{/ts}\n \n {$pcp_personal_note}\n
\n {$onBehalfProfile_grouptitle}\n
\n {$onBehalfName}\n \n {$onBehalfValue}\n
\n {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contributionPageId`\" a=true fe=1 h=1}{/capture}\n {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$contributionUrl title=$title pageURL=$contributionUrl}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\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
\n {ts}Premium Information{/ts}\n
\n {$product_name}\n
\n {ts}Option{/ts}\n \n {$option}\n
\n {ts}SKU{/ts}\n \n {$sku}\n
\n {ts}Start Date{/ts}\n \n {$start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$end_date|crmDate}\n
\n

{ts}For information about this premium, contact:{/ts}

\n {if $contact_email}\n

{$contact_email}

\n {/if}\n {if $contact_phone}\n

{$contact_phone}

\n {/if}\n
\n

{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}

\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n
\n\n\n\n',1,801,0,1,0,NULL),(9,'Contributions - Invoice','{if $title}\n {if $component}\n {if $component == \'event\'}\n {ts 1=$title}Event Registration Invoice: %1{/ts}\n {else}\n {ts 1=$title}Contribution Invoice: %1{/ts}\n {/if}\n {/if}\n{else}\n {ts}Invoice{/ts}\n{/if}\n','{ts}Contribution Invoice{/ts}\n','\n\n \n \n \n \n \n \n \n \n \n
\n
\n \n \n \n \n \n \n \n \n {if $organization_name}\n \n {else}\n \n {/if}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{ts}INVOICE{/ts}{ts}Invoice Date:{/ts}{$domain_organization}
{$display_name} ({$organization_name}){$display_name}{$invoice_date}\n \n {if $domain_street_address }{$domain_street_address}{/if}\n {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}\n \n
{$street_address} {$supplemental_address_1}{ts}Invoice Number:{/ts}\n \n {if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n {if $domain_state }{$domain_state}{/if}\n \n
{$supplemental_address_2} {$stateProvinceAbbreviation}{$invoice_id}\n \n {if $domain_city}{$domain_city}{/if}\n {if $domain_postal_code }{$domain_postal_code}{/if}\n \n
{$city} {$postal_code}{ts}Reference:{/ts} {if $domain_country}{$domain_country}{/if}
{$source} {if $domain_phone}{$domain_phone}{/if}
{if $domain_email}{$domain_email}{/if}
\n \n \n \n \n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n \n {foreach from=$lineItem item=value key=priceset name=taxpricevalue}\n {if $smarty.foreach.taxpricevalue.index eq 0}\n \n \n \n {else}\n \n \n \n {/if}\n \n \n \n \n {if $value.tax_amount != \'\'}\n \n {else}\n \n {/if}\n \n \n {/foreach}\n \n \n \n \n \n \n {foreach from = $dataArray item = value key = priceset}\n \n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n \n {/if}\n {/foreach}\n \n \n \n \n \n \n \n \n \n {if $is_pay_later == 0}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n


\n \n \n \n {if $contribution_status_id == $pendingStatusId && $is_pay_later == 1}\n \n \n \n \n {/if}\n
{ts}Description{/ts}{ts}Quantity{/ts}{ts}Unit Price{/ts}{$taxTerm} {ts 1=$defaultCurrency}Amount %1{/ts}


\n {if $value.html_type eq \'Text\'}\n {$value.label}\n {else}\n {$value.field_title} - {$value.label}\n {/if} \n {if $value.description}\n
{$value.description|truncate:30:\"...\"}
\n {/if}\n
\n
{$value.qty} {$value.unit_price|crmMoney:$currency} {$value.tax_rate}%{ts 1=$taxTerm}No %1{/ts}{$value.subTotal|crmMoney:$currency}

{ts}Sub Total{/ts} {$subTotal|crmMoney:$currency}
{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts}{$value|crmMoney:$currency} {ts 1=$taxTerm}TOTAL NO %1{/ts}{$value|crmMoney:$currency}

{ts 1=$defaultCurrency}TOTAL %1{/ts}{$amount|crmMoney:$currency}
\n {if $contribution_status_id == $refundedStatusId}\n {ts}LESS Amount Credited{/ts}\n {else}\n {ts}LESS Amount Paid{/ts}\n {/if}\n \n {$amount|crmMoney:$currency}

{ts}AMOUNT DUE:{/ts} {$amountDue|crmMoney:$currency}
{ts 1=$dueDate}DUE DATE: %1{/ts}
\n
\n {if $contribution_status_id == $pendingStatusId && $is_pay_later == 1}\n \n \n \n \n
\n \n \n \n \n \n
{ts}PAYMENT ADVICE{/ts}

{ts}To: {/ts}
\n {$domain_organization}
\n {$domain_street_address} {$domain_supplemental_address_1}
\n {$domain_supplemental_address_2} {$domain_state}
\n {$domain_city} {$domain_postal_code}
\n {$domain_country}
\n {$domain_phone}
\n {$domain_email}
\n


{$notes}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {if $is_pay_later == 1}\n \n \n \n \n \n {else}\n \n \n \n \n \n {/if}\n \n \n \n \n \n \n \n \n
{ts}Customer: {/ts}{$display_name}
{ts}Invoice Number: {/ts}{$invoice_id}

{ts}Amount Due:{/ts}{$amount|crmMoney:$currency}
{ts}Amount Due: {/ts}{$amountDue|crmMoney:$currency}
{ts}Due Date: {/ts}{$dueDate}

\n
\n {/if}\n\n {if $contribution_status_id == $refundedStatusId || $contribution_status_id == $cancelledStatusId}\n \n \n \n \n
\n
\n\n \n \n \n \n \n \n \n \n {if $organization_name}\n \n {else}\n \n {/if}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{ts}CREDIT NOTE{/ts}{ts}Date:{/ts}{$domain_organization}
{$display_name} ({$organization_name}){$display_name}{$invoice_date}\n \n {if $domain_street_address }{$domain_street_address}{/if}\n {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}\n \n
{$street_address} {$supplemental_address_1}{ts}Credit Note Number:{/ts}\n \n {if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n {if $domain_state }{$domain_state}{/if}\n \n
{$supplemental_address_2} {$stateProvinceAbbreviation}{$creditnote_id}\n \n {if $domain_city}{$domain_city}{/if}\n {if $domain_postal_code }{$domain_postal_code}{/if}\n \n
{$city} {$postal_code}{ts}Reference:{/ts}\n \n {if $domain_country}{$domain_country}{/if}\n \n
{$source}\n \n {if $domain_phone}{$domain_phone}{/if}\n \n
\n \n {if $domain_email}{$domain_email}{/if}\n \n
\n\n \n \n \n \n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n \n {foreach from=$lineItem item=value key=priceset name=pricevalue}\n {if $smarty.foreach.pricevalue.index eq 0}\n \n {else}\n \n {/if}\n \n \n \n \n {if $value.tax_amount != \'\'}\n \n {else}\n \n {/if}\n \n \n {/foreach}\n \n \n \n \n \n \n {foreach from = $dataArray item = value key = priceset}\n \n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n \n {/if}\n {/foreach}\n \n \n \n \n \n \n \n \n \n {if $is_pay_later == 0}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n


\n \n \n \n \n \n \n \n
{ts}Description{/ts}{ts}Quantity{/ts}{ts}Unit Price{/ts}{$taxTerm} {ts 1=$defaultCurrency}Amount %1{/ts}


\n \n {if $value.html_type eq \'Text\'}\n {$value.label}\n {else}\n {$value.field_title} - {$value.label}\n {/if} \n {if $value.description}\n
{$value.description|truncate:30:\"...\"}
\n {/if}\n
\n
{$value.qty} {$value.unit_price|crmMoney:$currency} {$value.tax_rate}%{ts 1=$taxTerm}No %1{/ts}{$value.subTotal|crmMoney:$currency}

{ts}Sub Total{/ts} {$subTotal|crmMoney:$currency}
{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts}{$value|crmMoney:$currency} {ts 1=$taxTerm}TOTAL NO %1{/ts}{$value|crmMoney:$currency}

{ts 1=$defaultCurrency}TOTAL %1{/ts}{$amount|crmMoney:$currency}
{ts}LESS Credit to invoice(s){/ts}{$amount|crmMoney:$currency}

{ts}REMAINING CREDIT{/ts}{$amountDue|crmMoney:$currency}
\n
\n \n \n \n \n
\n\n \n \n \n \n \n
{ts}CREDIT ADVICE{/ts}

{ts}Please do not pay on this advice. Deduct the amount of this Credit Note from your next payment to us{/ts}

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{ts}Customer:{/ts} {$display_name}
{ts}Credit Note#:{/ts} {$creditnote_id}

{ts}Credit Amount:{/ts}{$amount|crmMoney:$currency}
\n
\n {/if}\n
\n \n\n',1,802,1,0,0,NULL),(10,'Contributions - Invoice','{if $title}\n {if $component}\n {if $component == \'event\'}\n {ts 1=$title}Event Registration Invoice: %1{/ts}\n {else}\n {ts 1=$title}Contribution Invoice: %1{/ts}\n {/if}\n {/if}\n{else}\n {ts}Invoice{/ts}\n{/if}\n','{ts}Contribution Invoice{/ts}\n','\n\n \n \n \n \n \n \n \n \n \n
\n
\n \n \n \n \n \n \n \n \n {if $organization_name}\n \n {else}\n \n {/if}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{ts}INVOICE{/ts}{ts}Invoice Date:{/ts}{$domain_organization}
{$display_name} ({$organization_name}){$display_name}{$invoice_date}\n \n {if $domain_street_address }{$domain_street_address}{/if}\n {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}\n \n
{$street_address} {$supplemental_address_1}{ts}Invoice Number:{/ts}\n \n {if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n {if $domain_state }{$domain_state}{/if}\n \n
{$supplemental_address_2} {$stateProvinceAbbreviation}{$invoice_id}\n \n {if $domain_city}{$domain_city}{/if}\n {if $domain_postal_code }{$domain_postal_code}{/if}\n \n
{$city} {$postal_code}{ts}Reference:{/ts} {if $domain_country}{$domain_country}{/if}
{$source} {if $domain_phone}{$domain_phone}{/if}
{if $domain_email}{$domain_email}{/if}
\n \n \n \n \n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n \n {foreach from=$lineItem item=value key=priceset name=taxpricevalue}\n {if $smarty.foreach.taxpricevalue.index eq 0}\n \n \n \n {else}\n \n \n \n {/if}\n \n \n \n \n {if $value.tax_amount != \'\'}\n \n {else}\n \n {/if}\n \n \n {/foreach}\n \n \n \n \n \n \n {foreach from = $dataArray item = value key = priceset}\n \n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n \n {/if}\n {/foreach}\n \n \n \n \n \n \n \n \n \n {if $is_pay_later == 0}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n


\n \n \n \n {if $contribution_status_id == $pendingStatusId && $is_pay_later == 1}\n \n \n \n \n {/if}\n
{ts}Description{/ts}{ts}Quantity{/ts}{ts}Unit Price{/ts}{$taxTerm} {ts 1=$defaultCurrency}Amount %1{/ts}


\n {if $value.html_type eq \'Text\'}\n {$value.label}\n {else}\n {$value.field_title} - {$value.label}\n {/if} \n {if $value.description}\n
{$value.description|truncate:30:\"...\"}
\n {/if}\n
\n
{$value.qty} {$value.unit_price|crmMoney:$currency} {$value.tax_rate}%{ts 1=$taxTerm}No %1{/ts}{$value.subTotal|crmMoney:$currency}

{ts}Sub Total{/ts} {$subTotal|crmMoney:$currency}
{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts}{$value|crmMoney:$currency} {ts 1=$taxTerm}TOTAL NO %1{/ts}{$value|crmMoney:$currency}

{ts 1=$defaultCurrency}TOTAL %1{/ts}{$amount|crmMoney:$currency}
\n {if $contribution_status_id == $refundedStatusId}\n {ts}LESS Amount Credited{/ts}\n {else}\n {ts}LESS Amount Paid{/ts}\n {/if}\n \n {$amount|crmMoney:$currency}

{ts}AMOUNT DUE:{/ts} {$amountDue|crmMoney:$currency}
{ts 1=$dueDate}DUE DATE: %1{/ts}
\n
\n {if $contribution_status_id == $pendingStatusId && $is_pay_later == 1}\n \n \n \n \n
\n \n \n \n \n \n
{ts}PAYMENT ADVICE{/ts}

{ts}To: {/ts}
\n {$domain_organization}
\n {$domain_street_address} {$domain_supplemental_address_1}
\n {$domain_supplemental_address_2} {$domain_state}
\n {$domain_city} {$domain_postal_code}
\n {$domain_country}
\n {$domain_phone}
\n {$domain_email}
\n


{$notes}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {if $is_pay_later == 1}\n \n \n \n \n \n {else}\n \n \n \n \n \n {/if}\n \n \n \n \n \n \n \n \n
{ts}Customer: {/ts}{$display_name}
{ts}Invoice Number: {/ts}{$invoice_id}

{ts}Amount Due:{/ts}{$amount|crmMoney:$currency}
{ts}Amount Due: {/ts}{$amountDue|crmMoney:$currency}
{ts}Due Date: {/ts}{$dueDate}

\n
\n {/if}\n\n {if $contribution_status_id == $refundedStatusId || $contribution_status_id == $cancelledStatusId}\n \n \n \n \n
\n
\n\n \n \n \n \n \n \n \n \n {if $organization_name}\n \n {else}\n \n {/if}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{ts}CREDIT NOTE{/ts}{ts}Date:{/ts}{$domain_organization}
{$display_name} ({$organization_name}){$display_name}{$invoice_date}\n \n {if $domain_street_address }{$domain_street_address}{/if}\n {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}\n \n
{$street_address} {$supplemental_address_1}{ts}Credit Note Number:{/ts}\n \n {if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n {if $domain_state }{$domain_state}{/if}\n \n
{$supplemental_address_2} {$stateProvinceAbbreviation}{$creditnote_id}\n \n {if $domain_city}{$domain_city}{/if}\n {if $domain_postal_code }{$domain_postal_code}{/if}\n \n
{$city} {$postal_code}{ts}Reference:{/ts}\n \n {if $domain_country}{$domain_country}{/if}\n \n
{$source}\n \n {if $domain_phone}{$domain_phone}{/if}\n \n
\n \n {if $domain_email}{$domain_email}{/if}\n \n
\n\n \n \n \n \n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n \n {foreach from=$lineItem item=value key=priceset name=pricevalue}\n {if $smarty.foreach.pricevalue.index eq 0}\n \n {else}\n \n {/if}\n \n \n \n \n {if $value.tax_amount != \'\'}\n \n {else}\n \n {/if}\n \n \n {/foreach}\n \n \n \n \n \n \n {foreach from = $dataArray item = value key = priceset}\n \n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n \n {/if}\n {/foreach}\n \n \n \n \n \n \n \n \n \n {if $is_pay_later == 0}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n


\n \n \n \n \n \n \n \n
{ts}Description{/ts}{ts}Quantity{/ts}{ts}Unit Price{/ts}{$taxTerm} {ts 1=$defaultCurrency}Amount %1{/ts}


\n \n {if $value.html_type eq \'Text\'}\n {$value.label}\n {else}\n {$value.field_title} - {$value.label}\n {/if} \n {if $value.description}\n
{$value.description|truncate:30:\"...\"}
\n {/if}\n
\n
{$value.qty} {$value.unit_price|crmMoney:$currency} {$value.tax_rate}%{ts 1=$taxTerm}No %1{/ts}{$value.subTotal|crmMoney:$currency}

{ts}Sub Total{/ts} {$subTotal|crmMoney:$currency}
{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts}{$value|crmMoney:$currency} {ts 1=$taxTerm}TOTAL NO %1{/ts}{$value|crmMoney:$currency}

{ts 1=$defaultCurrency}TOTAL %1{/ts}{$amount|crmMoney:$currency}
{ts}LESS Credit to invoice(s){/ts}{$amount|crmMoney:$currency}

{ts}REMAINING CREDIT{/ts}{$amountDue|crmMoney:$currency}
\n
\n \n \n \n \n
\n\n \n \n \n \n \n
{ts}CREDIT ADVICE{/ts}

{ts}Please do not pay on this advice. Deduct the amount of this Credit Note from your next payment to us{/ts}

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{ts}Customer:{/ts} {$display_name}
{ts}Credit Note#:{/ts} {$creditnote_id}

{ts}Credit Amount:{/ts}{$amount|crmMoney:$currency}
\n
\n {/if}\n
\n \n\n',1,802,0,1,0,NULL),(11,'Contributions - Recurring Start and End Notification','{ts}Recurring Contribution Notification{/ts}\n','{ts 1=$displayName}Dear %1{/ts},\n\n{if $recur_txnType eq \'START\'}\n{if $auto_renew_membership}\n{ts}Thanks for your auto renew membership sign-up.{/ts}\n\n\n{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s).{/ts}\n\n{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n\n{if $updateSubscriptionBillingUrl}\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n\n{/if}\n{else}\n{ts}Thanks for your recurring contribution sign-up.{/ts}\n\n\n{ts 1=$recur_frequency_interval 2=$recur_frequency_unit 3=$recur_installments}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments } {ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.\n\n{ts}Start Date{/ts}: {$recur_start_date|crmDate}\n\n{ts 1=$cancelSubscriptionUrl}You can cancel the recurring contribution option by visiting this web page.{/ts}\n\n{if $updateSubscriptionBillingUrl}\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n\n{/if}\n{ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by visiting this web page.{/ts}\n{/if}\n\n{elseif $recur_txnType eq \'END\'}\n{if $auto_renew_membership}\n{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}\n\n\n{else}\n{ts}Your recurring contribution term has ended.{/ts}\n\n\n{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you for your support.{/ts}\n\n\n==================================================\n{ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n\n==================================================\n{ts}Start Date{/ts}: {$recur_start_date|crmDate}\n\n{ts}End Date{/ts}: {$recur_end_date|crmDate}\n\n{/if}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n {if $recur_txnType eq \'START\'}\n {if $auto_renew_membership}\n \n \n \n \n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n {else}\n \n \n \n \n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n \n \n \n {/if}\n\n {elseif $recur_txnType eq \'END\'}\n\n {if $auto_renew_membership}\n \n \n \n {else}\n \n \n \n \n \n \n\n {/if}\n {/if}\n\n
\n

{ts 1=$displayName}Dear %1{/ts},

\n
 
\n

{ts}Thanks for your auto renew membership sign-up.{/ts}

\n

{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s). {/ts}

\n
\n {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n
\n

{ts}Thanks for your recurring contribution sign-up.{/ts}

\n

{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments }{ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.

\n

{ts}Start Date{/ts}: {$recur_start_date|crmDate}

\n
\n {ts 1=$cancelSubscriptionUrl} You can cancel the recurring contribution option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments details for this recurring contribution by visiting this web page.{/ts}\n
\n

{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}

\n
\n

{ts}Your recurring contribution term has ended.{/ts}

\n

{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you for your support.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n
\n {ts}Start Date{/ts}\n \n {$recur_start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$recur_end_date|crmDate}\n
\n
\n
\n\n\n\n',1,803,1,0,0,NULL),(12,'Contributions - Recurring Start and End Notification','{ts}Recurring Contribution Notification{/ts}\n','{ts 1=$displayName}Dear %1{/ts},\n\n{if $recur_txnType eq \'START\'}\n{if $auto_renew_membership}\n{ts}Thanks for your auto renew membership sign-up.{/ts}\n\n\n{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s).{/ts}\n\n{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n\n{if $updateSubscriptionBillingUrl}\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n\n{/if}\n{else}\n{ts}Thanks for your recurring contribution sign-up.{/ts}\n\n\n{ts 1=$recur_frequency_interval 2=$recur_frequency_unit 3=$recur_installments}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments } {ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.\n\n{ts}Start Date{/ts}: {$recur_start_date|crmDate}\n\n{ts 1=$cancelSubscriptionUrl}You can cancel the recurring contribution option by visiting this web page.{/ts}\n\n{if $updateSubscriptionBillingUrl}\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n\n{/if}\n{ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by visiting this web page.{/ts}\n{/if}\n\n{elseif $recur_txnType eq \'END\'}\n{if $auto_renew_membership}\n{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}\n\n\n{else}\n{ts}Your recurring contribution term has ended.{/ts}\n\n\n{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you for your support.{/ts}\n\n\n==================================================\n{ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n\n==================================================\n{ts}Start Date{/ts}: {$recur_start_date|crmDate}\n\n{ts}End Date{/ts}: {$recur_end_date|crmDate}\n\n{/if}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n {if $recur_txnType eq \'START\'}\n {if $auto_renew_membership}\n \n \n \n \n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n {else}\n \n \n \n \n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n \n \n \n {/if}\n\n {elseif $recur_txnType eq \'END\'}\n\n {if $auto_renew_membership}\n \n \n \n {else}\n \n \n \n \n \n \n\n {/if}\n {/if}\n\n
\n

{ts 1=$displayName}Dear %1{/ts},

\n
 
\n

{ts}Thanks for your auto renew membership sign-up.{/ts}

\n

{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s). {/ts}

\n
\n {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n
\n

{ts}Thanks for your recurring contribution sign-up.{/ts}

\n

{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments }{ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.

\n

{ts}Start Date{/ts}: {$recur_start_date|crmDate}

\n
\n {ts 1=$cancelSubscriptionUrl} You can cancel the recurring contribution option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments details for this recurring contribution by visiting this web page.{/ts}\n
\n

{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}

\n
\n

{ts}Your recurring contribution term has ended.{/ts}

\n

{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you for your support.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n
\n {ts}Start Date{/ts}\n \n {$recur_start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$recur_end_date|crmDate}\n
\n
\n
\n\n\n\n',1,803,0,1,0,NULL),(13,'Contributions - Recurring Cancellation Notification','{ts}Recurring Contribution Cancellation Notification{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Your recurring contribution of %1, every %2 %3 has been cancelled as requested.{/ts}\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

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Your recurring contribution of %1, every %2 %3 has been cancelled as requested.{/ts}

\n
\n
\n\n\n\n',1,804,1,0,0,NULL),(14,'Contributions - Recurring Cancellation Notification','{ts}Recurring Contribution Cancellation Notification{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Your recurring contribution of %1, every %2 %3 has been cancelled as requested.{/ts}\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

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Your recurring contribution of %1, every %2 %3 has been cancelled as requested.{/ts}

\n
\n
\n\n\n\n',1,804,0,1,0,NULL),(15,'Contributions - Recurring Billing Updates','{ts}Recurring Contribution Billing Updates{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}','\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

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts}

\n
\n\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\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
\n {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n
\n
\n\n\n',1,805,1,0,0,NULL),(16,'Contributions - Recurring Billing Updates','{ts}Recurring Contribution Billing Updates{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}','\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

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts}

\n
\n\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\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
\n {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n
\n
\n\n\n',1,805,0,1,0,NULL),(17,'Contributions - Recurring Updates','{ts}Recurring Contribution Update Notification{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts}Your recurring contribution has been updated as requested:{/ts}\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring contribution is for %1, every %2 %3(s){/ts}\n{if $installments}{ts 1=$installments} for %1 installments.{/ts}{/if}\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}','\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

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts}Your recurring contribution has been updated as requested:{/ts}\n

{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring contribution is for %1, every %2 %3(s){/ts}{if $installments}{ts 1=$installments} for %1 installments{/ts}{/if}.

\n\n

{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}

\n
\n
\n\n\n\n',1,806,1,0,0,NULL),(18,'Contributions - Recurring Updates','{ts}Recurring Contribution Update Notification{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts}Your recurring contribution has been updated as requested:{/ts}\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring contribution is for %1, every %2 %3(s){/ts}\n{if $installments}{ts 1=$installments} for %1 installments.{/ts}{/if}\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}','\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

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts}Your recurring contribution has been updated as requested:{/ts}\n

{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring contribution is for %1, every %2 %3(s){/ts}{if $installments}{ts 1=$installments} for %1 installments{/ts}{/if}.

\n\n

{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}

\n
\n
\n\n\n\n',1,806,0,1,0,NULL),(19,'Personal Campaign Pages - Admin Notification','{ts}Personal Campaign Page Notification{/ts}\n','===========================================================\n{ts}Personal Campaign Page Notification{/ts}\n\n===========================================================\n{ts}Action{/ts}: {if $mode EQ \'Update\'}{ts}Updated personal campaign page{/ts}{else}{ts}New personal campaign page{/ts}{/if}\n{ts}Personal Campaign Page Title{/ts}: {$pcpTitle}\n{ts}Current Status{/ts}: {$pcpStatus}\n{capture assign=pcpURL}{crmURL p=\"civicrm/pcp/info\" q=\"reset=1&id=`$pcpId`\" h=0 a=1}{/capture}\n{ts}View Page{/ts}:\n>> {$pcpURL}\n\n{ts}Supporter{/ts}: {$supporterName}\n>> {$supporterUrl}\n\n{ts}Linked to Contribution Page{/ts}: {$contribPageTitle}\n>> {$contribPageUrl}\n\n{ts}Manage Personal Campaign Pages{/ts}:\n>> {$managePCPUrl}\n\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=pcpURL }{crmURL p=\"civicrm/pcp/info\" q=\"reset=1&id=`$pcpId`\" h=0 a=1}{/capture}\n\n
\n \n\n \n \n \n\n \n\n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n
\n {ts}Personal Campaign Page Notification{/ts}\n
\n {ts}Action{/ts}:\n \n {if $mode EQ \'Update\'}\n {ts}Updated personal campaign page{/ts}\n {else}\n {ts}New personal campaign page{/ts}\n {/if}\n
\n {ts}Personal Campaign Page Title{/ts}\n \n {$pcpTitle}\n
\n {ts}Current Status{/ts}\n \n {$pcpStatus}\n
\n {ts}View Page{/ts}\n
\n {ts}Supporter{/ts}\n \n {$supporterName}\n
\n {ts}Linked to Contribution Page{/ts}\n \n {$contribPageTitle}\n
\n {ts}Manage Personal Campaign Pages{/ts}\n
\n
\n
\n\n\n\n',1,807,1,0,0,NULL),(20,'Personal Campaign Pages - Admin Notification','{ts}Personal Campaign Page Notification{/ts}\n','===========================================================\n{ts}Personal Campaign Page Notification{/ts}\n\n===========================================================\n{ts}Action{/ts}: {if $mode EQ \'Update\'}{ts}Updated personal campaign page{/ts}{else}{ts}New personal campaign page{/ts}{/if}\n{ts}Personal Campaign Page Title{/ts}: {$pcpTitle}\n{ts}Current Status{/ts}: {$pcpStatus}\n{capture assign=pcpURL}{crmURL p=\"civicrm/pcp/info\" q=\"reset=1&id=`$pcpId`\" h=0 a=1}{/capture}\n{ts}View Page{/ts}:\n>> {$pcpURL}\n\n{ts}Supporter{/ts}: {$supporterName}\n>> {$supporterUrl}\n\n{ts}Linked to Contribution Page{/ts}: {$contribPageTitle}\n>> {$contribPageUrl}\n\n{ts}Manage Personal Campaign Pages{/ts}:\n>> {$managePCPUrl}\n\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=pcpURL }{crmURL p=\"civicrm/pcp/info\" q=\"reset=1&id=`$pcpId`\" h=0 a=1}{/capture}\n\n
\n \n\n \n \n \n\n \n\n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n
\n {ts}Personal Campaign Page Notification{/ts}\n
\n {ts}Action{/ts}:\n \n {if $mode EQ \'Update\'}\n {ts}Updated personal campaign page{/ts}\n {else}\n {ts}New personal campaign page{/ts}\n {/if}\n
\n {ts}Personal Campaign Page Title{/ts}\n \n {$pcpTitle}\n
\n {ts}Current Status{/ts}\n \n {$pcpStatus}\n
\n {ts}View Page{/ts}\n
\n {ts}Supporter{/ts}\n \n {$supporterName}\n
\n {ts}Linked to Contribution Page{/ts}\n \n {$contribPageTitle}\n
\n {ts}Manage Personal Campaign Pages{/ts}\n
\n
\n
\n\n\n\n',1,807,0,1,0,NULL),(21,'Personal Campaign Pages - Supporter Status Change Notification','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts}\n','{if $pcpStatus eq \'Approved\'}\n============================\n{ts}Your Personal Campaign Page{/ts}\n\n============================\n\n{ts}Your personal campaign page has been approved and is now live.{/ts}\n\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n{if $isTellFriendEnabled}\n\n{ts}After logging in, you can use this form to promote your fundraising page{/ts}:\n{$pcpTellFriendURL}\n\n{/if}\n\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n\n{* Rejected message *}\n{elseif $pcpStatus eq \'Not Approved\'}\n============================\n{ts}Your Personal Campaign Page{/ts}\n\n============================\n\n{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts}\n\n{if $pcpNotifyEmailAddress}\n\n{ts}Please contact our site administrator for more information{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n\n{/if}\n','\n\n\n \n \n\n\n\n
\n \n\n \n \n \n\n \n\n \n \n \n\n
\n\n

{ts}Your Personal Campaign Page{/ts}

\n\n {if $pcpStatus eq \'Approved\'}\n\n

{ts}Your personal campaign page has been approved and is now live.{/ts}

\n

{ts}Whenever you want to preview, update or promote your page{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Go to your page{/ts}
  4. \n
\n

{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}

\n\n {if $isTellFriendEnabled}\n

{ts}After logging in, you can use this form to promote your fundraising page{/ts}

\n {/if}\n\n {if $pcpNotifyEmailAddress}\n

{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}

\n {/if}\n\n {elseif $pcpStatus eq \'Not Approved\'}\n\n

{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts}

\n {if $pcpNotifyEmailAddress}\n

{ts}Please contact our site administrator for more information{/ts}: {$pcpNotifyEmailAddress}

\n {/if}\n\n {/if}\n\n
\n
\n\n\n\n',1,808,1,0,0,NULL),(22,'Personal Campaign Pages - Supporter Status Change Notification','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts}\n','{if $pcpStatus eq \'Approved\'}\n============================\n{ts}Your Personal Campaign Page{/ts}\n\n============================\n\n{ts}Your personal campaign page has been approved and is now live.{/ts}\n\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n{if $isTellFriendEnabled}\n\n{ts}After logging in, you can use this form to promote your fundraising page{/ts}:\n{$pcpTellFriendURL}\n\n{/if}\n\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n\n{* Rejected message *}\n{elseif $pcpStatus eq \'Not Approved\'}\n============================\n{ts}Your Personal Campaign Page{/ts}\n\n============================\n\n{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts}\n\n{if $pcpNotifyEmailAddress}\n\n{ts}Please contact our site administrator for more information{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n\n{/if}\n','\n\n\n \n \n\n\n\n
\n \n\n \n \n \n\n \n\n \n \n \n\n
\n\n

{ts}Your Personal Campaign Page{/ts}

\n\n {if $pcpStatus eq \'Approved\'}\n\n

{ts}Your personal campaign page has been approved and is now live.{/ts}

\n

{ts}Whenever you want to preview, update or promote your page{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Go to your page{/ts}
  4. \n
\n

{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}

\n\n {if $isTellFriendEnabled}\n

{ts}After logging in, you can use this form to promote your fundraising page{/ts}

\n {/if}\n\n {if $pcpNotifyEmailAddress}\n

{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}

\n {/if}\n\n {elseif $pcpStatus eq \'Not Approved\'}\n\n

{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts}

\n {if $pcpNotifyEmailAddress}\n

{ts}Please contact our site administrator for more information{/ts}: {$pcpNotifyEmailAddress}

\n {/if}\n\n {/if}\n\n
\n
\n\n\n\n',1,808,0,1,0,NULL),(23,'Personal Campaign Pages - Supporter Welcome','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts}\n','{ts}Dear supporter{/ts},\n{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}\n\n{if $pcpStatus eq \'Approved\'}\n====================\n{ts}Promoting Your Page{/ts}\n\n====================\n{if $isTellFriendEnabled}\n\n{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:\n\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser and follow the prompts{/ts}:\n{$pcpTellFriendURL}\n{else}\n\n{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts}\n{ts}Include this link to your fundraising page in your emails{/ts}:\n{$pcpInfoURL}\n{/if}\n\n===================\n{ts}Managing Your Page{/ts}\n\n===================\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n\n{elseif $pcpStatus EQ \'Waiting Review\'}\n{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}\n\n\n{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}\n\n\n{ts}You can still preview your page prior to approval{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser{/ts}:\n{$pcpInfoURL}\n\n{/if}\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n\n {if $pcpStatus eq \'Approved\'}\n\n \n \n \n\n {elseif $pcpStatus EQ \'Waiting Review\'}\n\n \n \n \n\n {/if}\n\n {if $pcpNotifyEmailAddress}\n \n \n \n {/if}\n\n
\n

{ts}Dear supporter{/ts},

\n

{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Promoting Your Page{/ts}\n
\n {if $isTellFriendEnabled}\n

{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Click this link and follow the prompts{/ts}
  4. \n
\n {else}\n

{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts} {ts}Include this link to your fundraising page in your emails{/ts}: {$pcpInfoURL}

\n {/if}\n
\n {ts}Managing Your Page{/ts}\n
\n

{ts}Whenever you want to preview, update or promote your page{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Go to your page{/ts}
  4. \n
\n

{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}

\n
\n
\n

{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}

\n

{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}

\n

{ts}You can still preview your page prior to approval{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Click this link{/ts}
  4. \n
\n
\n

{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}

\n
\n
\n\n\n\n',1,809,1,0,0,NULL),(24,'Personal Campaign Pages - Supporter Welcome','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts}\n','{ts}Dear supporter{/ts},\n{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}\n\n{if $pcpStatus eq \'Approved\'}\n====================\n{ts}Promoting Your Page{/ts}\n\n====================\n{if $isTellFriendEnabled}\n\n{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:\n\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser and follow the prompts{/ts}:\n{$pcpTellFriendURL}\n{else}\n\n{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts}\n{ts}Include this link to your fundraising page in your emails{/ts}:\n{$pcpInfoURL}\n{/if}\n\n===================\n{ts}Managing Your Page{/ts}\n\n===================\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n\n{elseif $pcpStatus EQ \'Waiting Review\'}\n{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}\n\n\n{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}\n\n\n{ts}You can still preview your page prior to approval{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser{/ts}:\n{$pcpInfoURL}\n\n{/if}\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n\n {if $pcpStatus eq \'Approved\'}\n\n \n \n \n\n {elseif $pcpStatus EQ \'Waiting Review\'}\n\n \n \n \n\n {/if}\n\n {if $pcpNotifyEmailAddress}\n \n \n \n {/if}\n\n
\n

{ts}Dear supporter{/ts},

\n

{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Promoting Your Page{/ts}\n
\n {if $isTellFriendEnabled}\n

{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Click this link and follow the prompts{/ts}
  4. \n
\n {else}\n

{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts} {ts}Include this link to your fundraising page in your emails{/ts}: {$pcpInfoURL}

\n {/if}\n
\n {ts}Managing Your Page{/ts}\n
\n

{ts}Whenever you want to preview, update or promote your page{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Go to your page{/ts}
  4. \n
\n

{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}

\n
\n
\n

{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}

\n

{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}

\n

{ts}You can still preview your page prior to approval{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Click this link{/ts}
  4. \n
\n
\n

{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}

\n
\n
\n\n\n\n',1,809,0,1,0,NULL),(25,'Personal Campaign Pages - Owner Notification','{ts}Someone has just donated to your personal campaign page{/ts}\n','===========================================================\n{ts}Personal Campaign Page Owner Notification{/ts}\n\n===========================================================\n{ts}You have received a donation at your personal page{/ts}: {$page_title}\n>> {$pcpInfoURL}\n\n{ts}Your fundraising total has been updated.{/ts}\n{ts}The donor\'s information is listed below. You can choose to contact them and convey your thanks if you wish.{/ts}\n{if $is_honor_roll_enabled}\n {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}\n{/if}\n\n{ts}Received{/ts}: {$receive_date|crmDate}\n\n{ts}Amount{/ts}: {$total_amount|crmMoney:$currency}\n\n{ts}Name{/ts}: {$donors_display_name}\n\n{ts}Email{/ts}: {$donors_email}\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

{ts}You have received a donation at your personal page{/ts}: {$page_title}

\n

{ts}Your fundraising total has been updated.{/ts}
\n {ts}The donor\'s information is listed below. You can choose to contact them and convey your thanks if you wish.{/ts}
\n {if $is_honor_roll_enabled}\n {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}
\n {/if}\n

\n \n \n \n \n \n
{ts}Received{/ts}: {$receive_date|crmDate}
{ts}Amount{/ts}: {$total_amount|crmMoney:$currency}
{ts}Name{/ts}: {$donors_display_name}
{ts}Email{/ts}: {$donors_email}
\n\n\n',1,810,1,0,0,NULL),(26,'Personal Campaign Pages - Owner Notification','{ts}Someone has just donated to your personal campaign page{/ts}\n','===========================================================\n{ts}Personal Campaign Page Owner Notification{/ts}\n\n===========================================================\n{ts}You have received a donation at your personal page{/ts}: {$page_title}\n>> {$pcpInfoURL}\n\n{ts}Your fundraising total has been updated.{/ts}\n{ts}The donor\'s information is listed below. You can choose to contact them and convey your thanks if you wish.{/ts}\n{if $is_honor_roll_enabled}\n {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}\n{/if}\n\n{ts}Received{/ts}: {$receive_date|crmDate}\n\n{ts}Amount{/ts}: {$total_amount|crmMoney:$currency}\n\n{ts}Name{/ts}: {$donors_display_name}\n\n{ts}Email{/ts}: {$donors_email}\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

{ts}You have received a donation at your personal page{/ts}: {$page_title}

\n

{ts}Your fundraising total has been updated.{/ts}
\n {ts}The donor\'s information is listed below. You can choose to contact them and convey your thanks if you wish.{/ts}
\n {if $is_honor_roll_enabled}\n {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}
\n {/if}\n

\n \n \n \n \n \n
{ts}Received{/ts}: {$receive_date|crmDate}
{ts}Amount{/ts}: {$total_amount|crmMoney:$currency}
{ts}Name{/ts}: {$donors_display_name}
{ts}Email{/ts}: {$donors_email}
\n\n\n',1,810,0,1,0,NULL),(27,'Additional Payment Receipt or Refund Notification','{if $isRefund}{ts}Refund Notification{/ts}{else}{ts}Payment Receipt{/ts}{/if} - {if $component eq \'event\'}{$event.title}{/if}','Dear {$contactDisplayName}\n{if $paymentConfig.confirm_email_text}\n{$paymentConfig.confirm_email_text}\n{elseif $isRefund}\n{ts}A refund has been issued based on changes in your registration selections.{/ts}\n{else}\n{ts}A payment has been received.{/ts}\n{/if}\n\n{ts}Please print this confirmation for your records.{/ts}\n\n{if $isRefund}\n===============================================================================\n\n{ts}Refund Details{/ts}\n\n===============================================================================\n{ts}Total Fees{/ts}: {$totalAmount|crmMoney}\n{ts}You Paid{/ts}: {$totalPaid|crmMoney}\n------------------------------------------------------------------------------------\n{ts}Refund Amount{/ts}: {$refundAmount|crmMoney}\n\n{else}\n===============================================================================\n\n{ts}Payment Details{/ts}\n\n===============================================================================\n{ts}Total Fees{/ts}: {$totalAmount|crmMoney}\n{ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney}\n------------------------------------------------------------------------------------\n{ts}Balance Owed{/ts}: {$amountOwed|crmMoney} {* This will be zero after final payment. *}\n\n{if $paymentsComplete}\n\n{ts}Thank-you. This completes your payment for {/ts}{if $component eq \'event\'}{$event.event_title}{/if}.\n{/if}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode eq \'direct\' and !$isAmountzero}\n\n===============================================================================\n\n{ts}Billing Name and Address{/ts}\n\n===============================================================================\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero}\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 $component eq \'event\'}\n===============================================================================\n\n{ts}Event Information and Location{/ts}\n\n===============================================================================\n\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\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=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

Dear {$contactDisplayName}

\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n\n
\n {if $paymentConfig.confirm_email_text}\n

{$paymentConfig.confirm_email_text|htmlize}

\n {elseif $isRefund}\n

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

\n {else}\n

{ts}A payment has been received.{/ts}

\n {/if}\n

{ts}Please print this confirmation for your records.{/ts}

\n
\n \n {if $isRefund}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {else}\n \n \n \n \n \n \n \n \n \n \n \n \n \n {* This will be zero after final payment. *}\n \n \n \n {if $paymentsComplete}\n \n \n \n {/if}\n {/if}\n {if $receive_date}\n \n \n \n \n {/if}\n {if $trxn_id}\n \n \n \n \n {/if}\n {if $paidBy}\n \n \n \n \n {/if}\n {if $checkNumber}\n \n \n \n \n {/if}\n
{ts}Refund Details{/ts}
\n {ts}Total Fees{/ts}\n \n {$totalAmount|crmMoney}\n
\n {ts}You Paid{/ts}\n \n {$totalPaid|crmMoney}\n
\n {ts}Refund Amount{/ts}\n \n {$refundAmount|crmMoney}\n \n
{ts}Payment Details{/ts}
\n {ts}{if $component eq \'event\'}Total Fees{/if}{/ts}\n \n {$totalAmount|crmMoney}\n
\n {ts}This Payment Amount{/ts}\n \n {$paymentAmount|crmMoney}\n
\n {ts}Balance Owed{/ts}\n \n {$amountOwed|crmMoney}\n
\n {ts}Thank-you. This completes your payment for {if $component eq \'event\'}{$event.event_title}{/if}.{/ts}\n
\n {ts}Transaction Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Paid By{/ts}\n \n {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n
\n \n {if $contributeMode eq \'direct\' and !$isAmountzero}\n \n \n \n \n \n \n {/if}\n {if $contributeMode eq\'direct\' and !$isAmountzero}\n \n \n \n \n \n \n {/if}\n {if $component eq \'event\'}\n \n \n \n \n \n \n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if} {*phone block close*}\n {/if}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\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
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}\n \n {$event.participant_role}\n
\n {$location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n
\n
\n\n \n\n',1,811,1,0,0,NULL),(28,'Additional Payment Receipt or Refund Notification','{if $isRefund}{ts}Refund Notification{/ts}{else}{ts}Payment Receipt{/ts}{/if} - {if $component eq \'event\'}{$event.title}{/if}','Dear {$contactDisplayName}\n{if $paymentConfig.confirm_email_text}\n{$paymentConfig.confirm_email_text}\n{elseif $isRefund}\n{ts}A refund has been issued based on changes in your registration selections.{/ts}\n{else}\n{ts}A payment has been received.{/ts}\n{/if}\n\n{ts}Please print this confirmation for your records.{/ts}\n\n{if $isRefund}\n===============================================================================\n\n{ts}Refund Details{/ts}\n\n===============================================================================\n{ts}Total Fees{/ts}: {$totalAmount|crmMoney}\n{ts}You Paid{/ts}: {$totalPaid|crmMoney}\n------------------------------------------------------------------------------------\n{ts}Refund Amount{/ts}: {$refundAmount|crmMoney}\n\n{else}\n===============================================================================\n\n{ts}Payment Details{/ts}\n\n===============================================================================\n{ts}Total Fees{/ts}: {$totalAmount|crmMoney}\n{ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney}\n------------------------------------------------------------------------------------\n{ts}Balance Owed{/ts}: {$amountOwed|crmMoney} {* This will be zero after final payment. *}\n\n{if $paymentsComplete}\n\n{ts}Thank-you. This completes your payment for {/ts}{if $component eq \'event\'}{$event.event_title}{/if}.\n{/if}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode eq \'direct\' and !$isAmountzero}\n\n===============================================================================\n\n{ts}Billing Name and Address{/ts}\n\n===============================================================================\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero}\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 $component eq \'event\'}\n===============================================================================\n\n{ts}Event Information and Location{/ts}\n\n===============================================================================\n\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\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=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

Dear {$contactDisplayName}

\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n\n
\n {if $paymentConfig.confirm_email_text}\n

{$paymentConfig.confirm_email_text|htmlize}

\n {elseif $isRefund}\n

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

\n {else}\n

{ts}A payment has been received.{/ts}

\n {/if}\n

{ts}Please print this confirmation for your records.{/ts}

\n
\n \n {if $isRefund}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {else}\n \n \n \n \n \n \n \n \n \n \n \n \n \n {* This will be zero after final payment. *}\n \n \n \n {if $paymentsComplete}\n \n \n \n {/if}\n {/if}\n {if $receive_date}\n \n \n \n \n {/if}\n {if $trxn_id}\n \n \n \n \n {/if}\n {if $paidBy}\n \n \n \n \n {/if}\n {if $checkNumber}\n \n \n \n \n {/if}\n
{ts}Refund Details{/ts}
\n {ts}Total Fees{/ts}\n \n {$totalAmount|crmMoney}\n
\n {ts}You Paid{/ts}\n \n {$totalPaid|crmMoney}\n
\n {ts}Refund Amount{/ts}\n \n {$refundAmount|crmMoney}\n \n
{ts}Payment Details{/ts}
\n {ts}{if $component eq \'event\'}Total Fees{/if}{/ts}\n \n {$totalAmount|crmMoney}\n
\n {ts}This Payment Amount{/ts}\n \n {$paymentAmount|crmMoney}\n
\n {ts}Balance Owed{/ts}\n \n {$amountOwed|crmMoney}\n
\n {ts}Thank-you. This completes your payment for {if $component eq \'event\'}{$event.event_title}{/if}.{/ts}\n
\n {ts}Transaction Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Paid By{/ts}\n \n {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n
\n \n {if $contributeMode eq \'direct\' and !$isAmountzero}\n \n \n \n \n \n \n {/if}\n {if $contributeMode eq\'direct\' and !$isAmountzero}\n \n \n \n \n \n \n {/if}\n {if $component eq \'event\'}\n \n \n \n \n \n \n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if} {*phone block close*}\n {/if}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\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
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}\n \n {$event.participant_role}\n
\n {$location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n
\n
\n\n \n\n',1,811,0,1,0,NULL),(29,'Events - Registration Confirmation and Receipt (off-line)','{ts}Event Confirmation{/ts} - {$event.title}\n','{contact.email_greeting}\n{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n{$event.confirm_email_text}\n{/if}\n\n{if $isOnWaitlist}\n==========================================================={if $pricesetFieldsCount }===================={/if}\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\n{/if}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{elseif $isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\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==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{elseif $is_pay_later}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{else}\n\n{ts}Please print this confirmation for your records.{/ts}\n{/if}\n\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $event.is_public}\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 File:{/ts} {$icalFeed}\n{/if}\n\n{if $email}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Registered Email{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$email}\n{/if}\n{if $event.is_monetary} {* This section for Paid events only.*}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.fee_label}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{if $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}\n{/if}\n{/if}\n---------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\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 $dataArray}\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{capture assign=ts_participant_total}{if $pricesetFieldsCount }{ts}Total Participants{/ts}{/if}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {$ts_participant_total|string_format:\"%10s\"}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{foreach from=$value item=line}\n{if $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|string_format:\"%10s\"} {if $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {$ts_participant_count|string_format:\"%10s\"}\n{/foreach}\n{/if}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if $amount && !$lineItem}\n{foreach from=$amount item=amnt key=level}{$amnt.amount|crmMoney} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if $isPrimary}\n\n{if $balanceAmount}{ts}Total Paid{/ts}{else}{ts}Total Amount{/ts}{/if}: {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n\n{if $balanceAmount}\n{ts}Balance{/ts}: {$balanceAmount|crmMoney}\n{/if}\n\n{if $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 $is_pay_later }\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $financialTypeName}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\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 $customPre}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPre_grouptitle}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPre item=value key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n\n{if $customPost}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPost_grouptitle}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPost item=value key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n{if $customProfile}\n\n{foreach from=$customProfile item=value key=customName}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts 1=$customName+1}Participant Information - Participant %1{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=val key=field}\n{if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\' }\n{if $field eq \'additionalCustomPre\' }\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$additionalCustomPre_grouptitle}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{else}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$additionalCustomPost_grouptitle}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{/if}\n{foreach from=$val item=v key=f}\n{$f}: {$v}\n{/foreach}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n\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

{contact.email_greeting}

\n\n {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n

{$event.confirm_email_text|htmlize}

\n {/if}\n\n {if $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 $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 $is_pay_later}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n \n \n \n \n \n \n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $email}\n \n \n \n \n \n \n {/if}\n\n\n {if $event.is_monetary}\n\n \n \n \n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if $isPrimary}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n {/if}\n \n \n \n {/if}\n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n\n {if $amount && !$lineItem}\n {foreach from=$amount item=amnt key=level}\n \n \n \n {/foreach}\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if $balanceAmount}\n \n \n \n \n {/if}\n {if $pricesetFieldsCount }\n \n \n \n \n {/if}\n {if $is_pay_later}\n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $financialTypeName}\n \n \n \n \n {/if}\n\n {if $trxn_id}\n \n \n \n \n {/if}\n\n {if $paidBy}\n \n \n \n \n {/if}\n\n {if $checkNumber}\n \n \n \n \n {/if}\n\n {if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=value key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=value key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customProfile}\n {foreach from=$customProfile item=value key=customName}\n \n \n \n {foreach from=$value item=val key=field}\n {if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\'}\n \n \n \n {foreach from=$val item=v key=f}\n \n \n \n \n {/foreach}\n {/if}\n {/foreach}\n {/foreach}\n {/if}\n\n {if $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.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}\n \n {$event.participant_role}\n
\n {$location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.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 File{/ts}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {$event.fee_label}\n
\n {ts 1=$priceset+1}Participant %1{/ts}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n {if $pricesetFieldsCount }{/if}\n \n {foreach from=$value item=line}\n \n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if $pricesetFieldsCount }\n \n {/if}\n \n {/foreach}\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}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.participant_count}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$totalAmount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {$amnt.amount|crmMoney} {$amnt.label}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {if $balanceAmount}\n {ts}Total Paid{/ts}\n {else}\n {ts}Total Amount{/ts}\n {/if}\n \n {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n
\n {ts}Balance{/ts}\n \n {$balanceAmount|crmMoney}\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 {$pay_later_receipt}\n
\n {ts}Registration Date{/ts}\n \n {$register_date|crmDate}\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 {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\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
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$value}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$value}\n
\n {ts 1=$customName+1}Participant Information - Participant %1{/ts}\n
\n {if $field eq \'additionalCustomPre\'}\n {$additionalCustomPre_grouptitle}\n {else}\n {$additionalCustomPost_grouptitle}\n {/if}\n
\n {$f}\n \n {$v}\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,812,1,0,0,NULL),(30,'Events - Registration Confirmation and Receipt (off-line)','{ts}Event Confirmation{/ts} - {$event.title}\n','{contact.email_greeting}\n{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n{$event.confirm_email_text}\n{/if}\n\n{if $isOnWaitlist}\n==========================================================={if $pricesetFieldsCount }===================={/if}\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\n{/if}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{elseif $isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\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==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{elseif $is_pay_later}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{else}\n\n{ts}Please print this confirmation for your records.{/ts}\n{/if}\n\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $event.is_public}\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 File:{/ts} {$icalFeed}\n{/if}\n\n{if $email}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Registered Email{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$email}\n{/if}\n{if $event.is_monetary} {* This section for Paid events only.*}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.fee_label}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{if $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}\n{/if}\n{/if}\n---------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\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 $dataArray}\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{capture assign=ts_participant_total}{if $pricesetFieldsCount }{ts}Total Participants{/ts}{/if}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {$ts_participant_total|string_format:\"%10s\"}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{foreach from=$value item=line}\n{if $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|string_format:\"%10s\"} {if $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {$ts_participant_count|string_format:\"%10s\"}\n{/foreach}\n{/if}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if $amount && !$lineItem}\n{foreach from=$amount item=amnt key=level}{$amnt.amount|crmMoney} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if $isPrimary}\n\n{if $balanceAmount}{ts}Total Paid{/ts}{else}{ts}Total Amount{/ts}{/if}: {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n\n{if $balanceAmount}\n{ts}Balance{/ts}: {$balanceAmount|crmMoney}\n{/if}\n\n{if $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 $is_pay_later }\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $financialTypeName}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\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 $customPre}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPre_grouptitle}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPre item=value key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n\n{if $customPost}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPost_grouptitle}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPost item=value key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n{if $customProfile}\n\n{foreach from=$customProfile item=value key=customName}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts 1=$customName+1}Participant Information - Participant %1{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=val key=field}\n{if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\' }\n{if $field eq \'additionalCustomPre\' }\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$additionalCustomPre_grouptitle}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{else}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$additionalCustomPost_grouptitle}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{/if}\n{foreach from=$val item=v key=f}\n{$f}: {$v}\n{/foreach}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n\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

{contact.email_greeting}

\n\n {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n

{$event.confirm_email_text|htmlize}

\n {/if}\n\n {if $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 $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 $is_pay_later}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n \n \n \n \n \n \n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $email}\n \n \n \n \n \n \n {/if}\n\n\n {if $event.is_monetary}\n\n \n \n \n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if $isPrimary}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n {/if}\n \n \n \n {/if}\n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n\n {if $amount && !$lineItem}\n {foreach from=$amount item=amnt key=level}\n \n \n \n {/foreach}\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if $balanceAmount}\n \n \n \n \n {/if}\n {if $pricesetFieldsCount }\n \n \n \n \n {/if}\n {if $is_pay_later}\n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $financialTypeName}\n \n \n \n \n {/if}\n\n {if $trxn_id}\n \n \n \n \n {/if}\n\n {if $paidBy}\n \n \n \n \n {/if}\n\n {if $checkNumber}\n \n \n \n \n {/if}\n\n {if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=value key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=value key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customProfile}\n {foreach from=$customProfile item=value key=customName}\n \n \n \n {foreach from=$value item=val key=field}\n {if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\'}\n \n \n \n {foreach from=$val item=v key=f}\n \n \n \n \n {/foreach}\n {/if}\n {/foreach}\n {/foreach}\n {/if}\n\n {if $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.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}\n \n {$event.participant_role}\n
\n {$location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.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 File{/ts}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {$event.fee_label}\n
\n {ts 1=$priceset+1}Participant %1{/ts}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n {if $pricesetFieldsCount }{/if}\n \n {foreach from=$value item=line}\n \n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if $pricesetFieldsCount }\n \n {/if}\n \n {/foreach}\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}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.participant_count}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$totalAmount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {$amnt.amount|crmMoney} {$amnt.label}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {if $balanceAmount}\n {ts}Total Paid{/ts}\n {else}\n {ts}Total Amount{/ts}\n {/if}\n \n {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n
\n {ts}Balance{/ts}\n \n {$balanceAmount|crmMoney}\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 {$pay_later_receipt}\n
\n {ts}Registration Date{/ts}\n \n {$register_date|crmDate}\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 {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\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
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$value}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$value}\n
\n {ts 1=$customName+1}Participant Information - Participant %1{/ts}\n
\n {if $field eq \'additionalCustomPre\'}\n {$additionalCustomPre_grouptitle}\n {else}\n {$additionalCustomPost_grouptitle}\n {/if}\n
\n {$f}\n \n {$v}\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,812,0,1,0,NULL),(31,'Events - Registration Confirmation and Receipt (on-line)','{if $isOnWaitlist}{ts}Wait List Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {$event.event_title}','{contact.email_greeting},\n\n{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n{$event.confirm_email_text}\n\n{else}\n {ts}Thank you for your participation.{/ts}\n {if $participant_status}{ts 1=$participant_status}This letter is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n {else}{if $isOnWaitlist}{ts}This letter is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This letter is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}\n {/if}.\n\n{/if}\n\n{if $isOnWaitlist}\n==========================================================={if $pricesetFieldsCount }===================={/if}\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==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{elseif $isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\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==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{elseif $is_pay_later && !$isAmountzero && !$isAdditionalParticipant}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{else}\n\n{ts}Please print this confirmation for your records.{/ts}\n{/if}\n\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.event_title}\n{$event.event_start_date|date_format:\"%A\"} {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|date_format:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n{if $conference_sessions}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|date_format:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location} {$session.location}{/if}\n{/foreach}\n{/if}\n\n{if $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $event.is_public}\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 File:{/ts} {$icalFeed}\n{/if}\n\n{if $payer.name}\nYou were registered by: {$payer.name}\n{/if}\n{if $event.is_monetary} {* This section for Paid events only.*}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.fee_label}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{if $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} {$part.$priceset.info}\n\n{/if}\n{/if}\n-----------------------------------------------------------{if $pricesetFieldsCount }-----------------------------------------------------{/if}\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 $dataArray}\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 $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 $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {$ts_participant_total|string_format:\"%10s\"}\n-----------------------------------------------------------{if $pricesetFieldsCount }-----------------------------------------------------{/if}\n\n{foreach from=$value item=line}\n{if $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}{$ts_participant_count|string_format:\"%10s\"}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if $individual}{ts}Participant Total{/ts} {$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%29s\"} {$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%33s\"} {$individual.$priceset.totalAmtWithTax|crmMoney:$currency|string_format:\"%12s\"}{/if}\n{/if}\n{\"\"|string_format:\"%120s\"}\n{/foreach}\n{\"\"|string_format:\"%120s\"}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if $amounts && !$lineItem}\n{foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if $isPrimary }\n\n{ts}Total Amount{/ts}: {$totalAmount|crmMoney:$currency} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n\n{if $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 $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $financialTypeName}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode ne \'notify\' and !$isAmountzero and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and !$isOnWaitlist and !$isRequireApproval}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Credit Card Information{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\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 $customPre}\n{foreach from=$customPre item=customPr key=i}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPre_grouptitle.$i}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPr item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $customPost}\n{foreach from=$customPost item=customPos key=j}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPost_grouptitle.$j}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPos item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if $customProfile}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$customProfile.title.$pid}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\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{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $event.allow_selfcancelxfer }\n{ts 1=$event.selfcancelxfer_time}You may transfer your registration to another participant or cancel your registration up to %1 hours before the event.{/ts} {if $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=participantTotal}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 \n {/if}\n \n \n
\n

{contact.email_greeting},

\n\n {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n

{$event.confirm_email_text|htmlize}

\n\n {else}\n

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

\n\n {/if}\n\n

\n {if $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 $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 $is_pay_later && !$isAmountzero && !$isAdditionalParticipant}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n \n \n \n \n \n \n\n\n {if $conference_sessions}\n \n \n \n \n \n \n {/if}\n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $event.is_share}\n \n \n \n {/if}\n {if $payer.name}\n \n \n \n \n \n \n {/if}\n {if $event.is_monetary}\n\n \n \n \n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if $isPrimary}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n {/if}\n \n \n \n {/if}\n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n\n {if $amounts && !$lineItem}\n {foreach from=$amounts item=amnt key=level}\n \n \n \n {/foreach}\n {/if}\n\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if $pricesetFieldsCount }\n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $financialTypeName}\n \n \n \n \n {/if}\n\n {if $trxn_id}\n \n \n \n \n {/if}\n\n {if $paidBy}\n \n \n \n \n {/if}\n\n {if $checkNumber}\n \n \n \n \n {/if}\n\n {if $contributeMode ne \'notify\' and !$isAmountzero and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n\n{if $customPre}\n{foreach from=$customPre item=customPr key=i}\n \n {foreach from=$customPr item=customValue key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n{/foreach}\n{/if}\n\n{if $customPost}\n{foreach from=$customPost item=customPos key=j}\n \n {foreach from=$customPos item=customValue key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $customProfile}\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n \n {foreach from=$eachParticipant item=eachProfile key=pid}\n \n {foreach from=$eachProfile item=val key=field}\n {foreach from=$val item=v key=f}\n \n \n {/foreach}\n \n {/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n {if $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 {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|date_format:\"%A\"} {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|date_format:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Your schedule:{/ts}\n
\n {assign var=\'group_by_day\' value=\'NA\'}\n {foreach from=$conference_sessions item=session}\n {if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n {assign var=\'group_by_day\' value=$session.start_date}\n {$group_by_day|date_format:\"%m/%d/%Y\"}
\n {/if}\n {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}
\n {if $session.location}    {$session.location}
{/if}\n {/foreach}\n
\n {ts}Participant Role{/ts}\n \n {$event.participant_role}\n
\n {$location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.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 File{/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 title=$event.title pageURL=$eventUrl}\n
\n {ts}You were registered by:{/ts}\n
\n {$payer.name}\n
\n {$event.fee_label}\n
\n {ts 1=$priceset+1}Participant %1{/ts} {$part.$priceset.info}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n {if $pricesetFieldsCount }{/if}\n \n {foreach from=$value item=line}\n \n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if $pricesetFieldsCount } {/if}\n \n {/foreach}\n {if $individual}\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}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n {$line.participant_count}
{ts}Participant Total{/ts}{$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney}{$individual.$priceset.totalTaxAmt|crmMoney}{$individual.$priceset.totalAmtWithTax|crmMoney}
\n
\n {ts} Amount Before Tax: {/ts}\n \n {$totalAmount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {$amnt.amount|crmMoney:$currency} {$amnt.label}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$totalAmount|crmMoney:$currency} {if $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 {$register_date|crmDate}\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 {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\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 {$customName}\n
\n {$n}\n \n {$v}\n
\n {if $event.allow_selfcancelxfer }\n
\n {ts 1=$event.selfcancelxfer_time}You may transfer your registration to another participant or cancel your registration up to %1 hours before the event.{/ts} {if $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\n',1,813,1,0,0,NULL),(32,'Events - Registration Confirmation and Receipt (on-line)','{if $isOnWaitlist}{ts}Wait List Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {$event.event_title}','{contact.email_greeting},\n\n{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n{$event.confirm_email_text}\n\n{else}\n {ts}Thank you for your participation.{/ts}\n {if $participant_status}{ts 1=$participant_status}This letter is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n {else}{if $isOnWaitlist}{ts}This letter is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This letter is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}\n {/if}.\n\n{/if}\n\n{if $isOnWaitlist}\n==========================================================={if $pricesetFieldsCount }===================={/if}\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==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{elseif $isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\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==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{elseif $is_pay_later && !$isAmountzero && !$isAdditionalParticipant}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{else}\n\n{ts}Please print this confirmation for your records.{/ts}\n{/if}\n\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.event_title}\n{$event.event_start_date|date_format:\"%A\"} {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|date_format:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n{if $conference_sessions}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|date_format:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location} {$session.location}{/if}\n{/foreach}\n{/if}\n\n{if $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $event.is_public}\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 File:{/ts} {$icalFeed}\n{/if}\n\n{if $payer.name}\nYou were registered by: {$payer.name}\n{/if}\n{if $event.is_monetary} {* This section for Paid events only.*}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.fee_label}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{if $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} {$part.$priceset.info}\n\n{/if}\n{/if}\n-----------------------------------------------------------{if $pricesetFieldsCount }-----------------------------------------------------{/if}\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 $dataArray}\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 $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 $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {$ts_participant_total|string_format:\"%10s\"}\n-----------------------------------------------------------{if $pricesetFieldsCount }-----------------------------------------------------{/if}\n\n{foreach from=$value item=line}\n{if $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}{$ts_participant_count|string_format:\"%10s\"}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if $individual}{ts}Participant Total{/ts} {$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%29s\"} {$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%33s\"} {$individual.$priceset.totalAmtWithTax|crmMoney:$currency|string_format:\"%12s\"}{/if}\n{/if}\n{\"\"|string_format:\"%120s\"}\n{/foreach}\n{\"\"|string_format:\"%120s\"}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if $amounts && !$lineItem}\n{foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if $isPrimary }\n\n{ts}Total Amount{/ts}: {$totalAmount|crmMoney:$currency} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n\n{if $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 $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $financialTypeName}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode ne \'notify\' and !$isAmountzero and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and !$isOnWaitlist and !$isRequireApproval}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Credit Card Information{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\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 $customPre}\n{foreach from=$customPre item=customPr key=i}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPre_grouptitle.$i}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPr item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $customPost}\n{foreach from=$customPost item=customPos key=j}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPost_grouptitle.$j}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPos item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if $customProfile}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$customProfile.title.$pid}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\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{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $event.allow_selfcancelxfer }\n{ts 1=$event.selfcancelxfer_time}You may transfer your registration to another participant or cancel your registration up to %1 hours before the event.{/ts} {if $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=participantTotal}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 \n {/if}\n \n \n
\n

{contact.email_greeting},

\n\n {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n

{$event.confirm_email_text|htmlize}

\n\n {else}\n

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

\n\n {/if}\n\n

\n {if $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 $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 $is_pay_later && !$isAmountzero && !$isAdditionalParticipant}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n \n \n \n \n \n \n\n\n {if $conference_sessions}\n \n \n \n \n \n \n {/if}\n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $event.is_share}\n \n \n \n {/if}\n {if $payer.name}\n \n \n \n \n \n \n {/if}\n {if $event.is_monetary}\n\n \n \n \n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if $isPrimary}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n {/if}\n \n \n \n {/if}\n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n\n {if $amounts && !$lineItem}\n {foreach from=$amounts item=amnt key=level}\n \n \n \n {/foreach}\n {/if}\n\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if $pricesetFieldsCount }\n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $financialTypeName}\n \n \n \n \n {/if}\n\n {if $trxn_id}\n \n \n \n \n {/if}\n\n {if $paidBy}\n \n \n \n \n {/if}\n\n {if $checkNumber}\n \n \n \n \n {/if}\n\n {if $contributeMode ne \'notify\' and !$isAmountzero and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n\n{if $customPre}\n{foreach from=$customPre item=customPr key=i}\n \n {foreach from=$customPr item=customValue key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n{/foreach}\n{/if}\n\n{if $customPost}\n{foreach from=$customPost item=customPos key=j}\n \n {foreach from=$customPos item=customValue key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $customProfile}\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n \n {foreach from=$eachParticipant item=eachProfile key=pid}\n \n {foreach from=$eachProfile item=val key=field}\n {foreach from=$val item=v key=f}\n \n \n {/foreach}\n \n {/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n {if $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 {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|date_format:\"%A\"} {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|date_format:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Your schedule:{/ts}\n
\n {assign var=\'group_by_day\' value=\'NA\'}\n {foreach from=$conference_sessions item=session}\n {if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n {assign var=\'group_by_day\' value=$session.start_date}\n {$group_by_day|date_format:\"%m/%d/%Y\"}
\n {/if}\n {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}
\n {if $session.location}    {$session.location}
{/if}\n {/foreach}\n
\n {ts}Participant Role{/ts}\n \n {$event.participant_role}\n
\n {$location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.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 File{/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 title=$event.title pageURL=$eventUrl}\n
\n {ts}You were registered by:{/ts}\n
\n {$payer.name}\n
\n {$event.fee_label}\n
\n {ts 1=$priceset+1}Participant %1{/ts} {$part.$priceset.info}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n {if $pricesetFieldsCount }{/if}\n \n {foreach from=$value item=line}\n \n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if $pricesetFieldsCount } {/if}\n \n {/foreach}\n {if $individual}\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}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n {$line.participant_count}
{ts}Participant Total{/ts}{$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney}{$individual.$priceset.totalTaxAmt|crmMoney}{$individual.$priceset.totalAmtWithTax|crmMoney}
\n
\n {ts} Amount Before Tax: {/ts}\n \n {$totalAmount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {$amnt.amount|crmMoney:$currency} {$amnt.label}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$totalAmount|crmMoney:$currency} {if $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 {$register_date|crmDate}\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 {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\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 {$customName}\n
\n {$n}\n \n {$v}\n
\n {if $event.allow_selfcancelxfer }\n
\n {ts 1=$event.selfcancelxfer_time}You may transfer your registration to another participant or cancel your registration up to %1 hours before the event.{/ts} {if $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\n',1,813,0,1,0,NULL),(33,'Events - Receipt only','Receipt for {if $events_in_cart} Event Registration{/if}\n','Dear {contact.display_name},\n{if $is_pay_later}\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{else}\n This is being sent to you as a {if $is_refund}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n{/if}\n\n{if $is_pay_later}\n {$pay_later_receipt}\n{/if}\n\n Your order number is #{$transaction_id}. Please print this confirmation for your records.{if $line_items && !$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|date_format:\"%D %I:%M %p %Z\"}:\n\n{if $billing_name}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billing_name}\n\n{$billing_street_address}\n\n{$billing_city}, {$billing_state} {$billing_postal_code}\n\n{$email}\n{/if}\n\n{if $source}\n{$source}\n{/if}\n\n\n{foreach from=$line_items item=line_item}\n{$line_item.event->title} ({$line_item.event->start_date|date_format:\"%D\"})\n{if $line_item.event->is_show_location}\n {$line_item.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n{$line_item.event->start_date|date_format:\"%D %I:%M %p\"} - {$line_item.event->end_date|date_format:\"%I:%M %p\"}\n\n Quantity: {$line_item.num_participants}\n\n{if $line_item.num_participants > 0}\n {foreach from=$line_item.participants item=participant}\n {$participant.display_name}\n {/foreach}\n{/if}\n{if $line_item.num_waiting_participants > 0}\n Waitlisted:\n {foreach from=$line_item.waiting_participants item=participant}\n {$participant.display_name}\n {/foreach}\n{/if}\nCost: {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\nTotal For This Event: {$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n\n{/foreach}\n\n{if $discounts}\nSubtotal: {$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n--------------------------------------\nDiscounts\n{foreach from=$discounts key=myId item=i}\n {$i.title}: -{$i.amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/if}\n======================================\nTotal: {$total|crmMoney:$currency|string_format:\"%10s\"}\n\n{if $credit_card_type}\n===========================================================\n{ts}Payment Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n{/if}\n\n If you have questions about the status of your registration or purchase please feel free to contact us.\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

Dear {contact.display_name},

\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 $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}. Please print this confirmation for your records.{if $line_items && !$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|date_format:\"%D %I:%M %p %Z\"}:

\n\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 $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|date_format:\"%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|date_format:\"%D %I:%M %p\"} - {$line_item.event->end_date|date_format:\"%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,814,1,0,0,NULL),(34,'Events - Receipt only','Receipt for {if $events_in_cart} Event Registration{/if}\n','Dear {contact.display_name},\n{if $is_pay_later}\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{else}\n This is being sent to you as a {if $is_refund}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n{/if}\n\n{if $is_pay_later}\n {$pay_later_receipt}\n{/if}\n\n Your order number is #{$transaction_id}. Please print this confirmation for your records.{if $line_items && !$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|date_format:\"%D %I:%M %p %Z\"}:\n\n{if $billing_name}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billing_name}\n\n{$billing_street_address}\n\n{$billing_city}, {$billing_state} {$billing_postal_code}\n\n{$email}\n{/if}\n\n{if $source}\n{$source}\n{/if}\n\n\n{foreach from=$line_items item=line_item}\n{$line_item.event->title} ({$line_item.event->start_date|date_format:\"%D\"})\n{if $line_item.event->is_show_location}\n {$line_item.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n{$line_item.event->start_date|date_format:\"%D %I:%M %p\"} - {$line_item.event->end_date|date_format:\"%I:%M %p\"}\n\n Quantity: {$line_item.num_participants}\n\n{if $line_item.num_participants > 0}\n {foreach from=$line_item.participants item=participant}\n {$participant.display_name}\n {/foreach}\n{/if}\n{if $line_item.num_waiting_participants > 0}\n Waitlisted:\n {foreach from=$line_item.waiting_participants item=participant}\n {$participant.display_name}\n {/foreach}\n{/if}\nCost: {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\nTotal For This Event: {$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n\n{/foreach}\n\n{if $discounts}\nSubtotal: {$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n--------------------------------------\nDiscounts\n{foreach from=$discounts key=myId item=i}\n {$i.title}: -{$i.amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/if}\n======================================\nTotal: {$total|crmMoney:$currency|string_format:\"%10s\"}\n\n{if $credit_card_type}\n===========================================================\n{ts}Payment Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n{/if}\n\n If you have questions about the status of your registration or purchase please feel free to contact us.\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

Dear {contact.display_name},

\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 $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}. Please print this confirmation for your records.{if $line_items && !$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|date_format:\"%D %I:%M %p %Z\"}:

\n\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 $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|date_format:\"%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|date_format:\"%D %I:%M %p\"} - {$line_item.event->end_date|date_format:\"%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,814,0,1,0,NULL),(35,'Events - Registration Cancellation Notice','{ts 1=$event.event_title}Event Registration Cancelled for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts}Your Event Registration has been cancelled.{/ts}\n\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\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 \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
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

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

\n
\n \n \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {$event.location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\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\n',1,815,1,0,0,NULL),(36,'Events - Registration Cancellation Notice','{ts 1=$event.event_title}Event Registration Cancelled for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts}Your Event Registration has been cancelled.{/ts}\n\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\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 \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
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

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

\n
\n \n \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {$event.location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\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\n',1,815,0,1,0,NULL),(37,'Events - Registration Confirmation Invite','{ts 1=$event.event_title}Confirm your registration for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n{if !$isAdditional and $participant.id}\n\n===========================================================\n{ts}Confirm Your Registration{/ts}\n\n===========================================================\n{capture assign=confirmUrl}{crmURL p=\'civicrm/event/confirm\' q=\"reset=1&participantId=`$participant.id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\nClick this link to go to a web page where you can confirm your registration online:\n{$confirmUrl}\n{/if}\n{if $event.allow_selfcancelxfer }\n{ts 1=$event.selfcancelxfer_time}You may transfer your registration to another participant or cancel your registration up to %1 hours before the event.{/ts} {if $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{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n{if $conference_sessions}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|date_format:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location} {$session.location}{/if}\n{/foreach}\n{/if}\n\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $event.is_public}\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 File:{/ts} {$icalFeed}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\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 \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 {if !$isAdditional and $participant.id}\n \n \n \n \n \n \n {/if}\n {if $event.allow_selfcancelxfer }\n This event allows for self-cancel or transfer\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participantID`&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n {ts}Self service cancel transfer{/ts}\n {/if}\n\n \n \n \n {if $event.allow_selfcancelxfer }\n \n \n \n {/if}\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n
\n {ts}Confirm Your Registration{/ts}\n
\n {capture assign=confirmUrl}{crmURL p=\'civicrm/event/confirm\' q=\"reset=1&participantId=`$participant.id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\n Go to a web page where you can confirm your registration online\n
\n \n \n \n \n \n \n \n {if $conference_sessions}\n \n \n \n \n \n \n {/if}\n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Your schedule:{/ts}\n
\n {assign var=\'group_by_day\' value=\'NA\'}\n {foreach from=$conference_sessions item=session}\n {if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n {assign var=\'group_by_day\' value=$session.start_date}\n {$group_by_day|date_format:\"%m/%d/%Y\"}
\n {/if}\n {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}
\n {if $session.location}    {$session.location}
{/if}\n {/foreach}\n
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {$event.location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.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 File{/ts}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\n
\n
\n {ts 1=$event.selfcancelxfer_time}You may transfer your registration to another participant or cancel your registration up to %1 hours before the event.{/ts} {if $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

{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\n',1,816,1,0,0,NULL),(38,'Events - Registration Confirmation Invite','{ts 1=$event.event_title}Confirm your registration for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n{if !$isAdditional and $participant.id}\n\n===========================================================\n{ts}Confirm Your Registration{/ts}\n\n===========================================================\n{capture assign=confirmUrl}{crmURL p=\'civicrm/event/confirm\' q=\"reset=1&participantId=`$participant.id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\nClick this link to go to a web page where you can confirm your registration online:\n{$confirmUrl}\n{/if}\n{if $event.allow_selfcancelxfer }\n{ts 1=$event.selfcancelxfer_time}You may transfer your registration to another participant or cancel your registration up to %1 hours before the event.{/ts} {if $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{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n{if $conference_sessions}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|date_format:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location} {$session.location}{/if}\n{/foreach}\n{/if}\n\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $event.is_public}\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 File:{/ts} {$icalFeed}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\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 \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 {if !$isAdditional and $participant.id}\n \n \n \n \n \n \n {/if}\n {if $event.allow_selfcancelxfer }\n This event allows for self-cancel or transfer\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participantID`&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n {ts}Self service cancel transfer{/ts}\n {/if}\n\n \n \n \n {if $event.allow_selfcancelxfer }\n \n \n \n {/if}\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n
\n {ts}Confirm Your Registration{/ts}\n
\n {capture assign=confirmUrl}{crmURL p=\'civicrm/event/confirm\' q=\"reset=1&participantId=`$participant.id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\n Go to a web page where you can confirm your registration online\n
\n \n \n \n \n \n \n \n {if $conference_sessions}\n \n \n \n \n \n \n {/if}\n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Your schedule:{/ts}\n
\n {assign var=\'group_by_day\' value=\'NA\'}\n {foreach from=$conference_sessions item=session}\n {if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n {assign var=\'group_by_day\' value=$session.start_date}\n {$group_by_day|date_format:\"%m/%d/%Y\"}
\n {/if}\n {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}
\n {if $session.location}    {$session.location}
{/if}\n {/foreach}\n
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {$event.location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.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 File{/ts}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\n
\n
\n {ts 1=$event.selfcancelxfer_time}You may transfer your registration to another participant or cancel your registration up to %1 hours before the event.{/ts} {if $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

{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\n',1,816,0,1,0,NULL),(39,'Events - Pending Registration Expiration Notice','{ts 1=$event.event_title}Event registration has expired for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}\n\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor want to inquire about reinstating your registration for this event.{/ts}\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\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 \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
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}

\n

{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor want to inquire about reinstating your registration for this event.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {$event.location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\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\n',1,817,1,0,0,NULL),(40,'Events - Pending Registration Expiration Notice','{ts 1=$event.event_title}Event registration has expired for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}\n\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor want to inquire about reinstating your registration for this event.{/ts}\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\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 \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
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}

\n

{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor want to inquire about reinstating your registration for this event.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {$event.location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\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\n',1,817,0,1,0,NULL),(41,'Events - Registration Transferred Notice','{ts 1=$event.event_title}Event Registration Transferred for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$to_participant}Your Event Registration has been transferred to %1.{/ts}\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\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 \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
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$to_participant}Your Event Registration has been Transferred to %1.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {$event.location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\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\n',1,818,1,0,0,NULL),(42,'Events - Registration Transferred Notice','{ts 1=$event.event_title}Event Registration Transferred for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$to_participant}Your Event Registration has been transferred to %1.{/ts}\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\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 \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
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$to_participant}Your Event Registration has been Transferred to %1.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {$event.location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\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\n',1,818,0,1,0,NULL),(43,'Tell-a-Friend Email','{ts 1=$senderContactName 2=$title}%1 wants you to know about %2{/ts}\n','{$senderMessage}\n\n{if $generalLink}{ts}For more information, visit:{/ts}\n>> {$generalLink}\n\n{/if}\n{if $contribute}{ts}To make a contribution, go to:{/ts}\n>> {$pageURL}\n\n{/if}\n{if $event}{ts}To find out more about this event, go to:{/ts}\n>> {$pageURL}\n{/if}\n\n\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

{$senderMessage}

\n {if $generalLink}\n

{ts}More information{/ts}

\n {/if}\n {if $contribute}\n

{ts}Make a contribution{/ts}

\n {/if}\n {if $event}\n

{ts}Find out more about this event{/ts}

\n {/if}\n
\n
\n\n\n\n',1,819,1,0,0,NULL),(44,'Tell-a-Friend Email','{ts 1=$senderContactName 2=$title}%1 wants you to know about %2{/ts}\n','{$senderMessage}\n\n{if $generalLink}{ts}For more information, visit:{/ts}\n>> {$generalLink}\n\n{/if}\n{if $contribute}{ts}To make a contribution, go to:{/ts}\n>> {$pageURL}\n\n{/if}\n{if $event}{ts}To find out more about this event, go to:{/ts}\n>> {$pageURL}\n{/if}\n\n\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

{$senderMessage}

\n {if $generalLink}\n

{ts}More information{/ts}

\n {/if}\n {if $contribute}\n

{ts}Make a contribution{/ts}

\n {/if}\n {if $event}\n

{ts}Find out more about this event{/ts}

\n {/if}\n
\n
\n\n\n\n',1,819,0,1,0,NULL),(45,'Memberships - Signup and Renewal Receipts (off-line)','{if $receiptType EQ \'membership signup\'}\n{ts}Membership Confirmation and Receipt{/ts}\n{elseif $receiptType EQ \'membership renewal\'}\n{ts}Membership Renewal Confirmation and Receipt{/ts}\n{/if}\n','{if $formValues.receipt_text_signup}\n{$formValues.receipt_text_signup}\n{elseif $formValues.receipt_text_renewal}\n{$formValues.receipt_text_renewal}\n{else}{ts}Thank you for your support.{/ts}{/if}\n\n{if ! $cancelled}{ts}Please print this receipt for your records.{/ts}\n\n\n{/if}\n{if !$lineItem}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{/if}\n{if ! $cancelled}\n{if !$lineItem}\n{ts}Membership Start Date{/ts}: {$mem_start_date}\n{ts}Membership End Date{/ts}: {$mem_end_date}\n{/if}\n\n{if $formValues.total_amount OR $formValues.total_amount eq 0 }\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if $formValues.contributionType_name}\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\n{/if}\n{if $lineItem}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if $dataArray}\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{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\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.line_total|crmMoney|string_format:\"%10s\"} {if $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset}\n{$taxTerm} {$priceset|string_format:\"%.2f\"} %: {$value|crmMoney:$currency}\n{elseif $priceset == 0}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$formValues.total_amount|crmMoney}\n{if $receive_date}\n{ts}Date Received{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if $formValues.paidBy}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if $formValues.check_number}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{/if}\n{/if}\n\n{if $isPrimary }\n{if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later }\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later}\n===========================================================\n{ts}Credit Card Information{/ts}\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\n{if $customValues}\n===========================================================\n{ts}Membership Options{/ts}\n\n===========================================================\n{foreach from=$customValues item=value key=customName}\n {$customName} : {$value}\n{/foreach}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n {if $isPrimary}\n \n \n \n {/if}\n\n {if $customValues}\n \n \n \n {/if}\n\n
\n {if $formValues.receipt_text_signup}\n

{$formValues.receipt_text_signup|htmlize}

\n {elseif $formValues.receipt_text_renewal}\n

{$formValues.receipt_text_renewal|htmlize}

\n {else}\n

{ts}Thank you for your support.{/ts}

\n {/if}\n {if ! $cancelled}\n

{ts}Please print this receipt for your records.{/ts}

\n {/if}\n
\n \n {if !$lineItem}\n \n \n \n \n \n \n \n {/if}\n {if ! $cancelled}\n {if !$lineItem}\n \n \n \n \n \n \n \n \n {/if}\n {if $formValues.total_amount OR $formValues.total_amount eq 0 }\n \n \n \n {if $formValues.contributionType_name}\n \n \n \n \n {/if}\n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n {if isset($totalTaxAmount)}\n \n \n \n \n {/if}\n \n \n \n \n {if $receive_date}\n \n \n \n \n {/if}\n {if $formValues.paidBy}\n \n \n \n \n {if $formValues.check_number}\n \n \n \n \n {/if}\n {/if}\n {/if}\n {/if}\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Type{/ts}\n \n {$membership_name}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date}\n
\n {ts}Membership Fee{/ts}\n
\n {ts}Financial Type{/ts}\n \n {$formValues.contributionType_name}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n {if $dataArray}\n \n \n \n \n {/if}\n \n \n \n {foreach from=$value item=line}\n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n \n {/if}\n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Fee{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Membership Start Date{/ts}{ts}Membership End Date{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.line_total|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.start_date}\n \n {$line.end_date}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$formValues.total_amount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$formValues.total_amount|crmMoney}\n
\n {ts}Date Received{/ts}\n \n {$receive_date|truncate:10:\'\'|crmDate}\n
\n {ts}Paid By{/ts}\n \n {$formValues.paidBy}\n
\n {ts}Check Number{/ts}\n \n {$formValues.check_number}\n
\n
\n \n\n {if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later }\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later}\n \n \n \n \n \n \n \n \n \n \n {/if}\n\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}\n
\n {ts}Expires{/ts}\n \n {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n
\n \n \n \n \n {foreach from=$customValues item=value key=customName}\n \n \n \n \n {/foreach}\n
\n {ts}Membership Options{/ts}\n
\n {$customName}\n \n {$value}\n
\n
\n
\n\n\n\n',1,820,1,0,0,NULL),(46,'Memberships - Signup and Renewal Receipts (off-line)','{if $receiptType EQ \'membership signup\'}\n{ts}Membership Confirmation and Receipt{/ts}\n{elseif $receiptType EQ \'membership renewal\'}\n{ts}Membership Renewal Confirmation and Receipt{/ts}\n{/if}\n','{if $formValues.receipt_text_signup}\n{$formValues.receipt_text_signup}\n{elseif $formValues.receipt_text_renewal}\n{$formValues.receipt_text_renewal}\n{else}{ts}Thank you for your support.{/ts}{/if}\n\n{if ! $cancelled}{ts}Please print this receipt for your records.{/ts}\n\n\n{/if}\n{if !$lineItem}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{/if}\n{if ! $cancelled}\n{if !$lineItem}\n{ts}Membership Start Date{/ts}: {$mem_start_date}\n{ts}Membership End Date{/ts}: {$mem_end_date}\n{/if}\n\n{if $formValues.total_amount OR $formValues.total_amount eq 0 }\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if $formValues.contributionType_name}\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\n{/if}\n{if $lineItem}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if $dataArray}\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{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\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.line_total|crmMoney|string_format:\"%10s\"} {if $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset}\n{$taxTerm} {$priceset|string_format:\"%.2f\"} %: {$value|crmMoney:$currency}\n{elseif $priceset == 0}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$formValues.total_amount|crmMoney}\n{if $receive_date}\n{ts}Date Received{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if $formValues.paidBy}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if $formValues.check_number}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{/if}\n{/if}\n\n{if $isPrimary }\n{if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later }\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later}\n===========================================================\n{ts}Credit Card Information{/ts}\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\n{if $customValues}\n===========================================================\n{ts}Membership Options{/ts}\n\n===========================================================\n{foreach from=$customValues item=value key=customName}\n {$customName} : {$value}\n{/foreach}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n {if $isPrimary}\n \n \n \n {/if}\n\n {if $customValues}\n \n \n \n {/if}\n\n
\n {if $formValues.receipt_text_signup}\n

{$formValues.receipt_text_signup|htmlize}

\n {elseif $formValues.receipt_text_renewal}\n

{$formValues.receipt_text_renewal|htmlize}

\n {else}\n

{ts}Thank you for your support.{/ts}

\n {/if}\n {if ! $cancelled}\n

{ts}Please print this receipt for your records.{/ts}

\n {/if}\n
\n \n {if !$lineItem}\n \n \n \n \n \n \n \n {/if}\n {if ! $cancelled}\n {if !$lineItem}\n \n \n \n \n \n \n \n \n {/if}\n {if $formValues.total_amount OR $formValues.total_amount eq 0 }\n \n \n \n {if $formValues.contributionType_name}\n \n \n \n \n {/if}\n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n {if isset($totalTaxAmount)}\n \n \n \n \n {/if}\n \n \n \n \n {if $receive_date}\n \n \n \n \n {/if}\n {if $formValues.paidBy}\n \n \n \n \n {if $formValues.check_number}\n \n \n \n \n {/if}\n {/if}\n {/if}\n {/if}\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Type{/ts}\n \n {$membership_name}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date}\n
\n {ts}Membership Fee{/ts}\n
\n {ts}Financial Type{/ts}\n \n {$formValues.contributionType_name}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n {if $dataArray}\n \n \n \n \n {/if}\n \n \n \n {foreach from=$value item=line}\n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n \n {/if}\n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Fee{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Membership Start Date{/ts}{ts}Membership End Date{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.line_total|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.start_date}\n \n {$line.end_date}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$formValues.total_amount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$formValues.total_amount|crmMoney}\n
\n {ts}Date Received{/ts}\n \n {$receive_date|truncate:10:\'\'|crmDate}\n
\n {ts}Paid By{/ts}\n \n {$formValues.paidBy}\n
\n {ts}Check Number{/ts}\n \n {$formValues.check_number}\n
\n
\n \n\n {if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later }\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later}\n \n \n \n \n \n \n \n \n \n \n {/if}\n\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}\n
\n {ts}Expires{/ts}\n \n {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n
\n \n \n \n \n {foreach from=$customValues item=value key=customName}\n \n \n \n \n {/foreach}\n
\n {ts}Membership Options{/ts}\n
\n {$customName}\n \n {$value}\n
\n
\n
\n\n\n\n',1,820,0,1,0,NULL),(47,'Memberships - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}\n','{if $receipt_text}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{else}\n\n{ts}Please print this receipt for your records.{/ts}\n{/if}\n\n{if $membership_assign && !$useForMember}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\n{/if}\n{if $amount}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if !$useForMember && $membership_amount && $is_quick_config}\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{if $amount}\n{if ! $is_separate_payment }\n{ts}Contribution Amount{/ts}: {$amount|crmMoney}\n{else}\n{ts}Additional Contribution{/ts}: {$amount|crmMoney}\n{/if}\n{/if}\n-------------------------------------------\n{ts}Total{/ts}: {$amount+$membership_amount|crmMoney}\n{elseif !$useForMember && $lineItem and $priceSetID & !$is_quick_config}\n{foreach from=$lineItem item=value key=priceset}\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{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{$line.description|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney}\n{else}\n{if $useForMember && $lineItem && !$is_quick_config}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if $dataArray}\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{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\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.line_total|crmMoney|string_format:\"%10s\"} {if $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$amount|crmMoney} {if $amount_level } - {$amount_level} {/if}\n{/if}\n{elseif $membership_amount}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{/if}\n\n{if $receive_date}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $is_monetary and $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n\n{/if}\n{if $membership_trx_id}\n{ts}Membership Transaction #{/ts}: {$membership_trx_id}\n\n{/if}\n{if $is_recur}\n{if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page: %1.{/ts}\n{if $updateSubscriptionBillingUrl}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n{/if}\n{/if}\n{/if}\n\n{if $honor_block_is_active }\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n\n{/if}\n{if $pcpBlock}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if $onBehalfProfile}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !( $contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\' ) and $is_monetary}\n{if $is_pay_later}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{elseif $amount GT 0 OR $membership_amount GT 0 }\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{/if} {* End ! is_pay_later condition. *}\n{/if}\n{if $contributeMode eq \'direct\' AND !$is_pay_later AND ( $amount GT 0 OR $membership_amount GT 0 ) }\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if $selectPremium }\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if $contact_email OR $contact_phone}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if $contact_email}\n {$contact_email}\n{/if}\n{if $contact_phone}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND $price}\n\n{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if $customPre}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if $customPost}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n
\n\n {if $receipt_text}\n

{$receipt_text|htmlize}

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

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n\n {if $membership_assign && !$useForMember}\n \n \n \n \n \n \n \n {if $mem_start_date}\n \n \n \n \n {/if}\n {if $mem_end_date}\n \n \n \n \n {/if}\n {/if}\n\n\n {if $amount}\n \n \n \n\n {if !$useForMember and $membership_amount and $is_quick_config}\n\n \n \n \n \n {if $amount}\n {if ! $is_separate_payment }\n \n \n \n \n {else}\n \n \n \n \n {/if}\n {/if}\n \n \n \n \n\n {elseif !$useForMember && $lineItem and $priceSetID and !$is_quick_config}\n\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n \n \n \n \n\n {else}\n {if $useForMember && $lineItem and !$is_quick_config}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {/if}\n\n\n {elseif $membership_amount}\n\n\n \n \n \n \n \n \n \n\n\n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $is_monetary and $trxn_id}\n \n \n \n \n {/if}\n\n {if $membership_trx_id}\n \n \n \n \n {/if}\n {if $is_recur}\n {if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n \n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n {/if}\n {/if}\n\n {if $honor_block_is_active}\n \n \n \n {foreach from=$honoreeProfile item=value key=label}\n \n \n \n \n {/foreach}\n {/if}\n\n {if $pcpBlock}\n \n \n \n \n \n \n \n {if $pcp_roll_nickname}\n \n \n \n \n {/if}\n {if $pcp_personal_note}\n \n \n \n \n {/if}\n {/if}\n\n {if $onBehalfProfile}\n \n \n \n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n \n \n \n \n {/foreach}\n {/if}\n\n {if ! ($contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\') and $is_monetary}\n {if $is_pay_later}\n \n \n \n \n \n \n {elseif $amount GT 0 OR $membership_amount GT 0}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $contributeMode eq \'direct\' AND !$is_pay_later AND ($amount GT 0 OR $membership_amount GT 0)}\n \n \n \n \n \n \n {/if}\n\n {if $selectPremium}\n \n \n \n \n \n \n {if $option}\n \n \n \n \n {/if}\n {if $sku}\n \n \n \n \n {/if}\n {if $start_date}\n \n \n \n \n {/if}\n {if $end_date}\n \n \n \n \n {/if}\n {if $contact_email OR $contact_phone}\n \n \n \n {/if}\n {if $is_deductible AND $price}\n \n \n \n {/if}\n {/if}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Type{/ts}\n \n {$membership_name}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date|crmDate}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date|crmDate}\n
\n {ts}Membership Fee{/ts}\n
\n {ts 1=$membership_name}%1 Membership{/ts}\n \n {$membership_amount|crmMoney}\n
\n {ts}Contribution Amount{/ts}\n \n {$amount|crmMoney}\n
\n {ts}Additional Contribution{/ts}\n \n {$amount|crmMoney}\n
\n {ts}Total{/ts}\n \n {$amount+$membership_amount|crmMoney}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n {foreach from=$value item=line}\n \n \n \n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Total{/ts}
\n {$line.description|truncate:30:\"...\"}\n \n {$line.qty}\n \n {$line.unit_price|crmMoney}\n \n {$line.line_total|crmMoney}\n
\n
\n {ts}Total Amount{/ts}\n \n {$amount|crmMoney}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n {if $dataArray}\n \n \n \n \n {/if}\n \n \n \n {foreach from=$value item=line}\n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n \n {/if}\n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Fee{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Membership Start Date{/ts}{ts}Membership End Date{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.line_total|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.start_date}\n \n {$line.end_date}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$amount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}NO{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$amount|crmMoney} {if $amount_level} - {$amount_level}{/if}\n
\n {ts}Membership Fee{/ts}\n
\n {ts 1=$membership_name}%1 Membership{/ts}\n \n {$membership_amount|crmMoney}\n
\n {ts}Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Membership Transaction #{/ts}\n \n {$membership_trx_id}\n
\n {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n
\n {$soft_credit_type}\n
\n {$label}\n \n {$value}\n
\n {ts}Personal Campaign Page{/ts}\n
\n {ts}Display In Honor Roll{/ts}\n \n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n
\n {ts}Nickname{/ts}\n \n {$pcp_roll_nickname}\n
\n {ts}Personal Note{/ts}\n \n {$pcp_personal_note}\n
\n {$onBehalfProfile_grouptitle}\n
\n {$onBehalfName}\n \n {$onBehalfValue}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\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
\n {ts}Premium Information{/ts}\n
\n {$product_name}\n
\n {ts}Option{/ts}\n \n {$option}\n
\n {ts}SKU{/ts}\n \n {$sku}\n
\n {ts}Start Date{/ts}\n \n {$start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$end_date|crmDate}\n
\n

{ts}For information about this premium, contact:{/ts}

\n {if $contact_email}\n

{$contact_email}

\n {/if}\n {if $contact_phone}\n

{$contact_phone}

\n {/if}\n
\n

{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}

\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n
\n\n\n\n',1,821,1,0,0,NULL),(48,'Memberships - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}\n','{if $receipt_text}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{else}\n\n{ts}Please print this receipt for your records.{/ts}\n{/if}\n\n{if $membership_assign && !$useForMember}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\n{/if}\n{if $amount}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if !$useForMember && $membership_amount && $is_quick_config}\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{if $amount}\n{if ! $is_separate_payment }\n{ts}Contribution Amount{/ts}: {$amount|crmMoney}\n{else}\n{ts}Additional Contribution{/ts}: {$amount|crmMoney}\n{/if}\n{/if}\n-------------------------------------------\n{ts}Total{/ts}: {$amount+$membership_amount|crmMoney}\n{elseif !$useForMember && $lineItem and $priceSetID & !$is_quick_config}\n{foreach from=$lineItem item=value key=priceset}\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{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{$line.description|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney}\n{else}\n{if $useForMember && $lineItem && !$is_quick_config}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if $dataArray}\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{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\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.line_total|crmMoney|string_format:\"%10s\"} {if $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$amount|crmMoney} {if $amount_level } - {$amount_level} {/if}\n{/if}\n{elseif $membership_amount}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{/if}\n\n{if $receive_date}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $is_monetary and $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n\n{/if}\n{if $membership_trx_id}\n{ts}Membership Transaction #{/ts}: {$membership_trx_id}\n\n{/if}\n{if $is_recur}\n{if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page: %1.{/ts}\n{if $updateSubscriptionBillingUrl}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n{/if}\n{/if}\n{/if}\n\n{if $honor_block_is_active }\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n\n{/if}\n{if $pcpBlock}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if $onBehalfProfile}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !( $contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\' ) and $is_monetary}\n{if $is_pay_later}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{elseif $amount GT 0 OR $membership_amount GT 0 }\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{/if} {* End ! is_pay_later condition. *}\n{/if}\n{if $contributeMode eq \'direct\' AND !$is_pay_later AND ( $amount GT 0 OR $membership_amount GT 0 ) }\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if $selectPremium }\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if $contact_email OR $contact_phone}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if $contact_email}\n {$contact_email}\n{/if}\n{if $contact_phone}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND $price}\n\n{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if $customPre}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if $customPost}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n
\n\n {if $receipt_text}\n

{$receipt_text|htmlize}

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

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n\n {if $membership_assign && !$useForMember}\n \n \n \n \n \n \n \n {if $mem_start_date}\n \n \n \n \n {/if}\n {if $mem_end_date}\n \n \n \n \n {/if}\n {/if}\n\n\n {if $amount}\n \n \n \n\n {if !$useForMember and $membership_amount and $is_quick_config}\n\n \n \n \n \n {if $amount}\n {if ! $is_separate_payment }\n \n \n \n \n {else}\n \n \n \n \n {/if}\n {/if}\n \n \n \n \n\n {elseif !$useForMember && $lineItem and $priceSetID and !$is_quick_config}\n\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n \n \n \n \n\n {else}\n {if $useForMember && $lineItem and !$is_quick_config}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {/if}\n\n\n {elseif $membership_amount}\n\n\n \n \n \n \n \n \n \n\n\n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $is_monetary and $trxn_id}\n \n \n \n \n {/if}\n\n {if $membership_trx_id}\n \n \n \n \n {/if}\n {if $is_recur}\n {if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n \n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n {/if}\n {/if}\n\n {if $honor_block_is_active}\n \n \n \n {foreach from=$honoreeProfile item=value key=label}\n \n \n \n \n {/foreach}\n {/if}\n\n {if $pcpBlock}\n \n \n \n \n \n \n \n {if $pcp_roll_nickname}\n \n \n \n \n {/if}\n {if $pcp_personal_note}\n \n \n \n \n {/if}\n {/if}\n\n {if $onBehalfProfile}\n \n \n \n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n \n \n \n \n {/foreach}\n {/if}\n\n {if ! ($contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\') and $is_monetary}\n {if $is_pay_later}\n \n \n \n \n \n \n {elseif $amount GT 0 OR $membership_amount GT 0}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $contributeMode eq \'direct\' AND !$is_pay_later AND ($amount GT 0 OR $membership_amount GT 0)}\n \n \n \n \n \n \n {/if}\n\n {if $selectPremium}\n \n \n \n \n \n \n {if $option}\n \n \n \n \n {/if}\n {if $sku}\n \n \n \n \n {/if}\n {if $start_date}\n \n \n \n \n {/if}\n {if $end_date}\n \n \n \n \n {/if}\n {if $contact_email OR $contact_phone}\n \n \n \n {/if}\n {if $is_deductible AND $price}\n \n \n \n {/if}\n {/if}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Type{/ts}\n \n {$membership_name}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date|crmDate}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date|crmDate}\n
\n {ts}Membership Fee{/ts}\n
\n {ts 1=$membership_name}%1 Membership{/ts}\n \n {$membership_amount|crmMoney}\n
\n {ts}Contribution Amount{/ts}\n \n {$amount|crmMoney}\n
\n {ts}Additional Contribution{/ts}\n \n {$amount|crmMoney}\n
\n {ts}Total{/ts}\n \n {$amount+$membership_amount|crmMoney}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n {foreach from=$value item=line}\n \n \n \n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Total{/ts}
\n {$line.description|truncate:30:\"...\"}\n \n {$line.qty}\n \n {$line.unit_price|crmMoney}\n \n {$line.line_total|crmMoney}\n
\n
\n {ts}Total Amount{/ts}\n \n {$amount|crmMoney}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n {if $dataArray}\n \n \n \n \n {/if}\n \n \n \n {foreach from=$value item=line}\n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n \n {/if}\n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Fee{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Membership Start Date{/ts}{ts}Membership End Date{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.line_total|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.start_date}\n \n {$line.end_date}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$amount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}NO{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$amount|crmMoney} {if $amount_level} - {$amount_level}{/if}\n
\n {ts}Membership Fee{/ts}\n
\n {ts 1=$membership_name}%1 Membership{/ts}\n \n {$membership_amount|crmMoney}\n
\n {ts}Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Membership Transaction #{/ts}\n \n {$membership_trx_id}\n
\n {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n
\n {$soft_credit_type}\n
\n {$label}\n \n {$value}\n
\n {ts}Personal Campaign Page{/ts}\n
\n {ts}Display In Honor Roll{/ts}\n \n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n
\n {ts}Nickname{/ts}\n \n {$pcp_roll_nickname}\n
\n {ts}Personal Note{/ts}\n \n {$pcp_personal_note}\n
\n {$onBehalfProfile_grouptitle}\n
\n {$onBehalfName}\n \n {$onBehalfValue}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\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
\n {ts}Premium Information{/ts}\n
\n {$product_name}\n
\n {ts}Option{/ts}\n \n {$option}\n
\n {ts}SKU{/ts}\n \n {$sku}\n
\n {ts}Start Date{/ts}\n \n {$start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$end_date|crmDate}\n
\n

{ts}For information about this premium, contact:{/ts}

\n {if $contact_email}\n

{$contact_email}

\n {/if}\n {if $contact_phone}\n

{$contact_phone}

\n {/if}\n
\n

{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}

\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n
\n\n\n\n',1,821,0,1,0,NULL),(49,'Memberships - Auto-renew Cancellation Notification','{ts}Autorenew Membership Cancellation Notification{/ts}\n','{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}\n\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Status{/ts}: {$membership_status}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\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

{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}

\n\n
\n \n\n \n \n \n \n \n \n \n {if $mem_start_date}\n \n \n \n \n {/if}\n {if $mem_end_date}\n \n \n \n \n {/if}\n\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Status{/ts}\n \n {$membership_status}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date|crmDate}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date|crmDate}\n
\n
\n\n\n\n',1,822,1,0,0,NULL),(50,'Memberships - Auto-renew Cancellation Notification','{ts}Autorenew Membership Cancellation Notification{/ts}\n','{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}\n\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Status{/ts}: {$membership_status}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\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

{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}

\n\n
\n \n\n \n \n \n \n \n \n \n {if $mem_start_date}\n \n \n \n \n {/if}\n {if $mem_end_date}\n \n \n \n \n {/if}\n\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Status{/ts}\n \n {$membership_status}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date|crmDate}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date|crmDate}\n
\n
\n\n\n\n',1,822,0,1,0,NULL),(51,'Memberships - Auto-renew Billing Updates','{ts}Membership Autorenewal Billing Updates{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}','\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

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}

\n
\n\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\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
\n {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n
\n
\n\n\n\n',1,823,1,0,0,NULL),(52,'Memberships - Auto-renew Billing Updates','{ts}Membership Autorenewal Billing Updates{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}','\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

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}

\n
\n\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\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
\n {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n
\n
\n\n\n\n',1,823,0,1,0,NULL),(53,'Test-drive - Receipt Header','[TEST]\n','***********************************************************\n\n{ts}Test-drive Email / Receipt{/ts}\n\n{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}\n\n***********************************************************\n','
\n \n \n \n \n
\n

{ts}Test-drive Email / Receipt{/ts}

\n

{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}

\n
\n
\n',1,824,1,0,0,NULL),(54,'Test-drive - Receipt Header','[TEST]\n','***********************************************************\n\n{ts}Test-drive Email / Receipt{/ts}\n\n{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}\n\n***********************************************************\n','
\n \n \n \n \n
\n

{ts}Test-drive Email / Receipt{/ts}

\n

{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}

\n
\n
\n',1,824,0,1,0,NULL),(55,'Pledges - Acknowledgement','{ts}Thank you for your Pledge{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts}Thank you for your generous pledge. Please print this acknowledgment for your records.{/ts}\n\n===========================================================\n{ts}Pledge Information{/ts}\n\n===========================================================\n{ts}Pledge Received{/ts}: {$create_date|truncate:10:\'\'|crmDate}\n{ts}Total Pledge Amount{/ts}: {$total_pledge_amount|crmMoney:$currency}\n\n===========================================================\n{ts}Payment Schedule{/ts}\n\n===========================================================\n{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}\n\n{if $frequency_day}\n\n{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}\n{/if}\n\n{if $payments}\n{assign var=\"count\" value=\"1\"}\n{foreach from=$payments item=payment}\n\n{ts 1=$count}Payment %1{/ts}: {$payment.amount|crmMoney:$currency} {if $payment.status eq 1}{ts}paid{/ts} {$payment.receive_date|truncate:10:\'\'|crmDate}{else}{ts}due{/ts} {$payment.due_date|truncate:10:\'\'|crmDate}{/if}\n{assign var=\"count\" value=`$count+1`}\n{/foreach}\n{/if}\n\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}\n\n{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n

{ts 1=$contact.display_name}dear %1{/ts},

\n

{ts}thank you for your generous pledge. please print this acknowledgment for your records.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n {if $payments}\n {assign var=\"count\" value=\"1\"}\n {foreach from=$payments item=payment}\n \n \n \n \n {assign var=\"count\" value=`$count+1`}\n {/foreach}\n {/if}\n\n \n \n \n\n {if $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}Pledge Information{/ts}\n
\n {ts}Pledge Received{/ts}\n \n {$create_date|truncate:10:\'\'|crmDate}\n
\n {ts}Total Pledge Amount{/ts}\n \n {$total_pledge_amount|crmMoney:$currency}\n
\n {ts}Payment Schedule{/ts}\n
\n

{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}

\n\n {if $frequency_day}\n

{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}

\n {/if}\n
\n {ts 1=$count}Payment %1{/ts}\n \n {$payment.amount|crmMoney:$currency} {if $payment.status eq 1}{ts}paid{/ts} {$payment.receive_date|truncate:10:\'\'|crmDate}{else}{ts}due{/ts} {$payment.due_date|truncate:10:\'\'|crmDate}{/if}\n
\n

{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}

\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,825,1,0,0,NULL),(56,'Pledges - Acknowledgement','{ts}Thank you for your Pledge{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts}Thank you for your generous pledge. Please print this acknowledgment for your records.{/ts}\n\n===========================================================\n{ts}Pledge Information{/ts}\n\n===========================================================\n{ts}Pledge Received{/ts}: {$create_date|truncate:10:\'\'|crmDate}\n{ts}Total Pledge Amount{/ts}: {$total_pledge_amount|crmMoney:$currency}\n\n===========================================================\n{ts}Payment Schedule{/ts}\n\n===========================================================\n{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}\n\n{if $frequency_day}\n\n{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}\n{/if}\n\n{if $payments}\n{assign var=\"count\" value=\"1\"}\n{foreach from=$payments item=payment}\n\n{ts 1=$count}Payment %1{/ts}: {$payment.amount|crmMoney:$currency} {if $payment.status eq 1}{ts}paid{/ts} {$payment.receive_date|truncate:10:\'\'|crmDate}{else}{ts}due{/ts} {$payment.due_date|truncate:10:\'\'|crmDate}{/if}\n{assign var=\"count\" value=`$count+1`}\n{/foreach}\n{/if}\n\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}\n\n{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n

{ts 1=$contact.display_name}dear %1{/ts},

\n

{ts}thank you for your generous pledge. please print this acknowledgment for your records.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n {if $payments}\n {assign var=\"count\" value=\"1\"}\n {foreach from=$payments item=payment}\n \n \n \n \n {assign var=\"count\" value=`$count+1`}\n {/foreach}\n {/if}\n\n \n \n \n\n {if $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}Pledge Information{/ts}\n
\n {ts}Pledge Received{/ts}\n \n {$create_date|truncate:10:\'\'|crmDate}\n
\n {ts}Total Pledge Amount{/ts}\n \n {$total_pledge_amount|crmMoney:$currency}\n
\n {ts}Payment Schedule{/ts}\n
\n

{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}

\n\n {if $frequency_day}\n

{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}

\n {/if}\n
\n {ts 1=$count}Payment %1{/ts}\n \n {$payment.amount|crmMoney:$currency} {if $payment.status eq 1}{ts}paid{/ts} {$payment.receive_date|truncate:10:\'\'|crmDate}{else}{ts}due{/ts} {$payment.due_date|truncate:10:\'\'|crmDate}{/if}\n
\n

{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}

\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,825,0,1,0,NULL),(57,'Pledges - Payment Reminder','{ts}Pledge Payment Reminder{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$next_payment|truncate:10:\'\'|crmDate}This is a reminder that the next payment on your pledge is due on %1.{/ts}\n\n===========================================================\n{ts}Payment Due{/ts}\n\n===========================================================\n{ts}Amount Due{/ts}: {$amount_due|crmMoney:$currency}\n{ts}Due Date{/ts}: {$scheduled_payment_date|truncate:10:\'\'|crmDate}\n\n{if $contribution_page_id}\n{capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contribution_page_id`&cid=`$contact.contact_id`&pledgeId=`$pledge_id`&cs=`$checksumValue`\" a=true h=0}{/capture}\nClick this link to go to a web page where you can make your payment online:\n{$contributionUrl}\n{else}\n{ts}Please mail your payment to{/ts}:\n{$domain.address}\n{/if}\n\n===========================================================\n{ts}Pledge Information{/ts}\n\n===========================================================\n{ts}Pledge Received{/ts}: {$create_date|truncate:10:\'\'|crmDate}\n{ts}Total Pledge Amount{/ts}: {$amount|crmMoney:$currency}\n{ts}Total Paid{/ts}: {$amount_paid|crmMoney:$currency}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}\n\n\n{ts}Thank your for your generous support.{/ts}\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 \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$next_payment|truncate:10:\'\'|crmDate}This is a reminder that the next payment on your pledge is due on %1.{/ts}

\n
\n \n \n \n \n \n \n \n \n
\n {ts}Payment Due{/ts}\n
\n {ts}Amount Due{/ts}\n \n {$amount_due|crmMoney:$currency}\n
\n
\n {if $contribution_page_id}\n {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contribution_page_id`&cid=`$contact.contact_id`&pledgeId=`$pledge_id`&cs=`$checksumValue`\" a=true h=0}{/capture}\n

{ts}Go to a web page where you can make your payment online{/ts}

\n {else}\n

{ts}Please mail your payment to{/ts}: {$domain.address}

\n {/if}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Pledge Information{/ts}\n
\n {ts}Pledge Received{/ts}\n \n {$create_date|truncate:10:\'\'|crmDate}\n
\n {ts}Total Pledge Amount{/ts}\n \n {$amount|crmMoney:$currency}\n
\n {ts}Total Paid{/ts}\n \n {$amount_paid|crmMoney:$currency}\n
\n
\n

{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}

\n

{ts}Thank your for your generous support.{/ts}

\n
\n
\n\n\n\n',1,826,1,0,0,NULL),(58,'Pledges - Payment Reminder','{ts}Pledge Payment Reminder{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$next_payment|truncate:10:\'\'|crmDate}This is a reminder that the next payment on your pledge is due on %1.{/ts}\n\n===========================================================\n{ts}Payment Due{/ts}\n\n===========================================================\n{ts}Amount Due{/ts}: {$amount_due|crmMoney:$currency}\n{ts}Due Date{/ts}: {$scheduled_payment_date|truncate:10:\'\'|crmDate}\n\n{if $contribution_page_id}\n{capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contribution_page_id`&cid=`$contact.contact_id`&pledgeId=`$pledge_id`&cs=`$checksumValue`\" a=true h=0}{/capture}\nClick this link to go to a web page where you can make your payment online:\n{$contributionUrl}\n{else}\n{ts}Please mail your payment to{/ts}:\n{$domain.address}\n{/if}\n\n===========================================================\n{ts}Pledge Information{/ts}\n\n===========================================================\n{ts}Pledge Received{/ts}: {$create_date|truncate:10:\'\'|crmDate}\n{ts}Total Pledge Amount{/ts}: {$amount|crmMoney:$currency}\n{ts}Total Paid{/ts}: {$amount_paid|crmMoney:$currency}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}\n\n\n{ts}Thank your for your generous support.{/ts}\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 \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$next_payment|truncate:10:\'\'|crmDate}This is a reminder that the next payment on your pledge is due on %1.{/ts}

\n
\n \n \n \n \n \n \n \n \n
\n {ts}Payment Due{/ts}\n
\n {ts}Amount Due{/ts}\n \n {$amount_due|crmMoney:$currency}\n
\n
\n {if $contribution_page_id}\n {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contribution_page_id`&cid=`$contact.contact_id`&pledgeId=`$pledge_id`&cs=`$checksumValue`\" a=true h=0}{/capture}\n

{ts}Go to a web page where you can make your payment online{/ts}

\n {else}\n

{ts}Please mail your payment to{/ts}: {$domain.address}

\n {/if}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Pledge Information{/ts}\n
\n {ts}Pledge Received{/ts}\n \n {$create_date|truncate:10:\'\'|crmDate}\n
\n {ts}Total Pledge Amount{/ts}\n \n {$amount|crmMoney:$currency}\n
\n {ts}Total Paid{/ts}\n \n {$amount_paid|crmMoney:$currency}\n
\n
\n

{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}

\n

{ts}Thank your for your generous support.{/ts}

\n
\n
\n\n\n\n',1,826,0,1,0,NULL),(59,'Profiles - Admin Notification','{$grouptitle} {ts 1=$displayName}Submitted by %1{/ts}\n','{ts}Submitted For:{/ts} {$displayName}\n{ts}Date:{/ts} {$currentDate}\n{ts}Contact Summary:{/ts} {$contactLink}\n\n===========================================================\n{$grouptitle}\n\n===========================================================\n{foreach from=$values item=value key=valueName}\n{$valueName}: {$value}\n{/foreach}\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 \n \n \n \n \n \n \n\n \n \n \n\n {foreach from=$values item=value key=valueName}\n \n \n \n \n {/foreach}\n
\n {ts}Submitted For{/ts}\n \n {$displayName}\n
\n {ts}Date{/ts}\n \n {$currentDate}\n
\n {ts}Contact Summary{/ts}\n \n {$contactLink}\n
\n {$grouptitle}\n
\n {$valueName}\n \n {$value}\n
\n
\n
\n\n\n\n',1,827,1,0,0,NULL),(60,'Profiles - Admin Notification','{$grouptitle} {ts 1=$displayName}Submitted by %1{/ts}\n','{ts}Submitted For:{/ts} {$displayName}\n{ts}Date:{/ts} {$currentDate}\n{ts}Contact Summary:{/ts} {$contactLink}\n\n===========================================================\n{$grouptitle}\n\n===========================================================\n{foreach from=$values item=value key=valueName}\n{$valueName}: {$value}\n{/foreach}\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 \n \n \n \n \n \n \n\n \n \n \n\n {foreach from=$values item=value key=valueName}\n \n \n \n \n {/foreach}\n
\n {ts}Submitted For{/ts}\n \n {$displayName}\n
\n {ts}Date{/ts}\n \n {$currentDate}\n
\n {ts}Contact Summary{/ts}\n \n {$contactLink}\n
\n {$grouptitle}\n
\n {$valueName}\n \n {$value}\n
\n
\n
\n\n\n\n',1,827,0,1,0,NULL),(61,'Petition - signature added','Thank you for signing {$petition.title}','Thank you for signing {$petition.title}.\n','

Thank you for signing {$petition.title}.

\n\n{include file=\"CRM/Campaign/Page/Petition/SocialNetwork.tpl\" petition_id=$survey_id noscript=true emailMode=true}\n',1,828,1,0,0,NULL),(62,'Petition - signature added','Thank you for signing {$petition.title}','Thank you for signing {$petition.title}.\n','

Thank you for signing {$petition.title}.

\n\n{include file=\"CRM/Campaign/Page/Petition/SocialNetwork.tpl\" petition_id=$survey_id noscript=true emailMode=true}\n',1,828,0,1,0,NULL),(63,'Petition - need verification','Confirmation of signature needed for {$petition.title}\n','Thank you for signing {$petition.title}.\n\nIn order to complete your signature, we must confirm your e-mail.\nPlease do so by visiting the following email confirmation web page:\n\n{$petition.confirmUrlPlainText}\n\nIf you did not sign this petition, please ignore this message.\n','

Thank you for signing {$petition.title}.

\n\n

In order to complete your signature, we must confirm your e-mail.\n
\nPlease do so by visiting the following web page by clicking\non the link below or pasting the link into your browser.\n

\nEmail confirmation page: {$petition.confirmUrl}

\n\n

If you did not sign this petition, please ignore this message.

\n',1,829,1,0,0,NULL),(64,'Petition - need verification','Confirmation of signature needed for {$petition.title}\n','Thank you for signing {$petition.title}.\n\nIn order to complete your signature, we must confirm your e-mail.\nPlease do so by visiting the following email confirmation web page:\n\n{$petition.confirmUrlPlainText}\n\nIf you did not sign this petition, please ignore this message.\n','

Thank you for signing {$petition.title}.

\n\n

In order to complete your signature, we must confirm your e-mail.\n
\nPlease do so by visiting the following web page by clicking\non the link below or pasting the link into your browser.\n

\nEmail confirmation page: {$petition.confirmUrl}

\n\n

If you did not sign this petition, please ignore this message.

\n',1,829,0,1,0,NULL),(65,'Sample CiviMail Newsletter Template','Sample CiviMail Newsletter','','\n\n\n \n \n\n\n\n\n \n \n \n \n \n\n \n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \"Replace\n    \n Your Newsletter Title\n
\n
\n \n \n \n \n \n
\n \n Greetings {contact.display_name},\n

\n This is a sample template designed to help you get started creating and sending your own CiviMail messages. This template uses an HTML layout that is generally compatible with the wide variety of email clients that your recipients might be using (e.g. Gmail, Outlook, Yahoo, etc.).\n

You can select this \"Sample CiviMail Newsletter Template\" from the \"Use Template\" drop-down in Step 3 of creating a mailing, and customize it to your needs. Then check the \"Save as New Template\" box on the bottom the page to save your customized version for use in future mailings.\n

The logo you use must be uploaded to your server. Copy and paste the URL path to the logo into the <img src= tag in the HTML at the top. Click \"Source\" or the Image button if you are using the text editor.\n

\n Edit the color of the links and headers using the color button or by editing the HTML.\n

\n Your newsletter message and donation appeal can go here. Click the link button to create links - remember to use a fully qualified URL starting with http:// in all your links!\n

\n To use CiviMail:\n \n Sincerely,\n

\n Your Team\n

\n
\n
\n
\n \n \n \n \n \n \n \n \n
News and Events
\n \n Featured Events
\n Fundraising Dinner
\n Training Meeting
\n Board of Directors Annual Meeting
\n\n

\n Community Events
\n Bake Sale
\n Charity Auction
\n Art Exhibit
\n\n

\n Important Dates
\n Tuesday August 27
\n Wednesday September 8
\n Thursday September 29
\n Saturday October 1
\n Sunday October 20
\n
\n
\n
\n \n \n \n \n
\n \n Helpful Tips\n

\n Tokens
\n Click \"Insert Tokens\" to dynamically insert names, addresses, and other contact data of your recipients.\n

\n Plain Text Version
\n Some people refuse HTML emails altogether. We recommend sending a plain-text version of your important communications to accommodate them. Luckily, CiviCRM accommodates for this! Just click \"Plain Text\" and copy and paste in some text. Line breaks (carriage returns) and fully qualified URLs like http://www.example.com are all you get, no HTML here!\n

\n Play by the Rules
\n The address of the sender is required by the Can Spam Act law. This is an available token called domain.address. An unsubscribe or opt-out link is also required. There are several available tokens for this. {action.optOutUrl} creates a link for recipients to click if they want to opt out of receiving emails from your organization. {action.unsubscribeUrl} creates a link to unsubscribe from the specific mailing list used to send this message. Click on \"Insert Tokens\" to find these and look for tokens named \"Domain\" or \"Unsubscribe\". This sample template includes both required tokens at the bottom of the message. You can also configure a default Mailing Footer containing these tokens.\n

\n Composing Offline
\n If you prefer to compose an HTML email offline in your own text editor, you can upload this HTML content into CiviMail or simply click \"Source\" and then copy and paste the HTML in.\n

\n Images
\n Most email clients these days (Outlook, Gmail, etc) block image loading by default. This is to protect their users from annoying or harmful email. Not much we can do about this, so encourage recipients to add you to their contacts or \"whitelist\". Also use images sparingly, do not rely on images to convey vital information, and always use HTML \"alt\" tags which describe the image content.\n
\n
\n \n
\n Click here to unsubscribe from this mailing list.

\n Our mailing address is:
\n {domain.address}\n
\n\n\n\n',1,NULL,1,0,0,NULL),(66,'Sample Responsive Design Newsletter - Single Column Template','Sample Responsive Design Newsletter - Single Column','','\n\n \n \n\n \n\n\n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n
Organization or Program Name Here
\n\n \n \n \n \n \n \n
Month and Year
\n
 
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n
\"Replace\n
 
\n
\n
 
\n
\n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n
Headline Here
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\"\"
\n
 
Your Heading Here
 
\n

{contact.email_greeting},

\n

Replace with your text and images, and remember to link the facebook and twitter links in the footer to your pages. Have fun!

\n
Read More
 
\n
\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\"\"
\n
 
Your Heading Here
 
\n

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna

\n
Read More
 
\n
\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\"\"
\n
 
\n

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna

\n
\n
\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\"\"
\n
 
\n

Remember to link the facebook and twitter links below to your pages!

\n
Read More
\n
\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n \n \n \n \n \n
 Unsubscribe | Subscribe | Opt out
 {domain.address}
\n \n\n \n \n \n \n \n \n \n \n \n
\n \n  \n \n  
\n
 
\n
\n
\n\n\n\n',1,NULL,1,0,0,NULL),(67,'Sample Responsive Design Newsletter - Two Column Template','Sample Responsive Design Newsletter - Two Column','','\n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n
Organization or Program Name Here
\n\n \n \n \n \n \n \n
Month Year
\n
 
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n\n \n
\n \n \n \n \n \n \n \n \n \n \n
\"Replace
\n
 
\n
\n\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n
Hero Story Heading
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n\n \n\n\n\n \n \n
\n
\"\"
\n
 
Subheading Here
 
Replace with your text and images, and remember to link the facebook and twitter links in the footer to your pages. Have fun!
 
\n
\n
\n
Section Heading Here
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n
\"\"
\n \n\n \n \n \n \n \n \n
 
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Heading Here
 
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna
Read More
\n
\n
 
\n
\n
\n \n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
 
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n
\"\"
\n \n\n \n \n \n \n \n \n
 
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Heading Here
 
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna
Read More
\n
\n
 
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
 
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n
\"\"
\n \n\n \n \n \n \n \n \n
 
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Heading Here
 
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna
Read More
\n
\n
 
\n
\n
\n \n\n\n\n\n\n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
 
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n
\"\"
\n \n\n \n \n \n \n \n \n
 
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Heading Here
 
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna
Read More
\n
\n
 
\n

Remember to link the facebook and twitter links below to your pages!

\n
\n
\n
\n \n\n \n\n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n \n \n \n \n \n
 Unsubscribe | Subscribe | Opt out
 {domain.address}
\n \n \n \n \n \n \n \n \n \n \n
\n  \n \n  
\n
 
 
\n
\n
\n \n \n\n',1,NULL,1,0,0,NULL); +INSERT INTO `civicrm_msg_template` (`id`, `msg_title`, `msg_subject`, `msg_text`, `msg_html`, `is_active`, `workflow_id`, `is_default`, `is_reserved`, `is_sms`, `pdf_format_id`) VALUES (1,'Cases - Send Copy of an Activity','{if $idHash}[case #{$idHash}]{/if} {$activitySubject}\n','===========================================================\n{ts}Activity Summary{/ts} - {$activityTypeName}\n===========================================================\n{if $isCaseActivity}\n{ts}Your Case Role(s){/ts} : {$contact.role}\n{if $manageCaseURL}\n{ts}Manage Case{/ts} : {$manageCaseURL}\n{/if}\n{/if}\n\n{if $editActURL}\n{ts}Edit activity{/ts} : {$editActURL}\n{/if}\n{if $viewActURL}\n{ts}View activity{/ts} : {$viewActURL}\n{/if}\n\n{foreach from=$activity.fields item=field}\n{if $field.type eq \'Date\'}\n{$field.label}{if $field.category}({$field.category}){/if} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label}{if $field.category}({$field.category}){/if} : {$field.value}\n{/if}\n{/foreach}\n\n{foreach from=$activity.customGroups key=customGroupName item=customGroup}\n==========================================================\n{$customGroupName}\n==========================================================\n{foreach from=$customGroup item=field}\n{if $field.type eq \'Date\'}\n{$field.label} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label} : {$field.value}\n{/if}\n{/foreach}\n\n{/foreach}\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 {if $isCaseActivity}\n \n \n \n \n {if $manageCaseURL}\n \n \n \n {/if}\n {/if}\n {if $editActURL}\n \n \n \n {/if}\n {if $viewActURL}\n \n \n \n {/if}\n {foreach from=$activity.fields item=field}\n \n \n \n \n {/foreach}\n\n {foreach from=$activity.customGroups key=customGroupName item=customGroup}\n \n \n \n {foreach from=$customGroup item=field}\n \n \n \n \n {/foreach}\n {/foreach}\n
\n {ts}Activity Summary{/ts} - {$activityTypeName}\n
\n {ts}Your Case Role(s){/ts}\n \n {$contact.role}\n
\n {ts}Manage Case{/ts}\n
\n {ts}Edit activity{/ts}\n
\n {ts}View activity{/ts}\n
\n {$field.label}{if $field.category}({$field.category}){/if}\n \n {if $field.type eq \'Date\'}\n {$field.value|crmDate:$config->dateformatDatetime}\n {else}\n {$field.value}\n {/if}\n
\n {$customGroupName}\n
\n {$field.label}\n \n {if $field.type eq \'Date\'}\n {$field.value|crmDate:$config->dateformatDatetime}\n {else}\n {$field.value}\n {/if}\n
\n
\n
\n\n\n\n',1,798,1,0,0,NULL),(2,'Cases - Send Copy of an Activity','{if $idHash}[case #{$idHash}]{/if} {$activitySubject}\n','===========================================================\n{ts}Activity Summary{/ts} - {$activityTypeName}\n===========================================================\n{if $isCaseActivity}\n{ts}Your Case Role(s){/ts} : {$contact.role}\n{if $manageCaseURL}\n{ts}Manage Case{/ts} : {$manageCaseURL}\n{/if}\n{/if}\n\n{if $editActURL}\n{ts}Edit activity{/ts} : {$editActURL}\n{/if}\n{if $viewActURL}\n{ts}View activity{/ts} : {$viewActURL}\n{/if}\n\n{foreach from=$activity.fields item=field}\n{if $field.type eq \'Date\'}\n{$field.label}{if $field.category}({$field.category}){/if} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label}{if $field.category}({$field.category}){/if} : {$field.value}\n{/if}\n{/foreach}\n\n{foreach from=$activity.customGroups key=customGroupName item=customGroup}\n==========================================================\n{$customGroupName}\n==========================================================\n{foreach from=$customGroup item=field}\n{if $field.type eq \'Date\'}\n{$field.label} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label} : {$field.value}\n{/if}\n{/foreach}\n\n{/foreach}\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 {if $isCaseActivity}\n \n \n \n \n {if $manageCaseURL}\n \n \n \n {/if}\n {/if}\n {if $editActURL}\n \n \n \n {/if}\n {if $viewActURL}\n \n \n \n {/if}\n {foreach from=$activity.fields item=field}\n \n \n \n \n {/foreach}\n\n {foreach from=$activity.customGroups key=customGroupName item=customGroup}\n \n \n \n {foreach from=$customGroup item=field}\n \n \n \n \n {/foreach}\n {/foreach}\n
\n {ts}Activity Summary{/ts} - {$activityTypeName}\n
\n {ts}Your Case Role(s){/ts}\n \n {$contact.role}\n
\n {ts}Manage Case{/ts}\n
\n {ts}Edit activity{/ts}\n
\n {ts}View activity{/ts}\n
\n {$field.label}{if $field.category}({$field.category}){/if}\n \n {if $field.type eq \'Date\'}\n {$field.value|crmDate:$config->dateformatDatetime}\n {else}\n {$field.value}\n {/if}\n
\n {$customGroupName}\n
\n {$field.label}\n \n {if $field.type eq \'Date\'}\n {$field.value|crmDate:$config->dateformatDatetime}\n {else}\n {$field.value}\n {/if}\n
\n
\n
\n\n\n\n',1,798,0,1,0,NULL),(3,'Contributions - Duplicate Organization Alert','{ts}CiviContribute Alert: Possible Duplicate Contact Record{/ts}\n','{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}\n{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}\n\n{ts}Organization Name{/ts}: {$onBehalfName}\n{ts}Organization Email{/ts}: {$onBehalfEmail}\n{ts}Organization Contact ID{/ts}: {$onBehalfID}\n\n{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}\n\n{if $receiptMessage}\n###########################################################\n{ts}Copy of Contribution Receipt{/ts}\n\n###########################################################\n{$receiptMessage}\n\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\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n {if $receiptMessage}\n \n \n \n {/if}\n
\n

{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}

\n

{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Organization Name{/ts}\n \n {$onBehalfName}\n
\n {ts}Organization Email{/ts}\n \n {$onBehalfEmail}\n
\n {ts}Organization Contact ID{/ts}\n \n {$onBehalfID}\n
\n
\n

{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}

\n
\n \n \n \n \n \n \n \n
\n {ts}Copy of Contribution Receipt{/ts}\n
\n {* FIXME: the below is most probably not HTML-ised *}\n {$receiptMessage}\n
\n
\n
\n\n\n\n',1,799,1,0,0,NULL),(4,'Contributions - Duplicate Organization Alert','{ts}CiviContribute Alert: Possible Duplicate Contact Record{/ts}\n','{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}\n{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}\n\n{ts}Organization Name{/ts}: {$onBehalfName}\n{ts}Organization Email{/ts}: {$onBehalfEmail}\n{ts}Organization Contact ID{/ts}: {$onBehalfID}\n\n{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}\n\n{if $receiptMessage}\n###########################################################\n{ts}Copy of Contribution Receipt{/ts}\n\n###########################################################\n{$receiptMessage}\n\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\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n {if $receiptMessage}\n \n \n \n {/if}\n
\n

{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}

\n

{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Organization Name{/ts}\n \n {$onBehalfName}\n
\n {ts}Organization Email{/ts}\n \n {$onBehalfEmail}\n
\n {ts}Organization Contact ID{/ts}\n \n {$onBehalfID}\n
\n
\n

{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}

\n
\n \n \n \n \n \n \n \n
\n {ts}Copy of Contribution Receipt{/ts}\n
\n {* FIXME: the below is most probably not HTML-ised *}\n {$receiptMessage}\n
\n
\n
\n\n\n\n',1,799,0,1,0,NULL),(5,'Contributions - Receipt (off-line)','{ts}Contribution Receipt{/ts}\n','{if $formValues.receipt_text}\n{$formValues.receipt_text}\n{else}{ts}Thank you for your support.{/ts}{/if}\n\n{ts}Please print this receipt for your records.{/ts}\n\n\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\n{if $lineItem}\n{foreach from=$lineItem item=value key=priceset}\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 $getTaxDetails}\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{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $getTaxDetails} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\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 $getTaxDetails}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $getTaxDetails && $dataArray}\n{ts}Amount before Tax{/ts} : {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0 || $value != \'\'}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}% : {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm} : {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n{ts}Total Tax Amount{/ts} : {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{ts}Total Amount{/ts} : {$formValues.total_amount|crmMoney:$currency}\n{if $receive_date}\n{ts}Date Received{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if $receipt_date}\n{ts}Receipt Date{/ts}: {$receipt_date|truncate:10:\'\'|crmDate}\n{/if}\n{if $formValues.paidBy and !$formValues.hidden_CreditCard}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if $formValues.check_number}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{if $formValues.trxn_id}\n{ts}Transaction ID{/ts}: {$formValues.trxn_id}\n{/if}\n\n{if $ccContribution}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n===========================================================\n{ts}Credit Card Information{/ts}\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 $customGroup}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $softCreditTypes and $softCredits}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $formValues.product_name}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$formValues.product_name}\n{if $formValues.product_option}\n{ts}Option{/ts}: {$formValues.product_option}\n{/if}\n{if $formValues.product_sku}\n{ts}SKU{/ts}: {$formValues.product_sku}\n{/if}\n{if $fulfilled_date}\n{ts}Sent{/ts}: {$fulfilled_date|crmDate}\n{/if}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n\n {if $formValues.receipt_text}\n

{$formValues.receipt_text|htmlize}

\n {else}\n

{ts}Thank you for your support.{/ts}

\n {/if}\n\n

{ts}Please print this receipt for your records.{/ts}

\n\n
\n \n \n \n \n \n \n \n \n\n {if $lineItem and !$is_quick_config}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {/if}\n {if $getTaxDetails && $dataArray}\n \n \n \n \n\n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0 || $value != \'\'}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n\n {if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n \n \n \n \n {/if}\n\n \n \n \n \n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $receipt_date}\n \n \n \n \n {/if}\n\n {if $formValues.paidBy and !$formValues.hidden_CreditCard}\n \n \n \n \n {if $formValues.check_number}\n \n \n \n \n {/if}\n {/if}\n\n {if $formValues.trxn_id}\n \n \n \n \n {/if}\n\n {if $ccContribution}\n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n\n {if $softCreditTypes and $softCredits}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n \n \n \n {foreach from=$softCredits.$n item=value key=label}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $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 {if $formValues.product_name}\n \n \n \n \n \n \n {if $formValues.product_option}\n \n \n \n \n {/if}\n {if $formValues.product_sku}\n \n \n \n \n {/if}\n {if $fulfilled_date}\n \n \n \n \n {/if}\n {/if}\n\n
\n {ts}Contribution Information{/ts}\n
\n {ts}Financial Type{/ts}\n \n {$formValues.contributionType_name}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $getTaxDetails}\n \n \n \n {/if}\n \n \n {foreach from=$value item=line}\n \n \n \n \n {if $getTaxDetails}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney:$currency}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney:$currency}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n
\n
\n {ts} Amount before Tax : {/ts}\n \n {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$formValues.total_amount|crmMoney:$currency}\n
\n {ts}Date Received{/ts}\n \n {$receive_date|truncate:10:\'\'|crmDate}\n
\n {ts}Receipt Date{/ts}\n \n {$receipt_date|truncate:10:\'\'|crmDate}\n
\n {ts}Paid By{/ts}\n \n {$formValues.paidBy}\n
\n {ts}Check Number{/ts}\n \n {$formValues.check_number}\n
\n {ts}Transaction ID{/ts}\n \n {$formValues.trxn_id}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\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
\n {$softCreditType}\n
\n {$label}\n \n {$value}\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n {ts}Premium Information{/ts}\n
\n {$formValues.product_name}\n
\n {ts}Option{/ts}\n \n {$formValues.product_option}\n
\n {ts}SKU{/ts}\n \n {$formValues.product_sku}\n
\n {ts}Sent{/ts}\n \n {$fulfilled_date|truncate:10:\'\'|crmDate}\n
\n
\n
\n\n\n\n',1,800,1,0,0,NULL),(6,'Contributions - Receipt (off-line)','{ts}Contribution Receipt{/ts}\n','{if $formValues.receipt_text}\n{$formValues.receipt_text}\n{else}{ts}Thank you for your support.{/ts}{/if}\n\n{ts}Please print this receipt for your records.{/ts}\n\n\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\n{if $lineItem}\n{foreach from=$lineItem item=value key=priceset}\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 $getTaxDetails}\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{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $getTaxDetails} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\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 $getTaxDetails}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $getTaxDetails && $dataArray}\n{ts}Amount before Tax{/ts} : {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0 || $value != \'\'}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}% : {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm} : {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n{ts}Total Tax Amount{/ts} : {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{ts}Total Amount{/ts} : {$formValues.total_amount|crmMoney:$currency}\n{if $receive_date}\n{ts}Date Received{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if $receipt_date}\n{ts}Receipt Date{/ts}: {$receipt_date|truncate:10:\'\'|crmDate}\n{/if}\n{if $formValues.paidBy and !$formValues.hidden_CreditCard}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if $formValues.check_number}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{if $formValues.trxn_id}\n{ts}Transaction ID{/ts}: {$formValues.trxn_id}\n{/if}\n\n{if $ccContribution}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n===========================================================\n{ts}Credit Card Information{/ts}\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 $customGroup}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $softCreditTypes and $softCredits}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $formValues.product_name}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$formValues.product_name}\n{if $formValues.product_option}\n{ts}Option{/ts}: {$formValues.product_option}\n{/if}\n{if $formValues.product_sku}\n{ts}SKU{/ts}: {$formValues.product_sku}\n{/if}\n{if $fulfilled_date}\n{ts}Sent{/ts}: {$fulfilled_date|crmDate}\n{/if}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n\n {if $formValues.receipt_text}\n

{$formValues.receipt_text|htmlize}

\n {else}\n

{ts}Thank you for your support.{/ts}

\n {/if}\n\n

{ts}Please print this receipt for your records.{/ts}

\n\n
\n \n \n \n \n \n \n \n \n\n {if $lineItem and !$is_quick_config}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {/if}\n {if $getTaxDetails && $dataArray}\n \n \n \n \n\n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0 || $value != \'\'}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n\n {if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n \n \n \n \n {/if}\n\n \n \n \n \n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $receipt_date}\n \n \n \n \n {/if}\n\n {if $formValues.paidBy and !$formValues.hidden_CreditCard}\n \n \n \n \n {if $formValues.check_number}\n \n \n \n \n {/if}\n {/if}\n\n {if $formValues.trxn_id}\n \n \n \n \n {/if}\n\n {if $ccContribution}\n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n\n {if $softCreditTypes and $softCredits}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n \n \n \n {foreach from=$softCredits.$n item=value key=label}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $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 {if $formValues.product_name}\n \n \n \n \n \n \n {if $formValues.product_option}\n \n \n \n \n {/if}\n {if $formValues.product_sku}\n \n \n \n \n {/if}\n {if $fulfilled_date}\n \n \n \n \n {/if}\n {/if}\n\n
\n {ts}Contribution Information{/ts}\n
\n {ts}Financial Type{/ts}\n \n {$formValues.contributionType_name}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $getTaxDetails}\n \n \n \n {/if}\n \n \n {foreach from=$value item=line}\n \n \n \n \n {if $getTaxDetails}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney:$currency}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney:$currency}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n
\n
\n {ts} Amount before Tax : {/ts}\n \n {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$formValues.total_amount|crmMoney:$currency}\n
\n {ts}Date Received{/ts}\n \n {$receive_date|truncate:10:\'\'|crmDate}\n
\n {ts}Receipt Date{/ts}\n \n {$receipt_date|truncate:10:\'\'|crmDate}\n
\n {ts}Paid By{/ts}\n \n {$formValues.paidBy}\n
\n {ts}Check Number{/ts}\n \n {$formValues.check_number}\n
\n {ts}Transaction ID{/ts}\n \n {$formValues.trxn_id}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\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
\n {$softCreditType}\n
\n {$label}\n \n {$value}\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n {ts}Premium Information{/ts}\n
\n {$formValues.product_name}\n
\n {ts}Option{/ts}\n \n {$formValues.product_option}\n
\n {ts}SKU{/ts}\n \n {$formValues.product_sku}\n
\n {ts}Sent{/ts}\n \n {$fulfilled_date|truncate:10:\'\'|crmDate}\n
\n
\n
\n\n\n\n',1,800,0,1,0,NULL),(7,'Contributions - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}\n','{if $receipt_text}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{else}\n\n{ts}Please print this receipt for your records.{/ts}\n{/if}\n\n{if $amount}\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{if $lineItem and $priceSetID and !$is_quick_config}\n{foreach from=$lineItem item=value key=priceset}\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 $dataArray}\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{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\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 $dataArray}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney:$currency}\n{else}\n{ts}Amount{/ts}: {$amount|crmMoney:$currency} {if $amount_level } - {$amount_level} {/if}\n{/if}\n{/if}\n{if $receive_date}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $is_monetary and $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n\n{if $is_recur and ($contributeMode eq \'notify\' or $contributeMode eq \'directIPN\')}\n{ts}This is a recurring contribution. You can cancel future contributions at:{/ts}\n\n{$cancelSubscriptionUrl}\n\n{if $updateSubscriptionBillingUrl}\n{ts}You can update billing details for this recurring contribution at:{/ts}\n\n{$updateSubscriptionBillingUrl}\n\n{/if}\n{ts}You can update recurring contribution amount or change the number of installments for this recurring contribution at:{/ts}\n\n{$updateSubscriptionUrl}\n\n{/if}\n\n{if $honor_block_is_active}\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n{elseif $softCreditTypes and $softCredits}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n{if $pcpBlock}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if $onBehalfProfile}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !( $contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\' ) and $is_monetary}\n{if $is_pay_later && !$isBillingAddressRequiredForPayLater}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{elseif $amount GT 0}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{/if} {* End ! is_pay_later condition. *}\n{/if}\n{if $contributeMode eq \'direct\' AND !$is_pay_later AND $amount GT 0}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if $selectPremium }\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if $contact_email OR $contact_phone}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if $contact_email}\n {$contact_email}\n{/if}\n{if $contact_phone}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND $price}\n\n{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if $customPre}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if $customPost}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}','\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 {if $receipt_text}\n

{$receipt_text|htmlize}

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

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n\n {if $amount}\n\n\n \n \n \n\n {if $lineItem and $priceSetID and !$is_quick_config}\n\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n\n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {else}\n\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {/if}\n\n {/if}\n\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $is_monetary and $trxn_id}\n \n \n \n \n {/if}\n\n {if $is_recur}\n {if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n \n \n \n \n {/if}\n {/if}\n\n {if $honor_block_is_active}\n \n \n \n {foreach from=$honoreeProfile item=value key=label}\n \n \n \n \n {/foreach}\n {elseif $softCreditTypes and $softCredits}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n \n \n \n {foreach from=$softCredits.$n item=value key=label}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $pcpBlock}\n \n \n \n \n \n \n \n {if $pcp_roll_nickname}\n \n \n \n \n {/if}\n {if $pcp_personal_note}\n \n \n \n \n {/if}\n {/if}\n\n {if $onBehalfProfile}\n \n \n \n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n \n \n \n \n {/foreach}\n {/if}\n\n {if $isShare}\n \n \n \n {/if}\n\n {if ! ($contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\') and $is_monetary}\n {if $is_pay_later && !$isBillingAddressRequiredForPayLater}\n \n \n \n \n \n \n {elseif $amount GT 0}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $contributeMode eq \'direct\' AND !$is_pay_later AND $amount GT 0}\n \n \n \n \n \n \n {/if}\n\n {if $selectPremium}\n \n \n \n \n \n \n {if $option}\n \n \n \n \n {/if}\n {if $sku}\n \n \n \n \n {/if}\n {if $start_date}\n \n \n \n \n {/if}\n {if $end_date}\n \n \n \n \n {/if}\n {if $contact_email OR $contact_phone}\n \n \n \n {/if}\n {if $is_deductible AND $price}\n \n \n \n {/if}\n {/if}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n
\n {ts}Contribution Information{/ts}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n \n {foreach from=$value item=line}\n \n \n \n \n {if $getTaxDetails}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney:$currency}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney:$currency}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n
\n
\n {ts} Amount before Tax : {/ts}\n \n {$amount-$totalTaxAmount|crmMoney:$currency}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$amount|crmMoney:$currency}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$amount|crmMoney:$currency} {if $amount_level} - {$amount_level}{/if}\n
\n {ts}Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts 1=$cancelSubscriptionUrl}This is a recurring contribution. You can cancel future contributions by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by visiting this web page.{/ts}\n
\n {$soft_credit_type}\n
\n {$label}\n \n {$value}\n
\n {$softCreditType}\n
\n {$label}\n \n {$value}\n
\n {ts}Personal Campaign Page{/ts}\n
\n {ts}Display In Honor Roll{/ts}\n \n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n
\n {ts}Nickname{/ts}\n \n {$pcp_roll_nickname}\n
\n {ts}Personal Note{/ts}\n \n {$pcp_personal_note}\n
\n {$onBehalfProfile_grouptitle}\n
\n {$onBehalfName}\n \n {$onBehalfValue}\n
\n {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contributionPageId`\" a=true fe=1 h=1}{/capture}\n {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$contributionUrl title=$title pageURL=$contributionUrl}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\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
\n {ts}Premium Information{/ts}\n
\n {$product_name}\n
\n {ts}Option{/ts}\n \n {$option}\n
\n {ts}SKU{/ts}\n \n {$sku}\n
\n {ts}Start Date{/ts}\n \n {$start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$end_date|crmDate}\n
\n

{ts}For information about this premium, contact:{/ts}

\n {if $contact_email}\n

{$contact_email}

\n {/if}\n {if $contact_phone}\n

{$contact_phone}

\n {/if}\n
\n

{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}

\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n
\n\n\n\n',1,801,1,0,0,NULL),(8,'Contributions - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}\n','{if $receipt_text}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{else}\n\n{ts}Please print this receipt for your records.{/ts}\n{/if}\n\n{if $amount}\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{if $lineItem and $priceSetID and !$is_quick_config}\n{foreach from=$lineItem item=value key=priceset}\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 $dataArray}\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{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\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 $dataArray}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney:$currency}\n{else}\n{ts}Amount{/ts}: {$amount|crmMoney:$currency} {if $amount_level } - {$amount_level} {/if}\n{/if}\n{/if}\n{if $receive_date}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $is_monetary and $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n\n{if $is_recur and ($contributeMode eq \'notify\' or $contributeMode eq \'directIPN\')}\n{ts}This is a recurring contribution. You can cancel future contributions at:{/ts}\n\n{$cancelSubscriptionUrl}\n\n{if $updateSubscriptionBillingUrl}\n{ts}You can update billing details for this recurring contribution at:{/ts}\n\n{$updateSubscriptionBillingUrl}\n\n{/if}\n{ts}You can update recurring contribution amount or change the number of installments for this recurring contribution at:{/ts}\n\n{$updateSubscriptionUrl}\n\n{/if}\n\n{if $honor_block_is_active}\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n{elseif $softCreditTypes and $softCredits}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n{if $pcpBlock}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if $onBehalfProfile}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !( $contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\' ) and $is_monetary}\n{if $is_pay_later && !$isBillingAddressRequiredForPayLater}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{elseif $amount GT 0}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{/if} {* End ! is_pay_later condition. *}\n{/if}\n{if $contributeMode eq \'direct\' AND !$is_pay_later AND $amount GT 0}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if $selectPremium }\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if $contact_email OR $contact_phone}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if $contact_email}\n {$contact_email}\n{/if}\n{if $contact_phone}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND $price}\n\n{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if $customPre}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if $customPost}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}','\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 {if $receipt_text}\n

{$receipt_text|htmlize}

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

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n\n {if $amount}\n\n\n \n \n \n\n {if $lineItem and $priceSetID and !$is_quick_config}\n\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n\n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {else}\n\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {/if}\n\n {/if}\n\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $is_monetary and $trxn_id}\n \n \n \n \n {/if}\n\n {if $is_recur}\n {if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n \n \n \n \n {/if}\n {/if}\n\n {if $honor_block_is_active}\n \n \n \n {foreach from=$honoreeProfile item=value key=label}\n \n \n \n \n {/foreach}\n {elseif $softCreditTypes and $softCredits}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n \n \n \n {foreach from=$softCredits.$n item=value key=label}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $pcpBlock}\n \n \n \n \n \n \n \n {if $pcp_roll_nickname}\n \n \n \n \n {/if}\n {if $pcp_personal_note}\n \n \n \n \n {/if}\n {/if}\n\n {if $onBehalfProfile}\n \n \n \n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n \n \n \n \n {/foreach}\n {/if}\n\n {if $isShare}\n \n \n \n {/if}\n\n {if ! ($contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\') and $is_monetary}\n {if $is_pay_later && !$isBillingAddressRequiredForPayLater}\n \n \n \n \n \n \n {elseif $amount GT 0}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $contributeMode eq \'direct\' AND !$is_pay_later AND $amount GT 0}\n \n \n \n \n \n \n {/if}\n\n {if $selectPremium}\n \n \n \n \n \n \n {if $option}\n \n \n \n \n {/if}\n {if $sku}\n \n \n \n \n {/if}\n {if $start_date}\n \n \n \n \n {/if}\n {if $end_date}\n \n \n \n \n {/if}\n {if $contact_email OR $contact_phone}\n \n \n \n {/if}\n {if $is_deductible AND $price}\n \n \n \n {/if}\n {/if}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n
\n {ts}Contribution Information{/ts}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n \n {foreach from=$value item=line}\n \n \n \n \n {if $getTaxDetails}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney:$currency}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney:$currency}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n
\n
\n {ts} Amount before Tax : {/ts}\n \n {$amount-$totalTaxAmount|crmMoney:$currency}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$amount|crmMoney:$currency}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$amount|crmMoney:$currency} {if $amount_level} - {$amount_level}{/if}\n
\n {ts}Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts 1=$cancelSubscriptionUrl}This is a recurring contribution. You can cancel future contributions by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by visiting this web page.{/ts}\n
\n {$soft_credit_type}\n
\n {$label}\n \n {$value}\n
\n {$softCreditType}\n
\n {$label}\n \n {$value}\n
\n {ts}Personal Campaign Page{/ts}\n
\n {ts}Display In Honor Roll{/ts}\n \n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n
\n {ts}Nickname{/ts}\n \n {$pcp_roll_nickname}\n
\n {ts}Personal Note{/ts}\n \n {$pcp_personal_note}\n
\n {$onBehalfProfile_grouptitle}\n
\n {$onBehalfName}\n \n {$onBehalfValue}\n
\n {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contributionPageId`\" a=true fe=1 h=1}{/capture}\n {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$contributionUrl title=$title pageURL=$contributionUrl}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\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
\n {ts}Premium Information{/ts}\n
\n {$product_name}\n
\n {ts}Option{/ts}\n \n {$option}\n
\n {ts}SKU{/ts}\n \n {$sku}\n
\n {ts}Start Date{/ts}\n \n {$start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$end_date|crmDate}\n
\n

{ts}For information about this premium, contact:{/ts}

\n {if $contact_email}\n

{$contact_email}

\n {/if}\n {if $contact_phone}\n

{$contact_phone}

\n {/if}\n
\n

{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}

\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n
\n\n\n\n',1,801,0,1,0,NULL),(9,'Contributions - Invoice','{if $title}\n {if $component}\n {if $component == \'event\'}\n {ts 1=$title}Event Registration Invoice: %1{/ts}\n {else}\n {ts 1=$title}Contribution Invoice: %1{/ts}\n {/if}\n {/if}\n{else}\n {ts}Invoice{/ts}\n{/if}\n','{ts}Contribution Invoice{/ts}\n','\n\n \n \n \n \n \n \n \n \n \n
\n
\n \n \n \n \n \n \n \n \n {if $organization_name}\n \n {else}\n \n {/if}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{ts}INVOICE{/ts}{ts}Invoice Date:{/ts}{$domain_organization}
{$display_name} ({$organization_name}){$display_name}{$invoice_date}\n \n {if $domain_street_address }{$domain_street_address}{/if}\n {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}\n \n
{$street_address} {$supplemental_address_1}{ts}Invoice Number:{/ts}\n \n {if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n {if $domain_state }{$domain_state}{/if}\n \n
{$supplemental_address_2} {$stateProvinceAbbreviation}{$invoice_id}\n \n {if $domain_city}{$domain_city}{/if}\n {if $domain_postal_code }{$domain_postal_code}{/if}\n \n
{$city} {$postal_code}{ts}Reference:{/ts} {if $domain_country}{$domain_country}{/if}
{$source} {if $domain_phone}{$domain_phone}{/if}
{if $domain_email}{$domain_email}{/if}
\n \n \n \n \n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n \n {foreach from=$lineItem item=value key=priceset name=taxpricevalue}\n {if $smarty.foreach.taxpricevalue.index eq 0}\n \n \n \n {else}\n \n \n \n {/if}\n \n \n \n \n {if $value.tax_amount != \'\'}\n \n {else}\n \n {/if}\n \n \n {/foreach}\n \n \n \n \n \n \n {foreach from = $dataArray item = value key = priceset}\n \n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n \n {/if}\n {/foreach}\n \n \n \n \n \n \n \n \n \n {if $is_pay_later == 0}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n


\n \n \n \n {if $contribution_status_id == $pendingStatusId && $is_pay_later == 1}\n \n \n \n \n {/if}\n
{ts}Description{/ts}{ts}Quantity{/ts}{ts}Unit Price{/ts}{$taxTerm} {ts 1=$defaultCurrency}Amount %1{/ts}


\n {if $value.html_type eq \'Text\'}\n {$value.label}\n {else}\n {$value.field_title} - {$value.label}\n {/if} \n {if $value.description}\n
{$value.description|truncate:30:\"...\"}
\n {/if}\n
\n
{$value.qty} {$value.unit_price|crmMoney:$currency} {$value.tax_rate}%{ts 1=$taxTerm}No %1{/ts}{$value.subTotal|crmMoney:$currency}

{ts}Sub Total{/ts} {$subTotal|crmMoney:$currency}
{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts}{$value|crmMoney:$currency} {ts 1=$taxTerm}TOTAL NO %1{/ts}{$value|crmMoney:$currency}

{ts 1=$defaultCurrency}TOTAL %1{/ts}{$amount|crmMoney:$currency}
\n {if $contribution_status_id == $refundedStatusId}\n {ts}LESS Amount Credited{/ts}\n {else}\n {ts}LESS Amount Paid{/ts}\n {/if}\n \n {$amount|crmMoney:$currency}

{ts}AMOUNT DUE:{/ts} {$amountDue|crmMoney:$currency}
{ts 1=$dueDate}DUE DATE: %1{/ts}
\n
\n {if $contribution_status_id == $pendingStatusId && $is_pay_later == 1}\n \n \n \n \n
\n \n \n \n \n \n
{ts}PAYMENT ADVICE{/ts}

{ts}To: {/ts}
\n {$domain_organization}
\n {$domain_street_address} {$domain_supplemental_address_1}
\n {$domain_supplemental_address_2} {$domain_state}
\n {$domain_city} {$domain_postal_code}
\n {$domain_country}
\n {$domain_phone}
\n {$domain_email}
\n


{$notes}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {if $is_pay_later == 1}\n \n \n \n \n \n {else}\n \n \n \n \n \n {/if}\n \n \n \n \n \n \n \n \n
{ts}Customer: {/ts}{$display_name}
{ts}Invoice Number: {/ts}{$invoice_id}

{ts}Amount Due:{/ts}{$amount|crmMoney:$currency}
{ts}Amount Due: {/ts}{$amountDue|crmMoney:$currency}
{ts}Due Date: {/ts}{$dueDate}

\n
\n {/if}\n\n {if $contribution_status_id == $refundedStatusId || $contribution_status_id == $cancelledStatusId}\n \n \n \n \n
\n
\n\n \n \n \n \n \n \n \n \n {if $organization_name}\n \n {else}\n \n {/if}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{ts}CREDIT NOTE{/ts}{ts}Date:{/ts}{$domain_organization}
{$display_name} ({$organization_name}){$display_name}{$invoice_date}\n \n {if $domain_street_address }{$domain_street_address}{/if}\n {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}\n \n
{$street_address} {$supplemental_address_1}{ts}Credit Note Number:{/ts}\n \n {if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n {if $domain_state }{$domain_state}{/if}\n \n
{$supplemental_address_2} {$stateProvinceAbbreviation}{$creditnote_id}\n \n {if $domain_city}{$domain_city}{/if}\n {if $domain_postal_code }{$domain_postal_code}{/if}\n \n
{$city} {$postal_code}{ts}Reference:{/ts}\n \n {if $domain_country}{$domain_country}{/if}\n \n
{$source}\n \n {if $domain_phone}{$domain_phone}{/if}\n \n
\n \n {if $domain_email}{$domain_email}{/if}\n \n
\n\n \n \n \n \n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n \n {foreach from=$lineItem item=value key=priceset name=pricevalue}\n {if $smarty.foreach.pricevalue.index eq 0}\n \n {else}\n \n {/if}\n \n \n \n \n {if $value.tax_amount != \'\'}\n \n {else}\n \n {/if}\n \n \n {/foreach}\n \n \n \n \n \n \n {foreach from = $dataArray item = value key = priceset}\n \n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n \n {/if}\n {/foreach}\n \n \n \n \n \n \n \n \n \n {if $is_pay_later == 0}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n


\n \n \n \n \n \n \n \n
{ts}Description{/ts}{ts}Quantity{/ts}{ts}Unit Price{/ts}{$taxTerm} {ts 1=$defaultCurrency}Amount %1{/ts}


\n \n {if $value.html_type eq \'Text\'}\n {$value.label}\n {else}\n {$value.field_title} - {$value.label}\n {/if} \n {if $value.description}\n
{$value.description|truncate:30:\"...\"}
\n {/if}\n
\n
{$value.qty} {$value.unit_price|crmMoney:$currency} {$value.tax_rate}%{ts 1=$taxTerm}No %1{/ts}{$value.subTotal|crmMoney:$currency}

{ts}Sub Total{/ts} {$subTotal|crmMoney:$currency}
{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts}{$value|crmMoney:$currency} {ts 1=$taxTerm}TOTAL NO %1{/ts}{$value|crmMoney:$currency}

{ts 1=$defaultCurrency}TOTAL %1{/ts}{$amount|crmMoney:$currency}
{ts}LESS Credit to invoice(s){/ts}{$amount|crmMoney:$currency}

{ts}REMAINING CREDIT{/ts}{$amountDue|crmMoney:$currency}
\n
\n \n \n \n \n
\n\n \n \n \n \n \n
{ts}CREDIT ADVICE{/ts}

{ts}Please do not pay on this advice. Deduct the amount of this Credit Note from your next payment to us{/ts}

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{ts}Customer:{/ts} {$display_name}
{ts}Credit Note#:{/ts} {$creditnote_id}

{ts}Credit Amount:{/ts}{$amount|crmMoney:$currency}
\n
\n {/if}\n
\n \n\n',1,802,1,0,0,NULL),(10,'Contributions - Invoice','{if $title}\n {if $component}\n {if $component == \'event\'}\n {ts 1=$title}Event Registration Invoice: %1{/ts}\n {else}\n {ts 1=$title}Contribution Invoice: %1{/ts}\n {/if}\n {/if}\n{else}\n {ts}Invoice{/ts}\n{/if}\n','{ts}Contribution Invoice{/ts}\n','\n\n \n \n \n \n \n \n \n \n \n
\n
\n \n \n \n \n \n \n \n \n {if $organization_name}\n \n {else}\n \n {/if}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{ts}INVOICE{/ts}{ts}Invoice Date:{/ts}{$domain_organization}
{$display_name} ({$organization_name}){$display_name}{$invoice_date}\n \n {if $domain_street_address }{$domain_street_address}{/if}\n {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}\n \n
{$street_address} {$supplemental_address_1}{ts}Invoice Number:{/ts}\n \n {if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n {if $domain_state }{$domain_state}{/if}\n \n
{$supplemental_address_2} {$stateProvinceAbbreviation}{$invoice_id}\n \n {if $domain_city}{$domain_city}{/if}\n {if $domain_postal_code }{$domain_postal_code}{/if}\n \n
{$city} {$postal_code}{ts}Reference:{/ts} {if $domain_country}{$domain_country}{/if}
{$source} {if $domain_phone}{$domain_phone}{/if}
{if $domain_email}{$domain_email}{/if}
\n \n \n \n \n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n \n {foreach from=$lineItem item=value key=priceset name=taxpricevalue}\n {if $smarty.foreach.taxpricevalue.index eq 0}\n \n \n \n {else}\n \n \n \n {/if}\n \n \n \n \n {if $value.tax_amount != \'\'}\n \n {else}\n \n {/if}\n \n \n {/foreach}\n \n \n \n \n \n \n {foreach from = $dataArray item = value key = priceset}\n \n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n \n {/if}\n {/foreach}\n \n \n \n \n \n \n \n \n \n {if $is_pay_later == 0}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n


\n \n \n \n {if $contribution_status_id == $pendingStatusId && $is_pay_later == 1}\n \n \n \n \n {/if}\n
{ts}Description{/ts}{ts}Quantity{/ts}{ts}Unit Price{/ts}{$taxTerm} {ts 1=$defaultCurrency}Amount %1{/ts}


\n {if $value.html_type eq \'Text\'}\n {$value.label}\n {else}\n {$value.field_title} - {$value.label}\n {/if} \n {if $value.description}\n
{$value.description|truncate:30:\"...\"}
\n {/if}\n
\n
{$value.qty} {$value.unit_price|crmMoney:$currency} {$value.tax_rate}%{ts 1=$taxTerm}No %1{/ts}{$value.subTotal|crmMoney:$currency}

{ts}Sub Total{/ts} {$subTotal|crmMoney:$currency}
{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts}{$value|crmMoney:$currency} {ts 1=$taxTerm}TOTAL NO %1{/ts}{$value|crmMoney:$currency}

{ts 1=$defaultCurrency}TOTAL %1{/ts}{$amount|crmMoney:$currency}
\n {if $contribution_status_id == $refundedStatusId}\n {ts}LESS Amount Credited{/ts}\n {else}\n {ts}LESS Amount Paid{/ts}\n {/if}\n \n {$amount|crmMoney:$currency}

{ts}AMOUNT DUE:{/ts} {$amountDue|crmMoney:$currency}
{ts 1=$dueDate}DUE DATE: %1{/ts}
\n
\n {if $contribution_status_id == $pendingStatusId && $is_pay_later == 1}\n \n \n \n \n
\n \n \n \n \n \n
{ts}PAYMENT ADVICE{/ts}

{ts}To: {/ts}
\n {$domain_organization}
\n {$domain_street_address} {$domain_supplemental_address_1}
\n {$domain_supplemental_address_2} {$domain_state}
\n {$domain_city} {$domain_postal_code}
\n {$domain_country}
\n {$domain_phone}
\n {$domain_email}
\n


{$notes}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {if $is_pay_later == 1}\n \n \n \n \n \n {else}\n \n \n \n \n \n {/if}\n \n \n \n \n \n \n \n \n
{ts}Customer: {/ts}{$display_name}
{ts}Invoice Number: {/ts}{$invoice_id}

{ts}Amount Due:{/ts}{$amount|crmMoney:$currency}
{ts}Amount Due: {/ts}{$amountDue|crmMoney:$currency}
{ts}Due Date: {/ts}{$dueDate}

\n
\n {/if}\n\n {if $contribution_status_id == $refundedStatusId || $contribution_status_id == $cancelledStatusId}\n \n \n \n \n
\n
\n\n \n \n \n \n \n \n \n \n {if $organization_name}\n \n {else}\n \n {/if}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{ts}CREDIT NOTE{/ts}{ts}Date:{/ts}{$domain_organization}
{$display_name} ({$organization_name}){$display_name}{$invoice_date}\n \n {if $domain_street_address }{$domain_street_address}{/if}\n {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}\n \n
{$street_address} {$supplemental_address_1}{ts}Credit Note Number:{/ts}\n \n {if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n {if $domain_state }{$domain_state}{/if}\n \n
{$supplemental_address_2} {$stateProvinceAbbreviation}{$creditnote_id}\n \n {if $domain_city}{$domain_city}{/if}\n {if $domain_postal_code }{$domain_postal_code}{/if}\n \n
{$city} {$postal_code}{ts}Reference:{/ts}\n \n {if $domain_country}{$domain_country}{/if}\n \n
{$source}\n \n {if $domain_phone}{$domain_phone}{/if}\n \n
\n \n {if $domain_email}{$domain_email}{/if}\n \n
\n\n \n \n \n \n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n \n {foreach from=$lineItem item=value key=priceset name=pricevalue}\n {if $smarty.foreach.pricevalue.index eq 0}\n \n {else}\n \n {/if}\n \n \n \n \n {if $value.tax_amount != \'\'}\n \n {else}\n \n {/if}\n \n \n {/foreach}\n \n \n \n \n \n \n {foreach from = $dataArray item = value key = priceset}\n \n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n \n {/if}\n {/foreach}\n \n \n \n \n \n \n \n \n \n {if $is_pay_later == 0}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n


\n \n \n \n \n \n \n \n
{ts}Description{/ts}{ts}Quantity{/ts}{ts}Unit Price{/ts}{$taxTerm} {ts 1=$defaultCurrency}Amount %1{/ts}


\n \n {if $value.html_type eq \'Text\'}\n {$value.label}\n {else}\n {$value.field_title} - {$value.label}\n {/if} \n {if $value.description}\n
{$value.description|truncate:30:\"...\"}
\n {/if}\n
\n
{$value.qty} {$value.unit_price|crmMoney:$currency} {$value.tax_rate}%{ts 1=$taxTerm}No %1{/ts}{$value.subTotal|crmMoney:$currency}

{ts}Sub Total{/ts} {$subTotal|crmMoney:$currency}
{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts}{$value|crmMoney:$currency} {ts 1=$taxTerm}TOTAL NO %1{/ts}{$value|crmMoney:$currency}

{ts 1=$defaultCurrency}TOTAL %1{/ts}{$amount|crmMoney:$currency}
{ts}LESS Credit to invoice(s){/ts}{$amount|crmMoney:$currency}

{ts}REMAINING CREDIT{/ts}{$amountDue|crmMoney:$currency}
\n
\n \n \n \n \n
\n\n \n \n \n \n \n
{ts}CREDIT ADVICE{/ts}

{ts}Please do not pay on this advice. Deduct the amount of this Credit Note from your next payment to us{/ts}

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{ts}Customer:{/ts} {$display_name}
{ts}Credit Note#:{/ts} {$creditnote_id}

{ts}Credit Amount:{/ts}{$amount|crmMoney:$currency}
\n
\n {/if}\n
\n \n\n',1,802,0,1,0,NULL),(11,'Contributions - Recurring Start and End Notification','{ts}Recurring Contribution Notification{/ts}\n','{ts 1=$displayName}Dear %1{/ts},\n\n{if $recur_txnType eq \'START\'}\n{if $auto_renew_membership}\n{ts}Thanks for your auto renew membership sign-up.{/ts}\n\n\n{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s).{/ts}\n\n{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n\n{if $updateSubscriptionBillingUrl}\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n\n{/if}\n{else}\n{ts}Thanks for your recurring contribution sign-up.{/ts}\n\n\n{ts 1=$recur_frequency_interval 2=$recur_frequency_unit 3=$recur_installments}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments } {ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.\n\n{ts}Start Date{/ts}: {$recur_start_date|crmDate}\n\n{ts 1=$cancelSubscriptionUrl}You can cancel the recurring contribution option by visiting this web page.{/ts}\n\n{if $updateSubscriptionBillingUrl}\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n\n{/if}\n{ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by visiting this web page.{/ts}\n{/if}\n\n{elseif $recur_txnType eq \'END\'}\n{if $auto_renew_membership}\n{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}\n\n\n{else}\n{ts}Your recurring contribution term has ended.{/ts}\n\n\n{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you for your support.{/ts}\n\n\n==================================================\n{ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n\n==================================================\n{ts}Start Date{/ts}: {$recur_start_date|crmDate}\n\n{ts}End Date{/ts}: {$recur_end_date|crmDate}\n\n{/if}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n {if $recur_txnType eq \'START\'}\n {if $auto_renew_membership}\n \n \n \n \n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n {else}\n \n \n \n \n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n \n \n \n {/if}\n\n {elseif $recur_txnType eq \'END\'}\n\n {if $auto_renew_membership}\n \n \n \n {else}\n \n \n \n \n \n \n\n {/if}\n {/if}\n\n
\n

{ts 1=$displayName}Dear %1{/ts},

\n
 
\n

{ts}Thanks for your auto renew membership sign-up.{/ts}

\n

{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s). {/ts}

\n
\n {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n
\n

{ts}Thanks for your recurring contribution sign-up.{/ts}

\n

{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments }{ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.

\n

{ts}Start Date{/ts}: {$recur_start_date|crmDate}

\n
\n {ts 1=$cancelSubscriptionUrl} You can cancel the recurring contribution option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments details for this recurring contribution by visiting this web page.{/ts}\n
\n

{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}

\n
\n

{ts}Your recurring contribution term has ended.{/ts}

\n

{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you for your support.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n
\n {ts}Start Date{/ts}\n \n {$recur_start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$recur_end_date|crmDate}\n
\n
\n
\n\n\n\n',1,803,1,0,0,NULL),(12,'Contributions - Recurring Start and End Notification','{ts}Recurring Contribution Notification{/ts}\n','{ts 1=$displayName}Dear %1{/ts},\n\n{if $recur_txnType eq \'START\'}\n{if $auto_renew_membership}\n{ts}Thanks for your auto renew membership sign-up.{/ts}\n\n\n{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s).{/ts}\n\n{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n\n{if $updateSubscriptionBillingUrl}\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n\n{/if}\n{else}\n{ts}Thanks for your recurring contribution sign-up.{/ts}\n\n\n{ts 1=$recur_frequency_interval 2=$recur_frequency_unit 3=$recur_installments}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments } {ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.\n\n{ts}Start Date{/ts}: {$recur_start_date|crmDate}\n\n{ts 1=$cancelSubscriptionUrl}You can cancel the recurring contribution option by visiting this web page.{/ts}\n\n{if $updateSubscriptionBillingUrl}\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n\n{/if}\n{ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by visiting this web page.{/ts}\n{/if}\n\n{elseif $recur_txnType eq \'END\'}\n{if $auto_renew_membership}\n{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}\n\n\n{else}\n{ts}Your recurring contribution term has ended.{/ts}\n\n\n{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you for your support.{/ts}\n\n\n==================================================\n{ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n\n==================================================\n{ts}Start Date{/ts}: {$recur_start_date|crmDate}\n\n{ts}End Date{/ts}: {$recur_end_date|crmDate}\n\n{/if}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n {if $recur_txnType eq \'START\'}\n {if $auto_renew_membership}\n \n \n \n \n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n {else}\n \n \n \n \n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n \n \n \n {/if}\n\n {elseif $recur_txnType eq \'END\'}\n\n {if $auto_renew_membership}\n \n \n \n {else}\n \n \n \n \n \n \n\n {/if}\n {/if}\n\n
\n

{ts 1=$displayName}Dear %1{/ts},

\n
 
\n

{ts}Thanks for your auto renew membership sign-up.{/ts}

\n

{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s). {/ts}

\n
\n {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n
\n

{ts}Thanks for your recurring contribution sign-up.{/ts}

\n

{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments }{ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.

\n

{ts}Start Date{/ts}: {$recur_start_date|crmDate}

\n
\n {ts 1=$cancelSubscriptionUrl} You can cancel the recurring contribution option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments details for this recurring contribution by visiting this web page.{/ts}\n
\n

{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}

\n
\n

{ts}Your recurring contribution term has ended.{/ts}

\n

{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you for your support.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n
\n {ts}Start Date{/ts}\n \n {$recur_start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$recur_end_date|crmDate}\n
\n
\n
\n\n\n\n',1,803,0,1,0,NULL),(13,'Contributions - Recurring Cancellation Notification','{ts}Recurring Contribution Cancellation Notification{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Your recurring contribution of %1, every %2 %3 has been cancelled as requested.{/ts}\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

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Your recurring contribution of %1, every %2 %3 has been cancelled as requested.{/ts}

\n
\n
\n\n\n\n',1,804,1,0,0,NULL),(14,'Contributions - Recurring Cancellation Notification','{ts}Recurring Contribution Cancellation Notification{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Your recurring contribution of %1, every %2 %3 has been cancelled as requested.{/ts}\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

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Your recurring contribution of %1, every %2 %3 has been cancelled as requested.{/ts}

\n
\n
\n\n\n\n',1,804,0,1,0,NULL),(15,'Contributions - Recurring Billing Updates','{ts}Recurring Contribution Billing Updates{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}','\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

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts}

\n
\n\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\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
\n {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n
\n
\n\n\n',1,805,1,0,0,NULL),(16,'Contributions - Recurring Billing Updates','{ts}Recurring Contribution Billing Updates{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}','\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

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts}

\n
\n\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\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
\n {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n
\n
\n\n\n',1,805,0,1,0,NULL),(17,'Contributions - Recurring Updates','{ts}Recurring Contribution Update Notification{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts}Your recurring contribution has been updated as requested:{/ts}\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring contribution is for %1, every %2 %3(s){/ts}\n{if $installments}{ts 1=$installments} for %1 installments.{/ts}{/if}\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}','\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

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts}Your recurring contribution has been updated as requested:{/ts}\n

{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring contribution is for %1, every %2 %3(s){/ts}{if $installments}{ts 1=$installments} for %1 installments{/ts}{/if}.

\n\n

{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}

\n
\n
\n\n\n\n',1,806,1,0,0,NULL),(18,'Contributions - Recurring Updates','{ts}Recurring Contribution Update Notification{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts}Your recurring contribution has been updated as requested:{/ts}\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring contribution is for %1, every %2 %3(s){/ts}\n{if $installments}{ts 1=$installments} for %1 installments.{/ts}{/if}\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}','\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

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts}Your recurring contribution has been updated as requested:{/ts}\n

{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring contribution is for %1, every %2 %3(s){/ts}{if $installments}{ts 1=$installments} for %1 installments{/ts}{/if}.

\n\n

{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}

\n
\n
\n\n\n\n',1,806,0,1,0,NULL),(19,'Personal Campaign Pages - Admin Notification','{ts}Personal Campaign Page Notification{/ts}\n','===========================================================\n{ts}Personal Campaign Page Notification{/ts}\n\n===========================================================\n{ts}Action{/ts}: {if $mode EQ \'Update\'}{ts}Updated personal campaign page{/ts}{else}{ts}New personal campaign page{/ts}{/if}\n{ts}Personal Campaign Page Title{/ts}: {$pcpTitle}\n{ts}Current Status{/ts}: {$pcpStatus}\n{capture assign=pcpURL}{crmURL p=\"civicrm/pcp/info\" q=\"reset=1&id=`$pcpId`\" h=0 a=1}{/capture}\n{ts}View Page{/ts}:\n>> {$pcpURL}\n\n{ts}Supporter{/ts}: {$supporterName}\n>> {$supporterUrl}\n\n{ts}Linked to Contribution Page{/ts}: {$contribPageTitle}\n>> {$contribPageUrl}\n\n{ts}Manage Personal Campaign Pages{/ts}:\n>> {$managePCPUrl}\n\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=pcpURL }{crmURL p=\"civicrm/pcp/info\" q=\"reset=1&id=`$pcpId`\" h=0 a=1}{/capture}\n\n
\n \n\n \n \n \n\n \n\n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n
\n {ts}Personal Campaign Page Notification{/ts}\n
\n {ts}Action{/ts}:\n \n {if $mode EQ \'Update\'}\n {ts}Updated personal campaign page{/ts}\n {else}\n {ts}New personal campaign page{/ts}\n {/if}\n
\n {ts}Personal Campaign Page Title{/ts}\n \n {$pcpTitle}\n
\n {ts}Current Status{/ts}\n \n {$pcpStatus}\n
\n {ts}View Page{/ts}\n
\n {ts}Supporter{/ts}\n \n {$supporterName}\n
\n {ts}Linked to Contribution Page{/ts}\n \n {$contribPageTitle}\n
\n {ts}Manage Personal Campaign Pages{/ts}\n
\n
\n
\n\n\n\n',1,807,1,0,0,NULL),(20,'Personal Campaign Pages - Admin Notification','{ts}Personal Campaign Page Notification{/ts}\n','===========================================================\n{ts}Personal Campaign Page Notification{/ts}\n\n===========================================================\n{ts}Action{/ts}: {if $mode EQ \'Update\'}{ts}Updated personal campaign page{/ts}{else}{ts}New personal campaign page{/ts}{/if}\n{ts}Personal Campaign Page Title{/ts}: {$pcpTitle}\n{ts}Current Status{/ts}: {$pcpStatus}\n{capture assign=pcpURL}{crmURL p=\"civicrm/pcp/info\" q=\"reset=1&id=`$pcpId`\" h=0 a=1}{/capture}\n{ts}View Page{/ts}:\n>> {$pcpURL}\n\n{ts}Supporter{/ts}: {$supporterName}\n>> {$supporterUrl}\n\n{ts}Linked to Contribution Page{/ts}: {$contribPageTitle}\n>> {$contribPageUrl}\n\n{ts}Manage Personal Campaign Pages{/ts}:\n>> {$managePCPUrl}\n\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=pcpURL }{crmURL p=\"civicrm/pcp/info\" q=\"reset=1&id=`$pcpId`\" h=0 a=1}{/capture}\n\n
\n \n\n \n \n \n\n \n\n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n
\n {ts}Personal Campaign Page Notification{/ts}\n
\n {ts}Action{/ts}:\n \n {if $mode EQ \'Update\'}\n {ts}Updated personal campaign page{/ts}\n {else}\n {ts}New personal campaign page{/ts}\n {/if}\n
\n {ts}Personal Campaign Page Title{/ts}\n \n {$pcpTitle}\n
\n {ts}Current Status{/ts}\n \n {$pcpStatus}\n
\n {ts}View Page{/ts}\n
\n {ts}Supporter{/ts}\n \n {$supporterName}\n
\n {ts}Linked to Contribution Page{/ts}\n \n {$contribPageTitle}\n
\n {ts}Manage Personal Campaign Pages{/ts}\n
\n
\n
\n\n\n\n',1,807,0,1,0,NULL),(21,'Personal Campaign Pages - Supporter Status Change Notification','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts}\n','{if $pcpStatus eq \'Approved\'}\n============================\n{ts}Your Personal Campaign Page{/ts}\n\n============================\n\n{ts}Your personal campaign page has been approved and is now live.{/ts}\n\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n{if $isTellFriendEnabled}\n\n{ts}After logging in, you can use this form to promote your fundraising page{/ts}:\n{$pcpTellFriendURL}\n\n{/if}\n\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n\n{* Rejected message *}\n{elseif $pcpStatus eq \'Not Approved\'}\n============================\n{ts}Your Personal Campaign Page{/ts}\n\n============================\n\n{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts}\n\n{if $pcpNotifyEmailAddress}\n\n{ts}Please contact our site administrator for more information{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n\n{/if}\n','\n\n\n \n \n\n\n\n
\n \n\n \n \n \n\n \n\n \n \n \n\n
\n\n

{ts}Your Personal Campaign Page{/ts}

\n\n {if $pcpStatus eq \'Approved\'}\n\n

{ts}Your personal campaign page has been approved and is now live.{/ts}

\n

{ts}Whenever you want to preview, update or promote your page{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Go to your page{/ts}
  4. \n
\n

{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}

\n\n {if $isTellFriendEnabled}\n

{ts}After logging in, you can use this form to promote your fundraising page{/ts}

\n {/if}\n\n {if $pcpNotifyEmailAddress}\n

{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}

\n {/if}\n\n {elseif $pcpStatus eq \'Not Approved\'}\n\n

{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts}

\n {if $pcpNotifyEmailAddress}\n

{ts}Please contact our site administrator for more information{/ts}: {$pcpNotifyEmailAddress}

\n {/if}\n\n {/if}\n\n
\n
\n\n\n\n',1,808,1,0,0,NULL),(22,'Personal Campaign Pages - Supporter Status Change Notification','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts}\n','{if $pcpStatus eq \'Approved\'}\n============================\n{ts}Your Personal Campaign Page{/ts}\n\n============================\n\n{ts}Your personal campaign page has been approved and is now live.{/ts}\n\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n{if $isTellFriendEnabled}\n\n{ts}After logging in, you can use this form to promote your fundraising page{/ts}:\n{$pcpTellFriendURL}\n\n{/if}\n\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n\n{* Rejected message *}\n{elseif $pcpStatus eq \'Not Approved\'}\n============================\n{ts}Your Personal Campaign Page{/ts}\n\n============================\n\n{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts}\n\n{if $pcpNotifyEmailAddress}\n\n{ts}Please contact our site administrator for more information{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n\n{/if}\n','\n\n\n \n \n\n\n\n
\n \n\n \n \n \n\n \n\n \n \n \n\n
\n\n

{ts}Your Personal Campaign Page{/ts}

\n\n {if $pcpStatus eq \'Approved\'}\n\n

{ts}Your personal campaign page has been approved and is now live.{/ts}

\n

{ts}Whenever you want to preview, update or promote your page{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Go to your page{/ts}
  4. \n
\n

{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}

\n\n {if $isTellFriendEnabled}\n

{ts}After logging in, you can use this form to promote your fundraising page{/ts}

\n {/if}\n\n {if $pcpNotifyEmailAddress}\n

{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}

\n {/if}\n\n {elseif $pcpStatus eq \'Not Approved\'}\n\n

{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts}

\n {if $pcpNotifyEmailAddress}\n

{ts}Please contact our site administrator for more information{/ts}: {$pcpNotifyEmailAddress}

\n {/if}\n\n {/if}\n\n
\n
\n\n\n\n',1,808,0,1,0,NULL),(23,'Personal Campaign Pages - Supporter Welcome','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts}\n','{ts}Dear supporter{/ts},\n{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}\n\n{if $pcpStatus eq \'Approved\'}\n====================\n{ts}Promoting Your Page{/ts}\n\n====================\n{if $isTellFriendEnabled}\n\n{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:\n\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser and follow the prompts{/ts}:\n{$pcpTellFriendURL}\n{else}\n\n{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts}\n{ts}Include this link to your fundraising page in your emails{/ts}:\n{$pcpInfoURL}\n{/if}\n\n===================\n{ts}Managing Your Page{/ts}\n\n===================\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n\n{elseif $pcpStatus EQ \'Waiting Review\'}\n{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}\n\n\n{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}\n\n\n{ts}You can still preview your page prior to approval{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser{/ts}:\n{$pcpInfoURL}\n\n{/if}\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n\n {if $pcpStatus eq \'Approved\'}\n\n \n \n \n\n {elseif $pcpStatus EQ \'Waiting Review\'}\n\n \n \n \n\n {/if}\n\n {if $pcpNotifyEmailAddress}\n \n \n \n {/if}\n\n
\n

{ts}Dear supporter{/ts},

\n

{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Promoting Your Page{/ts}\n
\n {if $isTellFriendEnabled}\n

{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Click this link and follow the prompts{/ts}
  4. \n
\n {else}\n

{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts} {ts}Include this link to your fundraising page in your emails{/ts}: {$pcpInfoURL}

\n {/if}\n
\n {ts}Managing Your Page{/ts}\n
\n

{ts}Whenever you want to preview, update or promote your page{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Go to your page{/ts}
  4. \n
\n

{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}

\n
\n
\n

{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}

\n

{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}

\n

{ts}You can still preview your page prior to approval{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Click this link{/ts}
  4. \n
\n
\n

{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}

\n
\n
\n\n\n\n',1,809,1,0,0,NULL),(24,'Personal Campaign Pages - Supporter Welcome','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts}\n','{ts}Dear supporter{/ts},\n{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}\n\n{if $pcpStatus eq \'Approved\'}\n====================\n{ts}Promoting Your Page{/ts}\n\n====================\n{if $isTellFriendEnabled}\n\n{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:\n\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser and follow the prompts{/ts}:\n{$pcpTellFriendURL}\n{else}\n\n{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts}\n{ts}Include this link to your fundraising page in your emails{/ts}:\n{$pcpInfoURL}\n{/if}\n\n===================\n{ts}Managing Your Page{/ts}\n\n===================\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n\n{elseif $pcpStatus EQ \'Waiting Review\'}\n{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}\n\n\n{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}\n\n\n{ts}You can still preview your page prior to approval{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser{/ts}:\n{$pcpInfoURL}\n\n{/if}\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n\n {if $pcpStatus eq \'Approved\'}\n\n \n \n \n\n {elseif $pcpStatus EQ \'Waiting Review\'}\n\n \n \n \n\n {/if}\n\n {if $pcpNotifyEmailAddress}\n \n \n \n {/if}\n\n
\n

{ts}Dear supporter{/ts},

\n

{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Promoting Your Page{/ts}\n
\n {if $isTellFriendEnabled}\n

{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Click this link and follow the prompts{/ts}
  4. \n
\n {else}\n

{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts} {ts}Include this link to your fundraising page in your emails{/ts}: {$pcpInfoURL}

\n {/if}\n
\n {ts}Managing Your Page{/ts}\n
\n

{ts}Whenever you want to preview, update or promote your page{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Go to your page{/ts}
  4. \n
\n

{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}

\n
\n
\n

{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}

\n

{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}

\n

{ts}You can still preview your page prior to approval{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Click this link{/ts}
  4. \n
\n
\n

{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}

\n
\n
\n\n\n\n',1,809,0,1,0,NULL),(25,'Personal Campaign Pages - Owner Notification','{ts}Someone has just donated to your personal campaign page{/ts}\n','===========================================================\n{ts}Personal Campaign Page Owner Notification{/ts}\n\n===========================================================\n{ts}You have received a donation at your personal page{/ts}: {$page_title}\n>> {$pcpInfoURL}\n\n{ts}Your fundraising total has been updated.{/ts}\n{ts}The donor\'s information is listed below. You can choose to contact them and convey your thanks if you wish.{/ts}\n{if $is_honor_roll_enabled}\n {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}\n{/if}\n\n{ts}Received{/ts}: {$receive_date|crmDate}\n\n{ts}Amount{/ts}: {$total_amount|crmMoney:$currency}\n\n{ts}Name{/ts}: {$donors_display_name}\n\n{ts}Email{/ts}: {$donors_email}\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

{ts}You have received a donation at your personal page{/ts}: {$page_title}

\n

{ts}Your fundraising total has been updated.{/ts}
\n {ts}The donor\'s information is listed below. You can choose to contact them and convey your thanks if you wish.{/ts}
\n {if $is_honor_roll_enabled}\n {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}
\n {/if}\n

\n \n \n \n \n \n
{ts}Received{/ts}: {$receive_date|crmDate}
{ts}Amount{/ts}: {$total_amount|crmMoney:$currency}
{ts}Name{/ts}: {$donors_display_name}
{ts}Email{/ts}: {$donors_email}
\n\n\n',1,810,1,0,0,NULL),(26,'Personal Campaign Pages - Owner Notification','{ts}Someone has just donated to your personal campaign page{/ts}\n','===========================================================\n{ts}Personal Campaign Page Owner Notification{/ts}\n\n===========================================================\n{ts}You have received a donation at your personal page{/ts}: {$page_title}\n>> {$pcpInfoURL}\n\n{ts}Your fundraising total has been updated.{/ts}\n{ts}The donor\'s information is listed below. You can choose to contact them and convey your thanks if you wish.{/ts}\n{if $is_honor_roll_enabled}\n {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}\n{/if}\n\n{ts}Received{/ts}: {$receive_date|crmDate}\n\n{ts}Amount{/ts}: {$total_amount|crmMoney:$currency}\n\n{ts}Name{/ts}: {$donors_display_name}\n\n{ts}Email{/ts}: {$donors_email}\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

{ts}You have received a donation at your personal page{/ts}: {$page_title}

\n

{ts}Your fundraising total has been updated.{/ts}
\n {ts}The donor\'s information is listed below. You can choose to contact them and convey your thanks if you wish.{/ts}
\n {if $is_honor_roll_enabled}\n {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}
\n {/if}\n

\n \n \n \n \n \n
{ts}Received{/ts}: {$receive_date|crmDate}
{ts}Amount{/ts}: {$total_amount|crmMoney:$currency}
{ts}Name{/ts}: {$donors_display_name}
{ts}Email{/ts}: {$donors_email}
\n\n\n',1,810,0,1,0,NULL),(27,'Additional Payment Receipt or Refund Notification','{if $isRefund}{ts}Refund Notification{/ts}{else}{ts}Payment Receipt{/ts}{/if} - {if $component eq \'event\'}{$event.title}{/if}','Dear {$contactDisplayName}\n{if $paymentConfig.confirm_email_text}\n{$paymentConfig.confirm_email_text}\n{elseif $isRefund}\n{ts}A refund has been issued based on changes in your registration selections.{/ts}\n{else}\n{ts}A payment has been received.{/ts}\n{/if}\n\n{ts}Please print this confirmation for your records.{/ts}\n\n{if $isRefund}\n===============================================================================\n\n{ts}Refund Details{/ts}\n\n===============================================================================\n{ts}Total Fees{/ts}: {$totalAmount|crmMoney}\n{ts}You Paid{/ts}: {$totalPaid|crmMoney}\n------------------------------------------------------------------------------------\n{ts}Refund Amount{/ts}: {$refundAmount|crmMoney}\n\n{else}\n===============================================================================\n\n{ts}Payment Details{/ts}\n\n===============================================================================\n{ts}Total Fees{/ts}: {$totalAmount|crmMoney}\n{ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney}\n------------------------------------------------------------------------------------\n{ts}Balance Owed{/ts}: {$amountOwed|crmMoney} {* This will be zero after final payment. *}\n\n{if $paymentsComplete}\n\n{ts}Thank-you. This completes your payment for {/ts}{if $component eq \'event\'}{$event.event_title}{/if}.\n{/if}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode eq \'direct\' and !$isAmountzero}\n\n===============================================================================\n\n{ts}Billing Name and Address{/ts}\n\n===============================================================================\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero}\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 $component eq \'event\'}\n===============================================================================\n\n{ts}Event Information and Location{/ts}\n\n===============================================================================\n\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\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=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

Dear {$contactDisplayName}

\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n\n
\n {if $paymentConfig.confirm_email_text}\n

{$paymentConfig.confirm_email_text|htmlize}

\n {elseif $isRefund}\n

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

\n {else}\n

{ts}A payment has been received.{/ts}

\n {/if}\n

{ts}Please print this confirmation for your records.{/ts}

\n
\n \n {if $isRefund}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {else}\n \n \n \n \n \n \n \n \n \n \n \n \n \n {* This will be zero after final payment. *}\n \n \n \n {if $paymentsComplete}\n \n \n \n {/if}\n {/if}\n {if $receive_date}\n \n \n \n \n {/if}\n {if $trxn_id}\n \n \n \n \n {/if}\n {if $paidBy}\n \n \n \n \n {/if}\n {if $checkNumber}\n \n \n \n \n {/if}\n
{ts}Refund Details{/ts}
\n {ts}Total Fees{/ts}\n \n {$totalAmount|crmMoney}\n
\n {ts}You Paid{/ts}\n \n {$totalPaid|crmMoney}\n
\n {ts}Refund Amount{/ts}\n \n {$refundAmount|crmMoney}\n \n
{ts}Payment Details{/ts}
\n {ts}{if $component eq \'event\'}Total Fees{/if}{/ts}\n \n {$totalAmount|crmMoney}\n
\n {ts}This Payment Amount{/ts}\n \n {$paymentAmount|crmMoney}\n
\n {ts}Balance Owed{/ts}\n \n {$amountOwed|crmMoney}\n
\n {ts}Thank-you. This completes your payment for {if $component eq \'event\'}{$event.event_title}{/if}.{/ts}\n
\n {ts}Transaction Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Paid By{/ts}\n \n {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n
\n \n {if $contributeMode eq \'direct\' and !$isAmountzero}\n \n \n \n \n \n \n {/if}\n {if $contributeMode eq\'direct\' and !$isAmountzero}\n \n \n \n \n \n \n {/if}\n {if $component eq \'event\'}\n \n \n \n \n \n \n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if} {*phone block close*}\n {/if}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\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
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}\n \n {$event.participant_role}\n
\n {$location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n
\n
\n\n \n\n',1,811,1,0,0,NULL),(28,'Additional Payment Receipt or Refund Notification','{if $isRefund}{ts}Refund Notification{/ts}{else}{ts}Payment Receipt{/ts}{/if} - {if $component eq \'event\'}{$event.title}{/if}','Dear {$contactDisplayName}\n{if $paymentConfig.confirm_email_text}\n{$paymentConfig.confirm_email_text}\n{elseif $isRefund}\n{ts}A refund has been issued based on changes in your registration selections.{/ts}\n{else}\n{ts}A payment has been received.{/ts}\n{/if}\n\n{ts}Please print this confirmation for your records.{/ts}\n\n{if $isRefund}\n===============================================================================\n\n{ts}Refund Details{/ts}\n\n===============================================================================\n{ts}Total Fees{/ts}: {$totalAmount|crmMoney}\n{ts}You Paid{/ts}: {$totalPaid|crmMoney}\n------------------------------------------------------------------------------------\n{ts}Refund Amount{/ts}: {$refundAmount|crmMoney}\n\n{else}\n===============================================================================\n\n{ts}Payment Details{/ts}\n\n===============================================================================\n{ts}Total Fees{/ts}: {$totalAmount|crmMoney}\n{ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney}\n------------------------------------------------------------------------------------\n{ts}Balance Owed{/ts}: {$amountOwed|crmMoney} {* This will be zero after final payment. *}\n\n{if $paymentsComplete}\n\n{ts}Thank-you. This completes your payment for {/ts}{if $component eq \'event\'}{$event.event_title}{/if}.\n{/if}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode eq \'direct\' and !$isAmountzero}\n\n===============================================================================\n\n{ts}Billing Name and Address{/ts}\n\n===============================================================================\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero}\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 $component eq \'event\'}\n===============================================================================\n\n{ts}Event Information and Location{/ts}\n\n===============================================================================\n\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\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=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

Dear {$contactDisplayName}

\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n\n
\n {if $paymentConfig.confirm_email_text}\n

{$paymentConfig.confirm_email_text|htmlize}

\n {elseif $isRefund}\n

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

\n {else}\n

{ts}A payment has been received.{/ts}

\n {/if}\n

{ts}Please print this confirmation for your records.{/ts}

\n
\n \n {if $isRefund}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {else}\n \n \n \n \n \n \n \n \n \n \n \n \n \n {* This will be zero after final payment. *}\n \n \n \n {if $paymentsComplete}\n \n \n \n {/if}\n {/if}\n {if $receive_date}\n \n \n \n \n {/if}\n {if $trxn_id}\n \n \n \n \n {/if}\n {if $paidBy}\n \n \n \n \n {/if}\n {if $checkNumber}\n \n \n \n \n {/if}\n
{ts}Refund Details{/ts}
\n {ts}Total Fees{/ts}\n \n {$totalAmount|crmMoney}\n
\n {ts}You Paid{/ts}\n \n {$totalPaid|crmMoney}\n
\n {ts}Refund Amount{/ts}\n \n {$refundAmount|crmMoney}\n \n
{ts}Payment Details{/ts}
\n {ts}{if $component eq \'event\'}Total Fees{/if}{/ts}\n \n {$totalAmount|crmMoney}\n
\n {ts}This Payment Amount{/ts}\n \n {$paymentAmount|crmMoney}\n
\n {ts}Balance Owed{/ts}\n \n {$amountOwed|crmMoney}\n
\n {ts}Thank-you. This completes your payment for {if $component eq \'event\'}{$event.event_title}{/if}.{/ts}\n
\n {ts}Transaction Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Paid By{/ts}\n \n {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n
\n \n {if $contributeMode eq \'direct\' and !$isAmountzero}\n \n \n \n \n \n \n {/if}\n {if $contributeMode eq\'direct\' and !$isAmountzero}\n \n \n \n \n \n \n {/if}\n {if $component eq \'event\'}\n \n \n \n \n \n \n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if} {*phone block close*}\n {/if}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\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
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}\n \n {$event.participant_role}\n
\n {$location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n
\n
\n\n \n\n',1,811,0,1,0,NULL),(29,'Events - Registration Confirmation and Receipt (off-line)','{ts}Event Confirmation{/ts} - {$event.title}\n','{contact.email_greeting}\n{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n{$event.confirm_email_text}\n{/if}\n\n{if $isOnWaitlist}\n==========================================================={if $pricesetFieldsCount }===================={/if}\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\n{/if}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{elseif $isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\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==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{elseif $is_pay_later}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{else}\n\n{ts}Please print this confirmation for your records.{/ts}\n{/if}\n\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $event.is_public}\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 File:{/ts} {$icalFeed}\n{/if}\n\n{if $email}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Registered Email{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$email}\n{/if}\n{if $event.is_monetary} {* This section for Paid events only.*}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.fee_label}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{if $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}\n{/if}\n{/if}\n---------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\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 $dataArray}\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{capture assign=ts_participant_total}{if $pricesetFieldsCount }{ts}Total Participants{/ts}{/if}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {$ts_participant_total|string_format:\"%10s\"}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{foreach from=$value item=line}\n{if $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|string_format:\"%10s\"} {if $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {$ts_participant_count|string_format:\"%10s\"}\n{/foreach}\n{/if}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if $amount && !$lineItem}\n{foreach from=$amount item=amnt key=level}{$amnt.amount|crmMoney} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if $isPrimary}\n\n{if $balanceAmount}{ts}Total Paid{/ts}{else}{ts}Total Amount{/ts}{/if}: {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n\n{if $balanceAmount}\n{ts}Balance{/ts}: {$balanceAmount|crmMoney}\n{/if}\n\n{if $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 $is_pay_later }\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $financialTypeName}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\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 $customPre}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPre_grouptitle}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPre item=value key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n\n{if $customPost}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPost_grouptitle}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPost item=value key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n{if $customProfile}\n\n{foreach from=$customProfile item=value key=customName}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts 1=$customName+1}Participant Information - Participant %1{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=val key=field}\n{if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\' }\n{if $field eq \'additionalCustomPre\' }\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$additionalCustomPre_grouptitle}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{else}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$additionalCustomPost_grouptitle}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{/if}\n{foreach from=$val item=v key=f}\n{$f}: {$v}\n{/foreach}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n\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

{contact.email_greeting}

\n\n {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n

{$event.confirm_email_text|htmlize}

\n {/if}\n\n {if $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 $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 $is_pay_later}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n \n \n \n \n \n \n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $email}\n \n \n \n \n \n \n {/if}\n\n\n {if $event.is_monetary}\n\n \n \n \n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if $isPrimary}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n {/if}\n \n \n \n {/if}\n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n\n {if $amount && !$lineItem}\n {foreach from=$amount item=amnt key=level}\n \n \n \n {/foreach}\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if $balanceAmount}\n \n \n \n \n {/if}\n {if $pricesetFieldsCount }\n \n \n \n \n {/if}\n {if $is_pay_later}\n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $financialTypeName}\n \n \n \n \n {/if}\n\n {if $trxn_id}\n \n \n \n \n {/if}\n\n {if $paidBy}\n \n \n \n \n {/if}\n\n {if $checkNumber}\n \n \n \n \n {/if}\n\n {if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=value key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=value key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customProfile}\n {foreach from=$customProfile item=value key=customName}\n \n \n \n {foreach from=$value item=val key=field}\n {if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\'}\n \n \n \n {foreach from=$val item=v key=f}\n \n \n \n \n {/foreach}\n {/if}\n {/foreach}\n {/foreach}\n {/if}\n\n {if $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.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}\n \n {$event.participant_role}\n
\n {$location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.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 File{/ts}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {$event.fee_label}\n
\n {ts 1=$priceset+1}Participant %1{/ts}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n {if $pricesetFieldsCount }{/if}\n \n {foreach from=$value item=line}\n \n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if $pricesetFieldsCount }\n \n {/if}\n \n {/foreach}\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}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.participant_count}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$totalAmount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {$amnt.amount|crmMoney} {$amnt.label}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {if $balanceAmount}\n {ts}Total Paid{/ts}\n {else}\n {ts}Total Amount{/ts}\n {/if}\n \n {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n
\n {ts}Balance{/ts}\n \n {$balanceAmount|crmMoney}\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 {$pay_later_receipt}\n
\n {ts}Registration Date{/ts}\n \n {$register_date|crmDate}\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 {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\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
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$value}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$value}\n
\n {ts 1=$customName+1}Participant Information - Participant %1{/ts}\n
\n {if $field eq \'additionalCustomPre\'}\n {$additionalCustomPre_grouptitle}\n {else}\n {$additionalCustomPost_grouptitle}\n {/if}\n
\n {$f}\n \n {$v}\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,812,1,0,0,NULL),(30,'Events - Registration Confirmation and Receipt (off-line)','{ts}Event Confirmation{/ts} - {$event.title}\n','{contact.email_greeting}\n{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n{$event.confirm_email_text}\n{/if}\n\n{if $isOnWaitlist}\n==========================================================={if $pricesetFieldsCount }===================={/if}\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\n{/if}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{elseif $isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\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==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{elseif $is_pay_later}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{else}\n\n{ts}Please print this confirmation for your records.{/ts}\n{/if}\n\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $event.is_public}\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 File:{/ts} {$icalFeed}\n{/if}\n\n{if $email}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Registered Email{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$email}\n{/if}\n{if $event.is_monetary} {* This section for Paid events only.*}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.fee_label}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{if $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}\n{/if}\n{/if}\n---------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\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 $dataArray}\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{capture assign=ts_participant_total}{if $pricesetFieldsCount }{ts}Total Participants{/ts}{/if}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {$ts_participant_total|string_format:\"%10s\"}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{foreach from=$value item=line}\n{if $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|string_format:\"%10s\"} {if $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {$ts_participant_count|string_format:\"%10s\"}\n{/foreach}\n{/if}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if $amount && !$lineItem}\n{foreach from=$amount item=amnt key=level}{$amnt.amount|crmMoney} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if $isPrimary}\n\n{if $balanceAmount}{ts}Total Paid{/ts}{else}{ts}Total Amount{/ts}{/if}: {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n\n{if $balanceAmount}\n{ts}Balance{/ts}: {$balanceAmount|crmMoney}\n{/if}\n\n{if $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 $is_pay_later }\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $financialTypeName}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\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 $customPre}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPre_grouptitle}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPre item=value key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n\n{if $customPost}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPost_grouptitle}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPost item=value key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n{if $customProfile}\n\n{foreach from=$customProfile item=value key=customName}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts 1=$customName+1}Participant Information - Participant %1{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=val key=field}\n{if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\' }\n{if $field eq \'additionalCustomPre\' }\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$additionalCustomPre_grouptitle}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{else}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$additionalCustomPost_grouptitle}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{/if}\n{foreach from=$val item=v key=f}\n{$f}: {$v}\n{/foreach}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n\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

{contact.email_greeting}

\n\n {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n

{$event.confirm_email_text|htmlize}

\n {/if}\n\n {if $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 $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 $is_pay_later}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n \n \n \n \n \n \n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $email}\n \n \n \n \n \n \n {/if}\n\n\n {if $event.is_monetary}\n\n \n \n \n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if $isPrimary}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n {/if}\n \n \n \n {/if}\n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n\n {if $amount && !$lineItem}\n {foreach from=$amount item=amnt key=level}\n \n \n \n {/foreach}\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if $balanceAmount}\n \n \n \n \n {/if}\n {if $pricesetFieldsCount }\n \n \n \n \n {/if}\n {if $is_pay_later}\n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $financialTypeName}\n \n \n \n \n {/if}\n\n {if $trxn_id}\n \n \n \n \n {/if}\n\n {if $paidBy}\n \n \n \n \n {/if}\n\n {if $checkNumber}\n \n \n \n \n {/if}\n\n {if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=value key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=value key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customProfile}\n {foreach from=$customProfile item=value key=customName}\n \n \n \n {foreach from=$value item=val key=field}\n {if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\'}\n \n \n \n {foreach from=$val item=v key=f}\n \n \n \n \n {/foreach}\n {/if}\n {/foreach}\n {/foreach}\n {/if}\n\n {if $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.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}\n \n {$event.participant_role}\n
\n {$location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.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 File{/ts}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {$event.fee_label}\n
\n {ts 1=$priceset+1}Participant %1{/ts}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n {if $pricesetFieldsCount }{/if}\n \n {foreach from=$value item=line}\n \n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if $pricesetFieldsCount }\n \n {/if}\n \n {/foreach}\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}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.participant_count}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$totalAmount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {$amnt.amount|crmMoney} {$amnt.label}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {if $balanceAmount}\n {ts}Total Paid{/ts}\n {else}\n {ts}Total Amount{/ts}\n {/if}\n \n {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n
\n {ts}Balance{/ts}\n \n {$balanceAmount|crmMoney}\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 {$pay_later_receipt}\n
\n {ts}Registration Date{/ts}\n \n {$register_date|crmDate}\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 {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\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
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$value}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$value}\n
\n {ts 1=$customName+1}Participant Information - Participant %1{/ts}\n
\n {if $field eq \'additionalCustomPre\'}\n {$additionalCustomPre_grouptitle}\n {else}\n {$additionalCustomPost_grouptitle}\n {/if}\n
\n {$f}\n \n {$v}\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,812,0,1,0,NULL),(31,'Events - Registration Confirmation and Receipt (on-line)','{if $isOnWaitlist}{ts}Wait List Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {$event.event_title}','{contact.email_greeting},\n\n{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n{$event.confirm_email_text}\n\n{else}\n {ts}Thank you for your participation.{/ts}\n {if $participant_status}{ts 1=$participant_status}This letter is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n {else}{if $isOnWaitlist}{ts}This letter is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This letter is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}\n {/if}.\n\n{/if}\n\n{if $isOnWaitlist}\n==========================================================={if $pricesetFieldsCount }===================={/if}\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==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{elseif $isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\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==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{elseif $is_pay_later && !$isAmountzero && !$isAdditionalParticipant}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{else}\n\n{ts}Please print this confirmation for your records.{/ts}\n{/if}\n\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.event_title}\n{$event.event_start_date|date_format:\"%A\"} {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|date_format:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n{if $conference_sessions}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|date_format:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location} {$session.location}{/if}\n{/foreach}\n{/if}\n\n{if $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $event.is_public}\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 File:{/ts} {$icalFeed}\n{/if}\n\n{if $payer.name}\nYou were registered by: {$payer.name}\n{/if}\n{if $event.is_monetary} {* This section for Paid events only.*}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.fee_label}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{if $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} {$part.$priceset.info}\n\n{/if}\n{/if}\n-----------------------------------------------------------{if $pricesetFieldsCount }-----------------------------------------------------{/if}\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 $dataArray}\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 $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 $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {$ts_participant_total|string_format:\"%10s\"}\n-----------------------------------------------------------{if $pricesetFieldsCount }-----------------------------------------------------{/if}\n\n{foreach from=$value item=line}\n{if $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}{$ts_participant_count|string_format:\"%10s\"}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if $individual}{ts}Participant Total{/ts} {$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%29s\"} {$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%33s\"} {$individual.$priceset.totalAmtWithTax|crmMoney:$currency|string_format:\"%12s\"}{/if}\n{/if}\n{\"\"|string_format:\"%120s\"}\n{/foreach}\n{\"\"|string_format:\"%120s\"}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if $amounts && !$lineItem}\n{foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if $isPrimary }\n\n{ts}Total Amount{/ts}: {$totalAmount|crmMoney:$currency} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n\n{if $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 $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $financialTypeName}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode ne \'notify\' and !$isAmountzero and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and !$isOnWaitlist and !$isRequireApproval}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Credit Card Information{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\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 $customPre}\n{foreach from=$customPre item=customPr key=i}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPre_grouptitle.$i}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPr item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $customPost}\n{foreach from=$customPost item=customPos key=j}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPost_grouptitle.$j}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPos item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if $customProfile}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$customProfile.title.$pid}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\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{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $event.allow_selfcancelxfer }\n{ts 1=$event.selfcancelxfer_time}You may transfer your registration to another participant or cancel your registration up to %1 hours before the event.{/ts} {if $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=participantTotal}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 \n {/if}\n \n \n
\n

{contact.email_greeting},

\n\n {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n

{$event.confirm_email_text|htmlize}

\n\n {else}\n

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

\n\n {/if}\n\n

\n {if $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 $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 $is_pay_later && !$isAmountzero && !$isAdditionalParticipant}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n \n \n \n \n \n \n\n\n {if $conference_sessions}\n \n \n \n \n \n \n {/if}\n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $event.is_share}\n \n \n \n {/if}\n {if $payer.name}\n \n \n \n \n \n \n {/if}\n {if $event.is_monetary}\n\n \n \n \n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if $isPrimary}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n {/if}\n \n \n \n {/if}\n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n\n {if $amounts && !$lineItem}\n {foreach from=$amounts item=amnt key=level}\n \n \n \n {/foreach}\n {/if}\n\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if $pricesetFieldsCount }\n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $financialTypeName}\n \n \n \n \n {/if}\n\n {if $trxn_id}\n \n \n \n \n {/if}\n\n {if $paidBy}\n \n \n \n \n {/if}\n\n {if $checkNumber}\n \n \n \n \n {/if}\n\n {if $contributeMode ne \'notify\' and !$isAmountzero and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n\n{if $customPre}\n{foreach from=$customPre item=customPr key=i}\n \n {foreach from=$customPr item=customValue key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n{/foreach}\n{/if}\n\n{if $customPost}\n{foreach from=$customPost item=customPos key=j}\n \n {foreach from=$customPos item=customValue key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $customProfile}\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n \n {foreach from=$eachParticipant item=eachProfile key=pid}\n \n {foreach from=$eachProfile item=val key=field}\n {foreach from=$val item=v key=f}\n \n \n {/foreach}\n \n {/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n {if $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 {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|date_format:\"%A\"} {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|date_format:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Your schedule:{/ts}\n
\n {assign var=\'group_by_day\' value=\'NA\'}\n {foreach from=$conference_sessions item=session}\n {if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n {assign var=\'group_by_day\' value=$session.start_date}\n {$group_by_day|date_format:\"%m/%d/%Y\"}
\n {/if}\n {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}
\n {if $session.location}    {$session.location}
{/if}\n {/foreach}\n
\n {ts}Participant Role{/ts}\n \n {$event.participant_role}\n
\n {$location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.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 File{/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 title=$event.title pageURL=$eventUrl}\n
\n {ts}You were registered by:{/ts}\n
\n {$payer.name}\n
\n {$event.fee_label}\n
\n {ts 1=$priceset+1}Participant %1{/ts} {$part.$priceset.info}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n {if $pricesetFieldsCount }{/if}\n \n {foreach from=$value item=line}\n \n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if $pricesetFieldsCount } {/if}\n \n {/foreach}\n {if $individual}\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}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n {$line.participant_count}
{ts}Participant Total{/ts}{$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney}{$individual.$priceset.totalTaxAmt|crmMoney}{$individual.$priceset.totalAmtWithTax|crmMoney}
\n
\n {ts} Amount Before Tax: {/ts}\n \n {$totalAmount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {$amnt.amount|crmMoney:$currency} {$amnt.label}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$totalAmount|crmMoney:$currency} {if $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 {$register_date|crmDate}\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 {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\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 {$customName}\n
\n {$n}\n \n {$v}\n
\n {if $event.allow_selfcancelxfer }\n
\n {ts 1=$event.selfcancelxfer_time}You may transfer your registration to another participant or cancel your registration up to %1 hours before the event.{/ts} {if $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\n',1,813,1,0,0,NULL),(32,'Events - Registration Confirmation and Receipt (on-line)','{if $isOnWaitlist}{ts}Wait List Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {$event.event_title}','{contact.email_greeting},\n\n{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n{$event.confirm_email_text}\n\n{else}\n {ts}Thank you for your participation.{/ts}\n {if $participant_status}{ts 1=$participant_status}This letter is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n {else}{if $isOnWaitlist}{ts}This letter is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This letter is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}\n {/if}.\n\n{/if}\n\n{if $isOnWaitlist}\n==========================================================={if $pricesetFieldsCount }===================={/if}\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==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{elseif $isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\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==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{elseif $is_pay_later && !$isAmountzero && !$isAdditionalParticipant}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{else}\n\n{ts}Please print this confirmation for your records.{/ts}\n{/if}\n\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.event_title}\n{$event.event_start_date|date_format:\"%A\"} {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|date_format:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n{if $conference_sessions}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|date_format:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location} {$session.location}{/if}\n{/foreach}\n{/if}\n\n{if $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $event.is_public}\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 File:{/ts} {$icalFeed}\n{/if}\n\n{if $payer.name}\nYou were registered by: {$payer.name}\n{/if}\n{if $event.is_monetary} {* This section for Paid events only.*}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.fee_label}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{if $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} {$part.$priceset.info}\n\n{/if}\n{/if}\n-----------------------------------------------------------{if $pricesetFieldsCount }-----------------------------------------------------{/if}\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 $dataArray}\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 $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 $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {$ts_participant_total|string_format:\"%10s\"}\n-----------------------------------------------------------{if $pricesetFieldsCount }-----------------------------------------------------{/if}\n\n{foreach from=$value item=line}\n{if $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}{$ts_participant_count|string_format:\"%10s\"}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if $individual}{ts}Participant Total{/ts} {$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%29s\"} {$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%33s\"} {$individual.$priceset.totalAmtWithTax|crmMoney:$currency|string_format:\"%12s\"}{/if}\n{/if}\n{\"\"|string_format:\"%120s\"}\n{/foreach}\n{\"\"|string_format:\"%120s\"}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if $amounts && !$lineItem}\n{foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if $isPrimary }\n\n{ts}Total Amount{/ts}: {$totalAmount|crmMoney:$currency} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n\n{if $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 $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $financialTypeName}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode ne \'notify\' and !$isAmountzero and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and !$isOnWaitlist and !$isRequireApproval}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Credit Card Information{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\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 $customPre}\n{foreach from=$customPre item=customPr key=i}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPre_grouptitle.$i}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPr item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $customPost}\n{foreach from=$customPost item=customPos key=j}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPost_grouptitle.$j}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPos item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if $customProfile}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$customProfile.title.$pid}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\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{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $event.allow_selfcancelxfer }\n{ts 1=$event.selfcancelxfer_time}You may transfer your registration to another participant or cancel your registration up to %1 hours before the event.{/ts} {if $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=participantTotal}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 \n {/if}\n \n \n
\n

{contact.email_greeting},

\n\n {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n

{$event.confirm_email_text|htmlize}

\n\n {else}\n

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

\n\n {/if}\n\n

\n {if $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 $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 $is_pay_later && !$isAmountzero && !$isAdditionalParticipant}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n \n \n \n \n \n \n\n\n {if $conference_sessions}\n \n \n \n \n \n \n {/if}\n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $event.is_share}\n \n \n \n {/if}\n {if $payer.name}\n \n \n \n \n \n \n {/if}\n {if $event.is_monetary}\n\n \n \n \n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if $isPrimary}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n {/if}\n \n \n \n {/if}\n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n\n {if $amounts && !$lineItem}\n {foreach from=$amounts item=amnt key=level}\n \n \n \n {/foreach}\n {/if}\n\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if $pricesetFieldsCount }\n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $financialTypeName}\n \n \n \n \n {/if}\n\n {if $trxn_id}\n \n \n \n \n {/if}\n\n {if $paidBy}\n \n \n \n \n {/if}\n\n {if $checkNumber}\n \n \n \n \n {/if}\n\n {if $contributeMode ne \'notify\' and !$isAmountzero and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n\n{if $customPre}\n{foreach from=$customPre item=customPr key=i}\n \n {foreach from=$customPr item=customValue key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n{/foreach}\n{/if}\n\n{if $customPost}\n{foreach from=$customPost item=customPos key=j}\n \n {foreach from=$customPos item=customValue key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $customProfile}\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n \n {foreach from=$eachParticipant item=eachProfile key=pid}\n \n {foreach from=$eachProfile item=val key=field}\n {foreach from=$val item=v key=f}\n \n \n {/foreach}\n \n {/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n {if $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 {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|date_format:\"%A\"} {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|date_format:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Your schedule:{/ts}\n
\n {assign var=\'group_by_day\' value=\'NA\'}\n {foreach from=$conference_sessions item=session}\n {if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n {assign var=\'group_by_day\' value=$session.start_date}\n {$group_by_day|date_format:\"%m/%d/%Y\"}
\n {/if}\n {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}
\n {if $session.location}    {$session.location}
{/if}\n {/foreach}\n
\n {ts}Participant Role{/ts}\n \n {$event.participant_role}\n
\n {$location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.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 File{/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 title=$event.title pageURL=$eventUrl}\n
\n {ts}You were registered by:{/ts}\n
\n {$payer.name}\n
\n {$event.fee_label}\n
\n {ts 1=$priceset+1}Participant %1{/ts} {$part.$priceset.info}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n {if $pricesetFieldsCount }{/if}\n \n {foreach from=$value item=line}\n \n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if $pricesetFieldsCount } {/if}\n \n {/foreach}\n {if $individual}\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}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n {$line.participant_count}
{ts}Participant Total{/ts}{$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney}{$individual.$priceset.totalTaxAmt|crmMoney}{$individual.$priceset.totalAmtWithTax|crmMoney}
\n
\n {ts} Amount Before Tax: {/ts}\n \n {$totalAmount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {$amnt.amount|crmMoney:$currency} {$amnt.label}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$totalAmount|crmMoney:$currency} {if $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 {$register_date|crmDate}\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 {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\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 {$customName}\n
\n {$n}\n \n {$v}\n
\n {if $event.allow_selfcancelxfer }\n
\n {ts 1=$event.selfcancelxfer_time}You may transfer your registration to another participant or cancel your registration up to %1 hours before the event.{/ts} {if $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\n',1,813,0,1,0,NULL),(33,'Events - Receipt only','Receipt for {if $events_in_cart} Event Registration{/if}\n','Dear {contact.display_name},\n{if $is_pay_later}\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{else}\n This is being sent to you as a {if $is_refund}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n{/if}\n\n{if $is_pay_later}\n {$pay_later_receipt}\n{/if}\n\n Your order number is #{$transaction_id}. Please print this confirmation for your records.{if $line_items && !$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|date_format:\"%D %I:%M %p %Z\"}:\n\n{if $billing_name}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billing_name}\n\n{$billing_street_address}\n\n{$billing_city}, {$billing_state} {$billing_postal_code}\n\n{$email}\n{/if}\n\n{if $source}\n{$source}\n{/if}\n\n\n{foreach from=$line_items item=line_item}\n{$line_item.event->title} ({$line_item.event->start_date|date_format:\"%D\"})\n{if $line_item.event->is_show_location}\n {$line_item.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n{$line_item.event->start_date|date_format:\"%D %I:%M %p\"} - {$line_item.event->end_date|date_format:\"%I:%M %p\"}\n\n Quantity: {$line_item.num_participants}\n\n{if $line_item.num_participants > 0}\n {foreach from=$line_item.participants item=participant}\n {$participant.display_name}\n {/foreach}\n{/if}\n{if $line_item.num_waiting_participants > 0}\n Waitlisted:\n {foreach from=$line_item.waiting_participants item=participant}\n {$participant.display_name}\n {/foreach}\n{/if}\nCost: {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\nTotal For This Event: {$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n\n{/foreach}\n\n{if $discounts}\nSubtotal: {$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n--------------------------------------\nDiscounts\n{foreach from=$discounts key=myId item=i}\n {$i.title}: -{$i.amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/if}\n======================================\nTotal: {$total|crmMoney:$currency|string_format:\"%10s\"}\n\n{if $credit_card_type}\n===========================================================\n{ts}Payment Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n{/if}\n\n If you have questions about the status of your registration or purchase please feel free to contact us.\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

Dear {contact.display_name},

\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 $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}. Please print this confirmation for your records.{if $line_items && !$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|date_format:\"%D %I:%M %p %Z\"}:

\n\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 $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|date_format:\"%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|date_format:\"%D %I:%M %p\"} - {$line_item.event->end_date|date_format:\"%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,814,1,0,0,NULL),(34,'Events - Receipt only','Receipt for {if $events_in_cart} Event Registration{/if}\n','Dear {contact.display_name},\n{if $is_pay_later}\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{else}\n This is being sent to you as a {if $is_refund}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n{/if}\n\n{if $is_pay_later}\n {$pay_later_receipt}\n{/if}\n\n Your order number is #{$transaction_id}. Please print this confirmation for your records.{if $line_items && !$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|date_format:\"%D %I:%M %p %Z\"}:\n\n{if $billing_name}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billing_name}\n\n{$billing_street_address}\n\n{$billing_city}, {$billing_state} {$billing_postal_code}\n\n{$email}\n{/if}\n\n{if $source}\n{$source}\n{/if}\n\n\n{foreach from=$line_items item=line_item}\n{$line_item.event->title} ({$line_item.event->start_date|date_format:\"%D\"})\n{if $line_item.event->is_show_location}\n {$line_item.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n{$line_item.event->start_date|date_format:\"%D %I:%M %p\"} - {$line_item.event->end_date|date_format:\"%I:%M %p\"}\n\n Quantity: {$line_item.num_participants}\n\n{if $line_item.num_participants > 0}\n {foreach from=$line_item.participants item=participant}\n {$participant.display_name}\n {/foreach}\n{/if}\n{if $line_item.num_waiting_participants > 0}\n Waitlisted:\n {foreach from=$line_item.waiting_participants item=participant}\n {$participant.display_name}\n {/foreach}\n{/if}\nCost: {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\nTotal For This Event: {$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n\n{/foreach}\n\n{if $discounts}\nSubtotal: {$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n--------------------------------------\nDiscounts\n{foreach from=$discounts key=myId item=i}\n {$i.title}: -{$i.amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/if}\n======================================\nTotal: {$total|crmMoney:$currency|string_format:\"%10s\"}\n\n{if $credit_card_type}\n===========================================================\n{ts}Payment Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n{/if}\n\n If you have questions about the status of your registration or purchase please feel free to contact us.\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

Dear {contact.display_name},

\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 $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}. Please print this confirmation for your records.{if $line_items && !$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|date_format:\"%D %I:%M %p %Z\"}:

\n\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 $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|date_format:\"%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|date_format:\"%D %I:%M %p\"} - {$line_item.event->end_date|date_format:\"%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,814,0,1,0,NULL),(35,'Events - Registration Cancellation Notice','{ts 1=$event.event_title}Event Registration Cancelled for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts}Your Event Registration has been cancelled.{/ts}\n\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\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 \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
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

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

\n
\n \n \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {$event.location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\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\n',1,815,1,0,0,NULL),(36,'Events - Registration Cancellation Notice','{ts 1=$event.event_title}Event Registration Cancelled for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts}Your Event Registration has been cancelled.{/ts}\n\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\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 \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
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

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

\n
\n \n \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {$event.location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\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\n',1,815,0,1,0,NULL),(37,'Events - Registration Confirmation Invite','{ts 1=$event.event_title}Confirm your registration for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n{if !$isAdditional and $participant.id}\n\n===========================================================\n{ts}Confirm Your Registration{/ts}\n\n===========================================================\n{capture assign=confirmUrl}{crmURL p=\'civicrm/event/confirm\' q=\"reset=1&participantId=`$participant.id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\nClick this link to go to a web page where you can confirm your registration online:\n{$confirmUrl}\n{/if}\n{if $event.allow_selfcancelxfer }\n{ts 1=$event.selfcancelxfer_time}You may transfer your registration to another participant or cancel your registration up to %1 hours before the event.{/ts} {if $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{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n{if $conference_sessions}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|date_format:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location} {$session.location}{/if}\n{/foreach}\n{/if}\n\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $event.is_public}\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 File:{/ts} {$icalFeed}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\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 \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 {if !$isAdditional and $participant.id}\n \n \n \n \n \n \n {/if}\n {if $event.allow_selfcancelxfer }\n This event allows for self-cancel or transfer\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participantID`&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n {ts}Self service cancel transfer{/ts}\n {/if}\n\n \n \n \n {if $event.allow_selfcancelxfer }\n \n \n \n {/if}\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n
\n {ts}Confirm Your Registration{/ts}\n
\n {capture assign=confirmUrl}{crmURL p=\'civicrm/event/confirm\' q=\"reset=1&participantId=`$participant.id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\n Go to a web page where you can confirm your registration online\n
\n \n \n \n \n \n \n \n {if $conference_sessions}\n \n \n \n \n \n \n {/if}\n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Your schedule:{/ts}\n
\n {assign var=\'group_by_day\' value=\'NA\'}\n {foreach from=$conference_sessions item=session}\n {if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n {assign var=\'group_by_day\' value=$session.start_date}\n {$group_by_day|date_format:\"%m/%d/%Y\"}
\n {/if}\n {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}
\n {if $session.location}    {$session.location}
{/if}\n {/foreach}\n
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {$event.location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.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 File{/ts}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\n
\n
\n {ts 1=$event.selfcancelxfer_time}You may transfer your registration to another participant or cancel your registration up to %1 hours before the event.{/ts} {if $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

{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\n',1,816,1,0,0,NULL),(38,'Events - Registration Confirmation Invite','{ts 1=$event.event_title}Confirm your registration for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n{if !$isAdditional and $participant.id}\n\n===========================================================\n{ts}Confirm Your Registration{/ts}\n\n===========================================================\n{capture assign=confirmUrl}{crmURL p=\'civicrm/event/confirm\' q=\"reset=1&participantId=`$participant.id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\nClick this link to go to a web page where you can confirm your registration online:\n{$confirmUrl}\n{/if}\n{if $event.allow_selfcancelxfer }\n{ts 1=$event.selfcancelxfer_time}You may transfer your registration to another participant or cancel your registration up to %1 hours before the event.{/ts} {if $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{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n{if $conference_sessions}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|date_format:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location} {$session.location}{/if}\n{/foreach}\n{/if}\n\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $event.is_public}\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 File:{/ts} {$icalFeed}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\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 \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 {if !$isAdditional and $participant.id}\n \n \n \n \n \n \n {/if}\n {if $event.allow_selfcancelxfer }\n This event allows for self-cancel or transfer\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participantID`&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n {ts}Self service cancel transfer{/ts}\n {/if}\n\n \n \n \n {if $event.allow_selfcancelxfer }\n \n \n \n {/if}\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n
\n {ts}Confirm Your Registration{/ts}\n
\n {capture assign=confirmUrl}{crmURL p=\'civicrm/event/confirm\' q=\"reset=1&participantId=`$participant.id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\n Go to a web page where you can confirm your registration online\n
\n \n \n \n \n \n \n \n {if $conference_sessions}\n \n \n \n \n \n \n {/if}\n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Your schedule:{/ts}\n
\n {assign var=\'group_by_day\' value=\'NA\'}\n {foreach from=$conference_sessions item=session}\n {if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n {assign var=\'group_by_day\' value=$session.start_date}\n {$group_by_day|date_format:\"%m/%d/%Y\"}
\n {/if}\n {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}
\n {if $session.location}    {$session.location}
{/if}\n {/foreach}\n
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {$event.location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.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 File{/ts}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\n
\n
\n {ts 1=$event.selfcancelxfer_time}You may transfer your registration to another participant or cancel your registration up to %1 hours before the event.{/ts} {if $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

{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\n',1,816,0,1,0,NULL),(39,'Events - Pending Registration Expiration Notice','{ts 1=$event.event_title}Event registration has expired for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}\n\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor want to inquire about reinstating your registration for this event.{/ts}\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\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 \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
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}

\n

{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor want to inquire about reinstating your registration for this event.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {$event.location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\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\n',1,817,1,0,0,NULL),(40,'Events - Pending Registration Expiration Notice','{ts 1=$event.event_title}Event registration has expired for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}\n\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor want to inquire about reinstating your registration for this event.{/ts}\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\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 \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
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}

\n

{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor want to inquire about reinstating your registration for this event.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {$event.location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\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\n',1,817,0,1,0,NULL),(41,'Events - Registration Transferred Notice','{ts 1=$event.event_title}Event Registration Transferred for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$to_participant}Your Event Registration has been transferred to %1.{/ts}\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\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 \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
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$to_participant}Your Event Registration has been Transferred to %1.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {$event.location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\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\n',1,818,1,0,0,NULL),(42,'Events - Registration Transferred Notice','{ts 1=$event.event_title}Event Registration Transferred for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$to_participant}Your Event Registration has been transferred to %1.{/ts}\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\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 \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
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$to_participant}Your Event Registration has been Transferred to %1.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\n
\n {$event.event_title}
\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {$event.location.address.1.display|nl2br}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\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\n',1,818,0,1,0,NULL),(43,'Tell-a-Friend Email','{ts 1=$senderContactName 2=$title}%1 wants you to know about %2{/ts}\n','{$senderMessage}\n\n{if $generalLink}{ts}For more information, visit:{/ts}\n>> {$generalLink}\n\n{/if}\n{if $contribute}{ts}To make a contribution, go to:{/ts}\n>> {$pageURL}\n\n{/if}\n{if $event}{ts}To find out more about this event, go to:{/ts}\n>> {$pageURL}\n{/if}\n\n\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

{$senderMessage}

\n {if $generalLink}\n

{ts}More information{/ts}

\n {/if}\n {if $contribute}\n

{ts}Make a contribution{/ts}

\n {/if}\n {if $event}\n

{ts}Find out more about this event{/ts}

\n {/if}\n
\n
\n\n\n\n',1,819,1,0,0,NULL),(44,'Tell-a-Friend Email','{ts 1=$senderContactName 2=$title}%1 wants you to know about %2{/ts}\n','{$senderMessage}\n\n{if $generalLink}{ts}For more information, visit:{/ts}\n>> {$generalLink}\n\n{/if}\n{if $contribute}{ts}To make a contribution, go to:{/ts}\n>> {$pageURL}\n\n{/if}\n{if $event}{ts}To find out more about this event, go to:{/ts}\n>> {$pageURL}\n{/if}\n\n\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

{$senderMessage}

\n {if $generalLink}\n

{ts}More information{/ts}

\n {/if}\n {if $contribute}\n

{ts}Make a contribution{/ts}

\n {/if}\n {if $event}\n

{ts}Find out more about this event{/ts}

\n {/if}\n
\n
\n\n\n\n',1,819,0,1,0,NULL),(45,'Memberships - Signup and Renewal Receipts (off-line)','{if $receiptType EQ \'membership signup\'}\n{ts}Membership Confirmation and Receipt{/ts}\n{elseif $receiptType EQ \'membership renewal\'}\n{ts}Membership Renewal Confirmation and Receipt{/ts}\n{/if}\n','{if $formValues.receipt_text_signup}\n{$formValues.receipt_text_signup}\n{elseif $formValues.receipt_text_renewal}\n{$formValues.receipt_text_renewal}\n{else}{ts}Thank you for your support.{/ts}{/if}\n\n{if ! $cancelled}{ts}Please print this receipt for your records.{/ts}\n\n\n{/if}\n{if !$lineItem}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{/if}\n{if ! $cancelled}\n{if !$lineItem}\n{ts}Membership Start Date{/ts}: {$mem_start_date}\n{ts}Membership End Date{/ts}: {$mem_end_date}\n{/if}\n\n{if $formValues.total_amount OR $formValues.total_amount eq 0 }\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if $formValues.contributionType_name}\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\n{/if}\n{if $lineItem}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if $dataArray}\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{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\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.line_total|crmMoney|string_format:\"%10s\"} {if $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset}\n{$taxTerm} {$priceset|string_format:\"%.2f\"} %: {$value|crmMoney:$currency}\n{elseif $priceset == 0}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$formValues.total_amount|crmMoney}\n{if $receive_date}\n{ts}Date Received{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if $formValues.paidBy}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if $formValues.check_number}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{/if}\n{/if}\n\n{if $isPrimary }\n{if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later }\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later}\n===========================================================\n{ts}Credit Card Information{/ts}\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\n{if $customValues}\n===========================================================\n{ts}Membership Options{/ts}\n\n===========================================================\n{foreach from=$customValues item=value key=customName}\n {$customName} : {$value}\n{/foreach}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n {if $isPrimary}\n \n \n \n {/if}\n\n {if $customValues}\n \n \n \n {/if}\n\n
\n {if $formValues.receipt_text_signup}\n

{$formValues.receipt_text_signup|htmlize}

\n {elseif $formValues.receipt_text_renewal}\n

{$formValues.receipt_text_renewal|htmlize}

\n {else}\n

{ts}Thank you for your support.{/ts}

\n {/if}\n {if ! $cancelled}\n

{ts}Please print this receipt for your records.{/ts}

\n {/if}\n
\n \n {if !$lineItem}\n \n \n \n \n \n \n \n {/if}\n {if ! $cancelled}\n {if !$lineItem}\n \n \n \n \n \n \n \n \n {/if}\n {if $formValues.total_amount OR $formValues.total_amount eq 0 }\n \n \n \n {if $formValues.contributionType_name}\n \n \n \n \n {/if}\n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n {if isset($totalTaxAmount)}\n \n \n \n \n {/if}\n \n \n \n \n {if $receive_date}\n \n \n \n \n {/if}\n {if $formValues.paidBy}\n \n \n \n \n {if $formValues.check_number}\n \n \n \n \n {/if}\n {/if}\n {/if}\n {/if}\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Type{/ts}\n \n {$membership_name}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date}\n
\n {ts}Membership Fee{/ts}\n
\n {ts}Financial Type{/ts}\n \n {$formValues.contributionType_name}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n {if $dataArray}\n \n \n \n \n {/if}\n \n \n \n {foreach from=$value item=line}\n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n \n {/if}\n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Fee{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Membership Start Date{/ts}{ts}Membership End Date{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.line_total|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.start_date}\n \n {$line.end_date}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$formValues.total_amount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$formValues.total_amount|crmMoney}\n
\n {ts}Date Received{/ts}\n \n {$receive_date|truncate:10:\'\'|crmDate}\n
\n {ts}Paid By{/ts}\n \n {$formValues.paidBy}\n
\n {ts}Check Number{/ts}\n \n {$formValues.check_number}\n
\n
\n \n\n {if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later }\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later}\n \n \n \n \n \n \n \n \n \n \n {/if}\n\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}\n
\n {ts}Expires{/ts}\n \n {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n
\n \n \n \n \n {foreach from=$customValues item=value key=customName}\n \n \n \n \n {/foreach}\n
\n {ts}Membership Options{/ts}\n
\n {$customName}\n \n {$value}\n
\n
\n
\n\n\n\n',1,820,1,0,0,NULL),(46,'Memberships - Signup and Renewal Receipts (off-line)','{if $receiptType EQ \'membership signup\'}\n{ts}Membership Confirmation and Receipt{/ts}\n{elseif $receiptType EQ \'membership renewal\'}\n{ts}Membership Renewal Confirmation and Receipt{/ts}\n{/if}\n','{if $formValues.receipt_text_signup}\n{$formValues.receipt_text_signup}\n{elseif $formValues.receipt_text_renewal}\n{$formValues.receipt_text_renewal}\n{else}{ts}Thank you for your support.{/ts}{/if}\n\n{if ! $cancelled}{ts}Please print this receipt for your records.{/ts}\n\n\n{/if}\n{if !$lineItem}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{/if}\n{if ! $cancelled}\n{if !$lineItem}\n{ts}Membership Start Date{/ts}: {$mem_start_date}\n{ts}Membership End Date{/ts}: {$mem_end_date}\n{/if}\n\n{if $formValues.total_amount OR $formValues.total_amount eq 0 }\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if $formValues.contributionType_name}\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\n{/if}\n{if $lineItem}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if $dataArray}\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{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\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.line_total|crmMoney|string_format:\"%10s\"} {if $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset}\n{$taxTerm} {$priceset|string_format:\"%.2f\"} %: {$value|crmMoney:$currency}\n{elseif $priceset == 0}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$formValues.total_amount|crmMoney}\n{if $receive_date}\n{ts}Date Received{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if $formValues.paidBy}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if $formValues.check_number}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{/if}\n{/if}\n\n{if $isPrimary }\n{if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later }\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later}\n===========================================================\n{ts}Credit Card Information{/ts}\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\n{if $customValues}\n===========================================================\n{ts}Membership Options{/ts}\n\n===========================================================\n{foreach from=$customValues item=value key=customName}\n {$customName} : {$value}\n{/foreach}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n {if $isPrimary}\n \n \n \n {/if}\n\n {if $customValues}\n \n \n \n {/if}\n\n
\n {if $formValues.receipt_text_signup}\n

{$formValues.receipt_text_signup|htmlize}

\n {elseif $formValues.receipt_text_renewal}\n

{$formValues.receipt_text_renewal|htmlize}

\n {else}\n

{ts}Thank you for your support.{/ts}

\n {/if}\n {if ! $cancelled}\n

{ts}Please print this receipt for your records.{/ts}

\n {/if}\n
\n \n {if !$lineItem}\n \n \n \n \n \n \n \n {/if}\n {if ! $cancelled}\n {if !$lineItem}\n \n \n \n \n \n \n \n \n {/if}\n {if $formValues.total_amount OR $formValues.total_amount eq 0 }\n \n \n \n {if $formValues.contributionType_name}\n \n \n \n \n {/if}\n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n {if isset($totalTaxAmount)}\n \n \n \n \n {/if}\n \n \n \n \n {if $receive_date}\n \n \n \n \n {/if}\n {if $formValues.paidBy}\n \n \n \n \n {if $formValues.check_number}\n \n \n \n \n {/if}\n {/if}\n {/if}\n {/if}\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Type{/ts}\n \n {$membership_name}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date}\n
\n {ts}Membership Fee{/ts}\n
\n {ts}Financial Type{/ts}\n \n {$formValues.contributionType_name}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n {if $dataArray}\n \n \n \n \n {/if}\n \n \n \n {foreach from=$value item=line}\n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n \n {/if}\n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Fee{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Membership Start Date{/ts}{ts}Membership End Date{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.line_total|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.start_date}\n \n {$line.end_date}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$formValues.total_amount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$formValues.total_amount|crmMoney}\n
\n {ts}Date Received{/ts}\n \n {$receive_date|truncate:10:\'\'|crmDate}\n
\n {ts}Paid By{/ts}\n \n {$formValues.paidBy}\n
\n {ts}Check Number{/ts}\n \n {$formValues.check_number}\n
\n
\n \n\n {if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later }\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later}\n \n \n \n \n \n \n \n \n \n \n {/if}\n\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}\n
\n {ts}Expires{/ts}\n \n {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n
\n \n \n \n \n {foreach from=$customValues item=value key=customName}\n \n \n \n \n {/foreach}\n
\n {ts}Membership Options{/ts}\n
\n {$customName}\n \n {$value}\n
\n
\n
\n\n\n\n',1,820,0,1,0,NULL),(47,'Memberships - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}\n','{if $receipt_text}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{else}\n\n{ts}Please print this receipt for your records.{/ts}\n{/if}\n\n{if $membership_assign && !$useForMember}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\n{/if}\n{if $amount}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if !$useForMember && $membership_amount && $is_quick_config}\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{if $amount}\n{if ! $is_separate_payment }\n{ts}Contribution Amount{/ts}: {$amount|crmMoney}\n-------------------------------------------\n{ts}Total{/ts}: {$amount+$membership_amount|crmMoney}\n{/if}\n{/if}\n{elseif !$useForMember && $lineItem and $priceSetID & !$is_quick_config}\n{foreach from=$lineItem item=value key=priceset}\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{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{$line.description|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney}\n{else}\n{if $useForMember && $lineItem && !$is_quick_config}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if $dataArray}\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{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\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.line_total|crmMoney|string_format:\"%10s\"} {if $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$amount|crmMoney} {if $amount_level } - {$amount_level} {/if}\n{/if}\n{elseif $membership_amount}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{/if}\n\n{if $receive_date}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $is_monetary and $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n\n{/if}\n{if $membership_trx_id}\n{ts}Membership Transaction #{/ts}: {$membership_trx_id}\n\n{/if}\n{if $is_recur}\n{if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page: %1.{/ts}\n{if $updateSubscriptionBillingUrl}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n{/if}\n{/if}\n{/if}\n\n{if $honor_block_is_active }\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n\n{/if}\n{if $pcpBlock}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if $onBehalfProfile}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !( $contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\' ) and $is_monetary}\n{if $is_pay_later}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{elseif $amount GT 0 OR $membership_amount GT 0 }\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{/if} {* End ! is_pay_later condition. *}\n{/if}\n{if $contributeMode eq \'direct\' AND !$is_pay_later AND ( $amount GT 0 OR $membership_amount GT 0 ) }\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if $selectPremium }\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if $contact_email OR $contact_phone}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if $contact_email}\n {$contact_email}\n{/if}\n{if $contact_phone}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND $price}\n\n{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if $customPre}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if $customPost}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n
\n\n {if $receipt_text}\n

{$receipt_text|htmlize}

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

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n\n {if $membership_assign && !$useForMember}\n \n \n \n \n \n \n \n {if $mem_start_date}\n \n \n \n \n {/if}\n {if $mem_end_date}\n \n \n \n \n {/if}\n {/if}\n\n\n {if $amount}\n \n \n \n\n {if !$useForMember and $membership_amount and $is_quick_config}\n\n \n \n \n \n {if $amount}\n {if ! $is_separate_payment }\n \n \n \n \n \n \n \n \n {/if}\n {/if}\n\n {elseif !$useForMember && $lineItem and $priceSetID and !$is_quick_config}\n\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n \n \n \n \n\n {else}\n {if $useForMember && $lineItem and !$is_quick_config}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {/if}\n\n\n {elseif $membership_amount}\n\n\n \n \n \n \n \n \n \n\n\n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $is_monetary and $trxn_id}\n \n \n \n \n {/if}\n\n {if $membership_trx_id}\n \n \n \n \n {/if}\n {if $is_recur}\n {if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n \n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n {/if}\n {/if}\n\n {if $honor_block_is_active}\n \n \n \n {foreach from=$honoreeProfile item=value key=label}\n \n \n \n \n {/foreach}\n {/if}\n\n {if $pcpBlock}\n \n \n \n \n \n \n \n {if $pcp_roll_nickname}\n \n \n \n \n {/if}\n {if $pcp_personal_note}\n \n \n \n \n {/if}\n {/if}\n\n {if $onBehalfProfile}\n \n \n \n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n \n \n \n \n {/foreach}\n {/if}\n\n {if ! ($contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\') and $is_monetary}\n {if $is_pay_later}\n \n \n \n \n \n \n {elseif $amount GT 0 OR $membership_amount GT 0}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $contributeMode eq \'direct\' AND !$is_pay_later AND ($amount GT 0 OR $membership_amount GT 0)}\n \n \n \n \n \n \n {/if}\n\n {if $selectPremium}\n \n \n \n \n \n \n {if $option}\n \n \n \n \n {/if}\n {if $sku}\n \n \n \n \n {/if}\n {if $start_date}\n \n \n \n \n {/if}\n {if $end_date}\n \n \n \n \n {/if}\n {if $contact_email OR $contact_phone}\n \n \n \n {/if}\n {if $is_deductible AND $price}\n \n \n \n {/if}\n {/if}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Type{/ts}\n \n {$membership_name}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date|crmDate}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date|crmDate}\n
\n {ts}Membership Fee{/ts}\n
\n {ts 1=$membership_name}%1 Membership{/ts}\n \n {$membership_amount|crmMoney}\n
\n {ts}Contribution Amount{/ts}\n \n {$amount|crmMoney}\n
\n {ts}Total{/ts}\n \n {$amount+$membership_amount|crmMoney}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n {foreach from=$value item=line}\n \n \n \n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Total{/ts}
\n {$line.description|truncate:30:\"...\"}\n \n {$line.qty}\n \n {$line.unit_price|crmMoney}\n \n {$line.line_total|crmMoney}\n
\n
\n {ts}Total Amount{/ts}\n \n {$amount|crmMoney}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n {if $dataArray}\n \n \n \n \n {/if}\n \n \n \n {foreach from=$value item=line}\n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n \n {/if}\n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Fee{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Membership Start Date{/ts}{ts}Membership End Date{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.line_total|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.start_date}\n \n {$line.end_date}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$amount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}NO{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$amount|crmMoney} {if $amount_level} - {$amount_level}{/if}\n
\n {ts}Membership Fee{/ts}\n
\n {ts 1=$membership_name}%1 Membership{/ts}\n \n {$membership_amount|crmMoney}\n
\n {ts}Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Membership Transaction #{/ts}\n \n {$membership_trx_id}\n
\n {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n
\n {$soft_credit_type}\n
\n {$label}\n \n {$value}\n
\n {ts}Personal Campaign Page{/ts}\n
\n {ts}Display In Honor Roll{/ts}\n \n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n
\n {ts}Nickname{/ts}\n \n {$pcp_roll_nickname}\n
\n {ts}Personal Note{/ts}\n \n {$pcp_personal_note}\n
\n {$onBehalfProfile_grouptitle}\n
\n {$onBehalfName}\n \n {$onBehalfValue}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\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
\n {ts}Premium Information{/ts}\n
\n {$product_name}\n
\n {ts}Option{/ts}\n \n {$option}\n
\n {ts}SKU{/ts}\n \n {$sku}\n
\n {ts}Start Date{/ts}\n \n {$start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$end_date|crmDate}\n
\n

{ts}For information about this premium, contact:{/ts}

\n {if $contact_email}\n

{$contact_email}

\n {/if}\n {if $contact_phone}\n

{$contact_phone}

\n {/if}\n
\n

{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}

\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n
\n\n\n\n',1,821,1,0,0,NULL),(48,'Memberships - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}\n','{if $receipt_text}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{else}\n\n{ts}Please print this receipt for your records.{/ts}\n{/if}\n\n{if $membership_assign && !$useForMember}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\n{/if}\n{if $amount}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if !$useForMember && $membership_amount && $is_quick_config}\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{if $amount}\n{if ! $is_separate_payment }\n{ts}Contribution Amount{/ts}: {$amount|crmMoney}\n-------------------------------------------\n{ts}Total{/ts}: {$amount+$membership_amount|crmMoney}\n{/if}\n{/if}\n{elseif !$useForMember && $lineItem and $priceSetID & !$is_quick_config}\n{foreach from=$lineItem item=value key=priceset}\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{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{$line.description|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney}\n{else}\n{if $useForMember && $lineItem && !$is_quick_config}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if $dataArray}\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{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\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.line_total|crmMoney|string_format:\"%10s\"} {if $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate != \"\" || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$amount|crmMoney} {if $amount_level } - {$amount_level} {/if}\n{/if}\n{elseif $membership_amount}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{/if}\n\n{if $receive_date}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $is_monetary and $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n\n{/if}\n{if $membership_trx_id}\n{ts}Membership Transaction #{/ts}: {$membership_trx_id}\n\n{/if}\n{if $is_recur}\n{if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page: %1.{/ts}\n{if $updateSubscriptionBillingUrl}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n{/if}\n{/if}\n{/if}\n\n{if $honor_block_is_active }\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n\n{/if}\n{if $pcpBlock}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if $onBehalfProfile}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !( $contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\' ) and $is_monetary}\n{if $is_pay_later}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{elseif $amount GT 0 OR $membership_amount GT 0 }\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{/if} {* End ! is_pay_later condition. *}\n{/if}\n{if $contributeMode eq \'direct\' AND !$is_pay_later AND ( $amount GT 0 OR $membership_amount GT 0 ) }\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if $selectPremium }\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if $contact_email OR $contact_phone}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if $contact_email}\n {$contact_email}\n{/if}\n{if $contact_phone}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND $price}\n\n{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if $customPre}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if $customPost}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n
\n\n {if $receipt_text}\n

{$receipt_text|htmlize}

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

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n\n {if $membership_assign && !$useForMember}\n \n \n \n \n \n \n \n {if $mem_start_date}\n \n \n \n \n {/if}\n {if $mem_end_date}\n \n \n \n \n {/if}\n {/if}\n\n\n {if $amount}\n \n \n \n\n {if !$useForMember and $membership_amount and $is_quick_config}\n\n \n \n \n \n {if $amount}\n {if ! $is_separate_payment }\n \n \n \n \n \n \n \n \n {/if}\n {/if}\n\n {elseif !$useForMember && $lineItem and $priceSetID and !$is_quick_config}\n\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n \n \n \n \n\n {else}\n {if $useForMember && $lineItem and !$is_quick_config}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {/if}\n\n\n {elseif $membership_amount}\n\n\n \n \n \n \n \n \n \n\n\n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $is_monetary and $trxn_id}\n \n \n \n \n {/if}\n\n {if $membership_trx_id}\n \n \n \n \n {/if}\n {if $is_recur}\n {if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n \n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n {/if}\n {/if}\n\n {if $honor_block_is_active}\n \n \n \n {foreach from=$honoreeProfile item=value key=label}\n \n \n \n \n {/foreach}\n {/if}\n\n {if $pcpBlock}\n \n \n \n \n \n \n \n {if $pcp_roll_nickname}\n \n \n \n \n {/if}\n {if $pcp_personal_note}\n \n \n \n \n {/if}\n {/if}\n\n {if $onBehalfProfile}\n \n \n \n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n \n \n \n \n {/foreach}\n {/if}\n\n {if ! ($contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\') and $is_monetary}\n {if $is_pay_later}\n \n \n \n \n \n \n {elseif $amount GT 0 OR $membership_amount GT 0}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $contributeMode eq \'direct\' AND !$is_pay_later AND ($amount GT 0 OR $membership_amount GT 0)}\n \n \n \n \n \n \n {/if}\n\n {if $selectPremium}\n \n \n \n \n \n \n {if $option}\n \n \n \n \n {/if}\n {if $sku}\n \n \n \n \n {/if}\n {if $start_date}\n \n \n \n \n {/if}\n {if $end_date}\n \n \n \n \n {/if}\n {if $contact_email OR $contact_phone}\n \n \n \n {/if}\n {if $is_deductible AND $price}\n \n \n \n {/if}\n {/if}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Type{/ts}\n \n {$membership_name}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date|crmDate}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date|crmDate}\n
\n {ts}Membership Fee{/ts}\n
\n {ts 1=$membership_name}%1 Membership{/ts}\n \n {$membership_amount|crmMoney}\n
\n {ts}Contribution Amount{/ts}\n \n {$amount|crmMoney}\n
\n {ts}Total{/ts}\n \n {$amount+$membership_amount|crmMoney}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n {foreach from=$value item=line}\n \n \n \n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Total{/ts}
\n {$line.description|truncate:30:\"...\"}\n \n {$line.qty}\n \n {$line.unit_price|crmMoney}\n \n {$line.line_total|crmMoney}\n
\n
\n {ts}Total Amount{/ts}\n \n {$amount|crmMoney}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n {if $dataArray}\n \n \n \n \n {/if}\n \n \n \n {foreach from=$value item=line}\n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n \n {/if}\n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Fee{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Membership Start Date{/ts}{ts}Membership End Date{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.line_total|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.start_date}\n \n {$line.end_date}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$amount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}NO{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$amount|crmMoney} {if $amount_level} - {$amount_level}{/if}\n
\n {ts}Membership Fee{/ts}\n
\n {ts 1=$membership_name}%1 Membership{/ts}\n \n {$membership_amount|crmMoney}\n
\n {ts}Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Membership Transaction #{/ts}\n \n {$membership_trx_id}\n
\n {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n
\n {$soft_credit_type}\n
\n {$label}\n \n {$value}\n
\n {ts}Personal Campaign Page{/ts}\n
\n {ts}Display In Honor Roll{/ts}\n \n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n
\n {ts}Nickname{/ts}\n \n {$pcp_roll_nickname}\n
\n {ts}Personal Note{/ts}\n \n {$pcp_personal_note}\n
\n {$onBehalfProfile_grouptitle}\n
\n {$onBehalfName}\n \n {$onBehalfValue}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\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
\n {ts}Premium Information{/ts}\n
\n {$product_name}\n
\n {ts}Option{/ts}\n \n {$option}\n
\n {ts}SKU{/ts}\n \n {$sku}\n
\n {ts}Start Date{/ts}\n \n {$start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$end_date|crmDate}\n
\n

{ts}For information about this premium, contact:{/ts}

\n {if $contact_email}\n

{$contact_email}

\n {/if}\n {if $contact_phone}\n

{$contact_phone}

\n {/if}\n
\n

{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}

\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n
\n\n\n\n',1,821,0,1,0,NULL),(49,'Memberships - Auto-renew Cancellation Notification','{ts}Autorenew Membership Cancellation Notification{/ts}\n','{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}\n\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Status{/ts}: {$membership_status}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\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

{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}

\n\n
\n \n\n \n \n \n \n \n \n \n {if $mem_start_date}\n \n \n \n \n {/if}\n {if $mem_end_date}\n \n \n \n \n {/if}\n\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Status{/ts}\n \n {$membership_status}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date|crmDate}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date|crmDate}\n
\n
\n\n\n\n',1,822,1,0,0,NULL),(50,'Memberships - Auto-renew Cancellation Notification','{ts}Autorenew Membership Cancellation Notification{/ts}\n','{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}\n\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Status{/ts}: {$membership_status}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\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

{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}

\n\n
\n \n\n \n \n \n \n \n \n \n {if $mem_start_date}\n \n \n \n \n {/if}\n {if $mem_end_date}\n \n \n \n \n {/if}\n\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Status{/ts}\n \n {$membership_status}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date|crmDate}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date|crmDate}\n
\n
\n\n\n\n',1,822,0,1,0,NULL),(51,'Memberships - Auto-renew Billing Updates','{ts}Membership Autorenewal Billing Updates{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}','\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

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}

\n
\n\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\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
\n {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n
\n
\n\n\n\n',1,823,1,0,0,NULL),(52,'Memberships - Auto-renew Billing Updates','{ts}Membership Autorenewal Billing Updates{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}','\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

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}

\n
\n\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\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
\n {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n
\n
\n\n\n\n',1,823,0,1,0,NULL),(53,'Test-drive - Receipt Header','[TEST]\n','***********************************************************\n\n{ts}Test-drive Email / Receipt{/ts}\n\n{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}\n\n***********************************************************\n','
\n \n \n \n \n
\n

{ts}Test-drive Email / Receipt{/ts}

\n

{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}

\n
\n
\n',1,824,1,0,0,NULL),(54,'Test-drive - Receipt Header','[TEST]\n','***********************************************************\n\n{ts}Test-drive Email / Receipt{/ts}\n\n{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}\n\n***********************************************************\n','
\n \n \n \n \n
\n

{ts}Test-drive Email / Receipt{/ts}

\n

{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}

\n
\n
\n',1,824,0,1,0,NULL),(55,'Pledges - Acknowledgement','{ts}Thank you for your Pledge{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts}Thank you for your generous pledge. Please print this acknowledgment for your records.{/ts}\n\n===========================================================\n{ts}Pledge Information{/ts}\n\n===========================================================\n{ts}Pledge Received{/ts}: {$create_date|truncate:10:\'\'|crmDate}\n{ts}Total Pledge Amount{/ts}: {$total_pledge_amount|crmMoney:$currency}\n\n===========================================================\n{ts}Payment Schedule{/ts}\n\n===========================================================\n{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}\n\n{if $frequency_day}\n\n{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}\n{/if}\n\n{if $payments}\n{assign var=\"count\" value=\"1\"}\n{foreach from=$payments item=payment}\n\n{ts 1=$count}Payment %1{/ts}: {$payment.amount|crmMoney:$currency} {if $payment.status eq 1}{ts}paid{/ts} {$payment.receive_date|truncate:10:\'\'|crmDate}{else}{ts}due{/ts} {$payment.due_date|truncate:10:\'\'|crmDate}{/if}\n{assign var=\"count\" value=`$count+1`}\n{/foreach}\n{/if}\n\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}\n\n{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n

{ts 1=$contact.display_name}dear %1{/ts},

\n

{ts}thank you for your generous pledge. please print this acknowledgment for your records.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n {if $payments}\n {assign var=\"count\" value=\"1\"}\n {foreach from=$payments item=payment}\n \n \n \n \n {assign var=\"count\" value=`$count+1`}\n {/foreach}\n {/if}\n\n \n \n \n\n {if $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}Pledge Information{/ts}\n
\n {ts}Pledge Received{/ts}\n \n {$create_date|truncate:10:\'\'|crmDate}\n
\n {ts}Total Pledge Amount{/ts}\n \n {$total_pledge_amount|crmMoney:$currency}\n
\n {ts}Payment Schedule{/ts}\n
\n

{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}

\n\n {if $frequency_day}\n

{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}

\n {/if}\n
\n {ts 1=$count}Payment %1{/ts}\n \n {$payment.amount|crmMoney:$currency} {if $payment.status eq 1}{ts}paid{/ts} {$payment.receive_date|truncate:10:\'\'|crmDate}{else}{ts}due{/ts} {$payment.due_date|truncate:10:\'\'|crmDate}{/if}\n
\n

{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}

\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,825,1,0,0,NULL),(56,'Pledges - Acknowledgement','{ts}Thank you for your Pledge{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts}Thank you for your generous pledge. Please print this acknowledgment for your records.{/ts}\n\n===========================================================\n{ts}Pledge Information{/ts}\n\n===========================================================\n{ts}Pledge Received{/ts}: {$create_date|truncate:10:\'\'|crmDate}\n{ts}Total Pledge Amount{/ts}: {$total_pledge_amount|crmMoney:$currency}\n\n===========================================================\n{ts}Payment Schedule{/ts}\n\n===========================================================\n{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}\n\n{if $frequency_day}\n\n{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}\n{/if}\n\n{if $payments}\n{assign var=\"count\" value=\"1\"}\n{foreach from=$payments item=payment}\n\n{ts 1=$count}Payment %1{/ts}: {$payment.amount|crmMoney:$currency} {if $payment.status eq 1}{ts}paid{/ts} {$payment.receive_date|truncate:10:\'\'|crmDate}{else}{ts}due{/ts} {$payment.due_date|truncate:10:\'\'|crmDate}{/if}\n{assign var=\"count\" value=`$count+1`}\n{/foreach}\n{/if}\n\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}\n\n{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\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\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n

{ts 1=$contact.display_name}dear %1{/ts},

\n

{ts}thank you for your generous pledge. please print this acknowledgment for your records.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n {if $payments}\n {assign var=\"count\" value=\"1\"}\n {foreach from=$payments item=payment}\n \n \n \n \n {assign var=\"count\" value=`$count+1`}\n {/foreach}\n {/if}\n\n \n \n \n\n {if $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}Pledge Information{/ts}\n
\n {ts}Pledge Received{/ts}\n \n {$create_date|truncate:10:\'\'|crmDate}\n
\n {ts}Total Pledge Amount{/ts}\n \n {$total_pledge_amount|crmMoney:$currency}\n
\n {ts}Payment Schedule{/ts}\n
\n

{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}

\n\n {if $frequency_day}\n

{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}

\n {/if}\n
\n {ts 1=$count}Payment %1{/ts}\n \n {$payment.amount|crmMoney:$currency} {if $payment.status eq 1}{ts}paid{/ts} {$payment.receive_date|truncate:10:\'\'|crmDate}{else}{ts}due{/ts} {$payment.due_date|truncate:10:\'\'|crmDate}{/if}\n
\n

{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}

\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,825,0,1,0,NULL),(57,'Pledges - Payment Reminder','{ts}Pledge Payment Reminder{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$next_payment|truncate:10:\'\'|crmDate}This is a reminder that the next payment on your pledge is due on %1.{/ts}\n\n===========================================================\n{ts}Payment Due{/ts}\n\n===========================================================\n{ts}Amount Due{/ts}: {$amount_due|crmMoney:$currency}\n{ts}Due Date{/ts}: {$scheduled_payment_date|truncate:10:\'\'|crmDate}\n\n{if $contribution_page_id}\n{capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contribution_page_id`&cid=`$contact.contact_id`&pledgeId=`$pledge_id`&cs=`$checksumValue`\" a=true h=0}{/capture}\nClick this link to go to a web page where you can make your payment online:\n{$contributionUrl}\n{else}\n{ts}Please mail your payment to{/ts}:\n{$domain.address}\n{/if}\n\n===========================================================\n{ts}Pledge Information{/ts}\n\n===========================================================\n{ts}Pledge Received{/ts}: {$create_date|truncate:10:\'\'|crmDate}\n{ts}Total Pledge Amount{/ts}: {$amount|crmMoney:$currency}\n{ts}Total Paid{/ts}: {$amount_paid|crmMoney:$currency}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}\n\n\n{ts}Thank your for your generous support.{/ts}\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 \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$next_payment|truncate:10:\'\'|crmDate}This is a reminder that the next payment on your pledge is due on %1.{/ts}

\n
\n \n \n \n \n \n \n \n \n
\n {ts}Payment Due{/ts}\n
\n {ts}Amount Due{/ts}\n \n {$amount_due|crmMoney:$currency}\n
\n
\n {if $contribution_page_id}\n {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contribution_page_id`&cid=`$contact.contact_id`&pledgeId=`$pledge_id`&cs=`$checksumValue`\" a=true h=0}{/capture}\n

{ts}Go to a web page where you can make your payment online{/ts}

\n {else}\n

{ts}Please mail your payment to{/ts}: {$domain.address}

\n {/if}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Pledge Information{/ts}\n
\n {ts}Pledge Received{/ts}\n \n {$create_date|truncate:10:\'\'|crmDate}\n
\n {ts}Total Pledge Amount{/ts}\n \n {$amount|crmMoney:$currency}\n
\n {ts}Total Paid{/ts}\n \n {$amount_paid|crmMoney:$currency}\n
\n
\n

{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}

\n

{ts}Thank your for your generous support.{/ts}

\n
\n
\n\n\n\n',1,826,1,0,0,NULL),(58,'Pledges - Payment Reminder','{ts}Pledge Payment Reminder{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts 1=$next_payment|truncate:10:\'\'|crmDate}This is a reminder that the next payment on your pledge is due on %1.{/ts}\n\n===========================================================\n{ts}Payment Due{/ts}\n\n===========================================================\n{ts}Amount Due{/ts}: {$amount_due|crmMoney:$currency}\n{ts}Due Date{/ts}: {$scheduled_payment_date|truncate:10:\'\'|crmDate}\n\n{if $contribution_page_id}\n{capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contribution_page_id`&cid=`$contact.contact_id`&pledgeId=`$pledge_id`&cs=`$checksumValue`\" a=true h=0}{/capture}\nClick this link to go to a web page where you can make your payment online:\n{$contributionUrl}\n{else}\n{ts}Please mail your payment to{/ts}:\n{$domain.address}\n{/if}\n\n===========================================================\n{ts}Pledge Information{/ts}\n\n===========================================================\n{ts}Pledge Received{/ts}: {$create_date|truncate:10:\'\'|crmDate}\n{ts}Total Pledge Amount{/ts}: {$amount|crmMoney:$currency}\n{ts}Total Paid{/ts}: {$amount_paid|crmMoney:$currency}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}\n\n\n{ts}Thank your for your generous support.{/ts}\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 \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$next_payment|truncate:10:\'\'|crmDate}This is a reminder that the next payment on your pledge is due on %1.{/ts}

\n
\n \n \n \n \n \n \n \n \n
\n {ts}Payment Due{/ts}\n
\n {ts}Amount Due{/ts}\n \n {$amount_due|crmMoney:$currency}\n
\n
\n {if $contribution_page_id}\n {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contribution_page_id`&cid=`$contact.contact_id`&pledgeId=`$pledge_id`&cs=`$checksumValue`\" a=true h=0}{/capture}\n

{ts}Go to a web page where you can make your payment online{/ts}

\n {else}\n

{ts}Please mail your payment to{/ts}: {$domain.address}

\n {/if}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Pledge Information{/ts}\n
\n {ts}Pledge Received{/ts}\n \n {$create_date|truncate:10:\'\'|crmDate}\n
\n {ts}Total Pledge Amount{/ts}\n \n {$amount|crmMoney:$currency}\n
\n {ts}Total Paid{/ts}\n \n {$amount_paid|crmMoney:$currency}\n
\n
\n

{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}

\n

{ts}Thank your for your generous support.{/ts}

\n
\n
\n\n\n\n',1,826,0,1,0,NULL),(59,'Profiles - Admin Notification','{$grouptitle} {ts 1=$displayName}Submitted by %1{/ts}\n','{ts}Submitted For:{/ts} {$displayName}\n{ts}Date:{/ts} {$currentDate}\n{ts}Contact Summary:{/ts} {$contactLink}\n\n===========================================================\n{$grouptitle}\n\n===========================================================\n{foreach from=$values item=value key=valueName}\n{$valueName}: {$value}\n{/foreach}\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 \n \n \n \n \n \n \n\n \n \n \n\n {foreach from=$values item=value key=valueName}\n \n \n \n \n {/foreach}\n
\n {ts}Submitted For{/ts}\n \n {$displayName}\n
\n {ts}Date{/ts}\n \n {$currentDate}\n
\n {ts}Contact Summary{/ts}\n \n {$contactLink}\n
\n {$grouptitle}\n
\n {$valueName}\n \n {$value}\n
\n
\n
\n\n\n\n',1,827,1,0,0,NULL),(60,'Profiles - Admin Notification','{$grouptitle} {ts 1=$displayName}Submitted by %1{/ts}\n','{ts}Submitted For:{/ts} {$displayName}\n{ts}Date:{/ts} {$currentDate}\n{ts}Contact Summary:{/ts} {$contactLink}\n\n===========================================================\n{$grouptitle}\n\n===========================================================\n{foreach from=$values item=value key=valueName}\n{$valueName}: {$value}\n{/foreach}\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 \n \n \n \n \n \n \n\n \n \n \n\n {foreach from=$values item=value key=valueName}\n \n \n \n \n {/foreach}\n
\n {ts}Submitted For{/ts}\n \n {$displayName}\n
\n {ts}Date{/ts}\n \n {$currentDate}\n
\n {ts}Contact Summary{/ts}\n \n {$contactLink}\n
\n {$grouptitle}\n
\n {$valueName}\n \n {$value}\n
\n
\n
\n\n\n\n',1,827,0,1,0,NULL),(61,'Petition - signature added','Thank you for signing {$petition.title}','Thank you for signing {$petition.title}.\n','

Thank you for signing {$petition.title}.

\n\n{include file=\"CRM/Campaign/Page/Petition/SocialNetwork.tpl\" petition_id=$survey_id noscript=true emailMode=true}\n',1,828,1,0,0,NULL),(62,'Petition - signature added','Thank you for signing {$petition.title}','Thank you for signing {$petition.title}.\n','

Thank you for signing {$petition.title}.

\n\n{include file=\"CRM/Campaign/Page/Petition/SocialNetwork.tpl\" petition_id=$survey_id noscript=true emailMode=true}\n',1,828,0,1,0,NULL),(63,'Petition - need verification','Confirmation of signature needed for {$petition.title}\n','Thank you for signing {$petition.title}.\n\nIn order to complete your signature, we must confirm your e-mail.\nPlease do so by visiting the following email confirmation web page:\n\n{$petition.confirmUrlPlainText}\n\nIf you did not sign this petition, please ignore this message.\n','

Thank you for signing {$petition.title}.

\n\n

In order to complete your signature, we must confirm your e-mail.\n
\nPlease do so by visiting the following web page by clicking\non the link below or pasting the link into your browser.\n

\nEmail confirmation page: {$petition.confirmUrl}

\n\n

If you did not sign this petition, please ignore this message.

\n',1,829,1,0,0,NULL),(64,'Petition - need verification','Confirmation of signature needed for {$petition.title}\n','Thank you for signing {$petition.title}.\n\nIn order to complete your signature, we must confirm your e-mail.\nPlease do so by visiting the following email confirmation web page:\n\n{$petition.confirmUrlPlainText}\n\nIf you did not sign this petition, please ignore this message.\n','

Thank you for signing {$petition.title}.

\n\n

In order to complete your signature, we must confirm your e-mail.\n
\nPlease do so by visiting the following web page by clicking\non the link below or pasting the link into your browser.\n

\nEmail confirmation page: {$petition.confirmUrl}

\n\n

If you did not sign this petition, please ignore this message.

\n',1,829,0,1,0,NULL),(65,'Sample CiviMail Newsletter Template','Sample CiviMail Newsletter','','\n\n\n \n \n\n\n\n\n \n \n \n \n \n\n \n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \"Replace\n    \n Your Newsletter Title\n
\n
\n \n \n \n \n \n
\n \n Greetings {contact.display_name},\n

\n This is a sample template designed to help you get started creating and sending your own CiviMail messages. This template uses an HTML layout that is generally compatible with the wide variety of email clients that your recipients might be using (e.g. Gmail, Outlook, Yahoo, etc.).\n

You can select this \"Sample CiviMail Newsletter Template\" from the \"Use Template\" drop-down in Step 3 of creating a mailing, and customize it to your needs. Then check the \"Save as New Template\" box on the bottom the page to save your customized version for use in future mailings.\n

The logo you use must be uploaded to your server. Copy and paste the URL path to the logo into the <img src= tag in the HTML at the top. Click \"Source\" or the Image button if you are using the text editor.\n

\n Edit the color of the links and headers using the color button or by editing the HTML.\n

\n Your newsletter message and donation appeal can go here. Click the link button to create links - remember to use a fully qualified URL starting with http:// in all your links!\n

\n To use CiviMail:\n \n Sincerely,\n

\n Your Team\n

\n
\n
\n
\n \n \n \n \n \n \n \n \n
News and Events
\n \n Featured Events
\n Fundraising Dinner
\n Training Meeting
\n Board of Directors Annual Meeting
\n\n

\n Community Events
\n Bake Sale
\n Charity Auction
\n Art Exhibit
\n\n

\n Important Dates
\n Tuesday August 27
\n Wednesday September 8
\n Thursday September 29
\n Saturday October 1
\n Sunday October 20
\n
\n
\n
\n \n \n \n \n
\n \n Helpful Tips\n

\n Tokens
\n Click \"Insert Tokens\" to dynamically insert names, addresses, and other contact data of your recipients.\n

\n Plain Text Version
\n Some people refuse HTML emails altogether. We recommend sending a plain-text version of your important communications to accommodate them. Luckily, CiviCRM accommodates for this! Just click \"Plain Text\" and copy and paste in some text. Line breaks (carriage returns) and fully qualified URLs like http://www.example.com are all you get, no HTML here!\n

\n Play by the Rules
\n The address of the sender is required by the Can Spam Act law. This is an available token called domain.address. An unsubscribe or opt-out link is also required. There are several available tokens for this. {action.optOutUrl} creates a link for recipients to click if they want to opt out of receiving emails from your organization. {action.unsubscribeUrl} creates a link to unsubscribe from the specific mailing list used to send this message. Click on \"Insert Tokens\" to find these and look for tokens named \"Domain\" or \"Unsubscribe\". This sample template includes both required tokens at the bottom of the message. You can also configure a default Mailing Footer containing these tokens.\n

\n Composing Offline
\n If you prefer to compose an HTML email offline in your own text editor, you can upload this HTML content into CiviMail or simply click \"Source\" and then copy and paste the HTML in.\n

\n Images
\n Most email clients these days (Outlook, Gmail, etc) block image loading by default. This is to protect their users from annoying or harmful email. Not much we can do about this, so encourage recipients to add you to their contacts or \"whitelist\". Also use images sparingly, do not rely on images to convey vital information, and always use HTML \"alt\" tags which describe the image content.\n
\n
\n \n
\n Click here to unsubscribe from this mailing list.

\n Our mailing address is:
\n {domain.address}\n
\n\n\n\n',1,NULL,1,0,0,NULL),(66,'Sample Responsive Design Newsletter - Single Column Template','Sample Responsive Design Newsletter - Single Column','','\n\n \n \n\n \n\n\n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n
Organization or Program Name Here
\n\n \n \n \n \n \n \n
Month and Year
\n
 
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n
\"Replace\n
 
\n
\n
 
\n
\n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n
Headline Here
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\"\"
\n
 
Your Heading Here
 
\n

{contact.email_greeting},

\n

Replace with your text and images, and remember to link the facebook and twitter links in the footer to your pages. Have fun!

\n
Read More
 
\n
\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\"\"
\n
 
Your Heading Here
 
\n

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna

\n
Read More
 
\n
\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\"\"
\n
 
\n

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna

\n
\n
\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\"\"
\n
 
\n

Remember to link the facebook and twitter links below to your pages!

\n
Read More
\n
\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n \n \n \n \n \n
 Unsubscribe | Subscribe | Opt out
 {domain.address}
\n \n\n \n \n \n \n \n \n \n \n \n
\n \n  \n \n  
\n
 
\n
\n
\n\n\n\n',1,NULL,1,0,0,NULL),(67,'Sample Responsive Design Newsletter - Two Column Template','Sample Responsive Design Newsletter - Two Column','','\n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n
Organization or Program Name Here
\n\n \n \n \n \n \n \n
Month Year
\n
 
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n\n \n
\n \n \n \n \n \n \n \n \n \n \n
\"Replace
\n
 
\n
\n\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n
Hero Story Heading
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n\n \n\n\n\n \n \n
\n
\"\"
\n
 
Subheading Here
 
Replace with your text and images, and remember to link the facebook and twitter links in the footer to your pages. Have fun!
 
\n
\n
\n
Section Heading Here
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n
\"\"
\n \n\n \n \n \n \n \n \n
 
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Heading Here
 
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna
Read More
\n
\n
 
\n
\n
\n \n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
 
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n
\"\"
\n \n\n \n \n \n \n \n \n
 
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Heading Here
 
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna
Read More
\n
\n
 
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
 
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n
\"\"
\n \n\n \n \n \n \n \n \n
 
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Heading Here
 
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna
Read More
\n
\n
 
\n
\n
\n \n\n\n\n\n\n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
 
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n
\"\"
\n \n\n \n \n \n \n \n \n
 
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Heading Here
 
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna
Read More
\n
\n
 
\n

Remember to link the facebook and twitter links below to your pages!

\n
\n
\n
\n \n\n \n\n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n \n \n \n \n \n
 Unsubscribe | Subscribe | Opt out
 {domain.address}
\n \n \n \n \n \n \n \n \n \n \n
\n  \n \n  
\n
 
 
\n
\n
\n \n \n\n',1,NULL,1,0,0,NULL); /*!40000 ALTER TABLE `civicrm_msg_template` ENABLE KEYS */; UNLOCK TABLES; diff --git a/tests/phpunit/api/v3/ContributionPageTest.php b/tests/phpunit/api/v3/ContributionPageTest.php index c9edd1518f..7261ca088f 100644 --- a/tests/phpunit/api/v3/ContributionPageTest.php +++ b/tests/phpunit/api/v3/ContributionPageTest.php @@ -520,6 +520,7 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase { * We are expecting a separate payment for the membership vs the contribution. */ public function testSubmitMembershipBlockIsSeparatePaymentPaymentProcessorNow() { + $mut = new CiviMailUtils($this, TRUE); $this->setUpMembershipContributionPage(TRUE); $processor = Civi\Payment\System::singleton()->getById($this->_paymentProcessor['id']); $processor->setDoDirectPaymentResult(array('fee_amount' => .72)); @@ -530,6 +531,7 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase { 'billing_first_name' => 'Billy', 'billing_middle_name' => 'Goat', 'billing_last_name' => 'Gruff', + 'email-Primary' => 'henry@8th.king', 'selectMembership' => $this->_ids['membership_type'], 'payment_processor_id' => $this->_paymentProcessor['id'], 'credit_card_number' => '4111111111111111', @@ -558,6 +560,11 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase { $this->assertEquals(.72, $contribution['fee_amount']); $this->assertEquals($contribution['total_amount'] - .72, $contribution['net_amount']); } + // The total string is currently absent & it seems worse with - although at some point + // it may have been intended + $mut->checkAllMailLog(array('$ 2.00', 'Contribution Amount', '$ 10.00'), array('Total:')); + $mut->stop(); + $mut->clearMessages(); } /** @@ -1181,7 +1188,6 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase { 'label' => 'Long Haired Goat', 'financial_type_id' => 'Donation', 'amount' => 20, - 'financial_type_id' => 'Donation', 'non_deductible_amount' => 15, ) ); @@ -1191,7 +1197,6 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase { 'label' => 'Shoe-eating Goat', 'financial_type_id' => 'Donation', 'amount' => 10, - 'financial_type_id' => 'Donation', 'non_deductible_amount' => 5, ) ); diff --git a/xml/templates/message_templates/membership_online_receipt_html.tpl b/xml/templates/message_templates/membership_online_receipt_html.tpl index 37328e7c1a..d4ffb4b6fb 100644 --- a/xml/templates/message_templates/membership_online_receipt_html.tpl +++ b/xml/templates/message_templates/membership_online_receipt_html.tpl @@ -101,25 +101,16 @@ {$amount|crmMoney} - {else} - - {ts}Additional Contribution{/ts} - - - {$amount|crmMoney} - + + {ts}Total{/ts} + + + {$amount+$membership_amount|crmMoney} + {/if} - {/if} - - - {ts}Total{/ts} - - - {$amount+$membership_amount|crmMoney} - - + {/if} {elseif !$useForMember && $lineItem and $priceSetID and !$is_quick_config} diff --git a/xml/templates/message_templates/membership_online_receipt_text.tpl b/xml/templates/message_templates/membership_online_receipt_text.tpl index dceb1157eb..08ebc1e13b 100644 --- a/xml/templates/message_templates/membership_online_receipt_text.tpl +++ b/xml/templates/message_templates/membership_online_receipt_text.tpl @@ -33,12 +33,10 @@ {if $amount} {if ! $is_separate_payment } {ts}Contribution Amount{/ts}: {$amount|crmMoney} -{else} -{ts}Additional Contribution{/ts}: {$amount|crmMoney} -{/if} -{/if} ------------------------------------------- {ts}Total{/ts}: {$amount+$membership_amount|crmMoney} +{/if} +{/if} {elseif !$useForMember && $lineItem and $priceSetID & !$is_quick_config} {foreach from=$lineItem item=value key=priceset} --------------------------------------------------------- -- 2.25.1