From 26751f52b487796976c017b84f6ebe64909953b1 Mon Sep 17 00:00:00 2001 From: magnolia61 Date: Tue, 17 Apr 2018 14:04:43 +0200 Subject: [PATCH] now against 5.1 instead of 5.0 --- .../civicrm_msg_template.tpl | 16 - .../contribution_invoice_receipt_subject.tpl | 12 - .../contribution_offline_receipt_html.tpl | 319 ---------- .../contribution_offline_receipt_subject.tpl | 1 - .../contribution_offline_receipt_text.tpl | 120 ---- .../contribution_online_receipt_html.tpl | 473 --------------- .../contribution_online_receipt_subject.tpl | 1 - .../contribution_online_receipt_text.tpl | 211 ------- .../contribution_recurring_billing_html.tpl | 65 -- ...contribution_recurring_billing_subject.tpl | 1 - .../contribution_recurring_billing_text.tpl | 23 - .../contribution_recurring_cancelled_html.tpl | 33 -- ...ntribution_recurring_cancelled_subject.tpl | 1 - .../contribution_recurring_cancelled_text.tpl | 3 - .../contribution_recurring_edit_html.tpl | 36 -- .../contribution_recurring_edit_subject.tpl | 1 - .../contribution_recurring_edit_text.tpl | 8 - .../contribution_recurring_notify_html.tpl | 129 ---- .../contribution_recurring_notify_subject.tpl | 1 - .../contribution_recurring_notify_text.tpl | 54 -- .../event_registration_receipt_html.tpl | 175 ------ .../event_registration_receipt_text.tpl | 80 --- .../membership_autorenew_billing_html.tpl | 66 --- .../membership_autorenew_billing_subject.tpl | 1 - .../membership_autorenew_billing_text.tpl | 23 - .../membership_autorenew_cancelled_html.tpl | 70 --- ...membership_autorenew_cancelled_subject.tpl | 1 - .../membership_autorenew_cancelled_text.tpl | 14 - .../membership_offline_receipt_html.tpl | 297 ---------- .../membership_offline_receipt_subject.tpl | 6 - .../membership_offline_receipt_text.tpl | 115 ---- .../membership_online_receipt_html.tpl | 556 ------------------ .../membership_online_receipt_subject.tpl | 1 - .../membership_online_receipt_text.tpl | 243 -------- .../participant_cancelled_html.tpl | 129 ---- .../participant_cancelled_subject.tpl | 1 - .../participant_cancelled_text.tpl | 47 -- .../participant_confirm_html.tpl | 184 ------ .../participant_confirm_text.tpl | 81 --- .../participant_expired_html.tpl | 132 ----- .../participant_expired_text.tpl | 51 -- .../participant_transferred_html.tpl | 129 ---- .../participant_transferred_subject.tpl | 1 - .../participant_transferred_text.tpl | 45 -- .../payment_or_refund_notification_html.tpl | 253 -------- ...payment_or_refund_notification_subject.tpl | 2 - .../petition_confirmation_needed_subject.tpl | 1 - .../petition_sign_subject.tpl | 1 - .../pledge_acknowledge_subject.tpl | 1 - .../pledge_reminder_subject.tpl | 1 - 50 files changed, 4215 deletions(-) delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/civicrm_msg_template.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_invoice_receipt_subject.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_offline_receipt_html.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_offline_receipt_subject.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_offline_receipt_text.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_online_receipt_html.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_online_receipt_subject.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_online_receipt_text.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_billing_html.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_billing_subject.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_billing_text.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_cancelled_html.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_cancelled_subject.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_cancelled_text.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_edit_html.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_edit_subject.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_edit_text.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_notify_html.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_notify_subject.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_notify_text.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/event_registration_receipt_html.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/event_registration_receipt_text.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_billing_html.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_billing_subject.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_billing_text.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_cancelled_html.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_cancelled_subject.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_cancelled_text.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_offline_receipt_html.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_offline_receipt_subject.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_offline_receipt_text.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_online_receipt_html.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_online_receipt_subject.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_online_receipt_text.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_cancelled_html.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_cancelled_subject.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_cancelled_text.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_confirm_html.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_confirm_text.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_expired_html.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_expired_text.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_transferred_html.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_transferred_subject.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_transferred_text.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/payment_or_refund_notification_html.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/payment_or_refund_notification_subject.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/petition_confirmation_needed_subject.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/petition_sign_subject.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/pledge_acknowledge_subject.tpl delete mode 100644 CRM/Upgrade/5.0.beta1.msg_template/message_templates/pledge_reminder_subject.tpl diff --git a/CRM/Upgrade/5.0.beta1.msg_template/civicrm_msg_template.tpl b/CRM/Upgrade/5.0.beta1.msg_template/civicrm_msg_template.tpl deleted file mode 100644 index 82348a290e27..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/civicrm_msg_template.tpl +++ /dev/null @@ -1,16 +0,0 @@ -{php} - $dir = SMARTY_DIR . '/../../CRM/Upgrade/5.0.beta1.msg_template/message_templates'; - $templates = array(); - foreach (preg_grep('/\.tpl$/', scandir($dir)) as $filename) { - $parts = explode('_', basename($filename, '.tpl')); - $templates[] = array('type' => array_pop($parts), 'name' => implode('_', $parts), 'filename' => "$dir/$filename"); - } - $this->assign('templates', $templates); -{/php} - -{foreach from=$templates item=tpl} - {fetch assign=content file=$tpl.filename} - SELECT @workflow_id := MAX(id) FROM civicrm_option_value WHERE name = '{$tpl.name}'; - SELECT @content := msg_{$tpl.type} FROM civicrm_msg_template WHERE workflow_id = @workflow_id AND is_reserved = 1 LIMIT 1; - UPDATE civicrm_msg_template SET msg_{$tpl.type} = '{$content|escape:"quotes"}' WHERE workflow_id = @workflow_id AND (is_reserved = 1 OR (is_default = 1 AND msg_{$tpl.type} = @content)); -{/foreach} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_invoice_receipt_subject.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_invoice_receipt_subject.tpl deleted file mode 100644 index 80d07865574d..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_invoice_receipt_subject.tpl +++ /dev/null @@ -1,12 +0,0 @@ -{if $title} - {if $component} - {if $component == 'event'} - {ts 1=$title}Event Registration Invoice: %1{/ts} - {else} - {ts 1=$title}Contribution Invoice: %1{/ts} - {/if} - {/if} -{else} - {ts}Invoice{/ts} -{/if} -- {contact.display_name} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_offline_receipt_html.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_offline_receipt_html.tpl deleted file mode 100644 index a4cbeee05ed5..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_offline_receipt_html.tpl +++ /dev/null @@ -1,319 +0,0 @@ - - - - - - - - -{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} -{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} -{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} - -
- - - - - - - - - - - - - - - -
-

{contact.email_greeting},

- {if $formValues.receipt_text} -

{$formValues.receipt_text|htmlize}

- {else} -

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

- {/if} - -

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

- -
- - - - - - - - - - {if $lineItem and !$is_quick_config} - {foreach from=$lineItem item=value key=priceset} - - - - {/foreach} - {/if} - {if $getTaxDetails && $dataArray} - - - - - - {foreach from=$dataArray item=value key=priceset} - - {if $priceset || $priceset == 0 || $value != ''} - - - {else} - - - {/if} - - {/foreach} - {/if} - - {if isset($totalTaxAmount) && $totalTaxAmount !== 'null'} - - - - - {/if} - - - - - - - {if $receive_date} - - - - - {/if} - - {if $receipt_date} - - - - - {/if} - - {if $formValues.paidBy and !$formValues.hidden_CreditCard} - - - - - {if $formValues.check_number} - - - - - {/if} - {/if} - - {if $formValues.trxn_id} - - - - - {/if} - - {if $ccContribution} - - - - - - - - - - - - - {/if} - - {if $softCreditTypes and $softCredits} - {foreach from=$softCreditTypes item=softCreditType key=n} - - - - {foreach from=$softCredits.$n item=value key=label} - - - - - {/foreach} - {/foreach} - {/if} - - {if $customGroup} - {foreach from=$customGroup item=value key=customName} - - - - {foreach from=$value item=v key=n} - - - - - {/foreach} - {/foreach} - {/if} - - {if $formValues.product_name} - - - - - - - {if $formValues.product_option} - - - - - {/if} - {if $formValues.product_sku} - - - - - {/if} - {if $fulfilled_date} - - - - - {/if} - {/if} - -
- {ts}Contribution Information{/ts} -
- {ts}Financial Type{/ts} - - {$formValues.contributionType_name} -
- {* FIXME: style this table so that it looks like the text version (justification, etc.) *} - - - - - {if $getTaxDetails} - - - - {/if} - - - {foreach from=$value item=line} - - - - - {if $getTaxDetails} - - {if $line.tax_rate != "" || $line.tax_amount != ""} - - - {else} - - - {/if} - {/if} - - - {/foreach} -
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}
- {if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:"..."}
{/if} -
- {$line.qty} - - {$line.unit_price|crmMoney:$currency} - - {$line.unit_price*$line.qty|crmMoney:$currency} - - {$line.tax_rate|string_format:"%.2f"}% - - {$line.tax_amount|crmMoney:$currency} - - {$line.line_total+$line.tax_amount|crmMoney:$currency} -
-
- {ts} Amount before Tax : {/ts} - - {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency} -
 {$taxTerm} {$priceset|string_format:"%.2f"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
- {ts}Total Tax Amount{/ts} - - {$totalTaxAmount|crmMoney:$currency} -
- {ts}Total Amount{/ts} - - {$formValues.total_amount|crmMoney:$currency} -
- {ts}Date Received{/ts} - - {$receive_date|truncate:10:''|crmDate} -
- {ts}Receipt Date{/ts} - - {$receipt_date|truncate:10:''|crmDate} -
- {ts}Paid By{/ts} - - {$formValues.paidBy} -
- {ts}Check Number{/ts} - - {$formValues.check_number} -
- {ts}Transaction ID{/ts} - - {$formValues.trxn_id} -
- {ts}Billing Name and Address{/ts} -
- {$billingName}
- {$address|nl2br} -
- {ts}Credit Card Information{/ts} -
- {$credit_card_type}
- {$credit_card_number}
- {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} -
- {$softCreditType} -
- {$label} - - {$value} -
- {$customName} -
- {$n} - - {$v} -
- {ts}Premium Information{/ts} -
- {$formValues.product_name} -
- {ts}Option{/ts} - - {$formValues.product_option} -
- {ts}SKU{/ts} - - {$formValues.product_sku} -
- {ts}Sent{/ts} - - {$fulfilled_date|truncate:10:''|crmDate} -
-
-
- - - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_offline_receipt_subject.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_offline_receipt_subject.tpl deleted file mode 100644 index 2a19c6e6c3b2..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_offline_receipt_subject.tpl +++ /dev/null @@ -1 +0,0 @@ -{ts}Contribution Receipt{/ts} - {contact.display_name} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_offline_receipt_text.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_offline_receipt_text.tpl deleted file mode 100644 index 5bfac13c7357..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_offline_receipt_text.tpl +++ /dev/null @@ -1,120 +0,0 @@ -{contact.email_greeting}, - -{if $formValues.receipt_text} -{$formValues.receipt_text} -{else}{ts}Thank you for your support.{/ts}{/if} - -{ts}Please print this receipt for your records.{/ts} - - -=========================================================== -{ts}Contribution Information{/ts} - -=========================================================== -{ts}Financial Type{/ts}: {$formValues.contributionType_name} -{if $lineItem} -{foreach from=$lineItem item=value key=priceset} ---------------------------------------------------------- -{capture assign=ts_item}{ts}Item{/ts}{/capture} -{capture assign=ts_qty}{ts}Qty{/ts}{/capture} -{capture assign=ts_each}{ts}Each{/ts}{/capture} -{if $getTaxDetails} -{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} -{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} -{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} -{/if} -{capture assign=ts_total}{ts}Total{/ts}{/capture} -{$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"} ----------------------------------------------------------- -{foreach from=$value item=line} -{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"} -{/foreach} -{/foreach} -{/if} - -{if $getTaxDetails && $dataArray} -{ts}Amount before Tax{/ts} : {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency} - -{foreach from=$dataArray item=value key=priceset} -{if $priceset || $priceset == 0 || $value != ''} -{$taxTerm} {$priceset|string_format:"%.2f"}% : {$value|crmMoney:$currency} -{else} -{ts}No{/ts} {$taxTerm} : {$value|crmMoney:$currency} -{/if} -{/foreach} -{/if} - -{if isset($totalTaxAmount) && $totalTaxAmount !== 'null'} -{ts}Total Tax Amount{/ts} : {$totalTaxAmount|crmMoney:$currency} -{/if} -{ts}Total Amount{/ts} : {$formValues.total_amount|crmMoney:$currency} -{if $receive_date} -{ts}Date Received{/ts}: {$receive_date|truncate:10:''|crmDate} -{/if} -{if $receipt_date} -{ts}Receipt Date{/ts}: {$receipt_date|truncate:10:''|crmDate} -{/if} -{if $formValues.paidBy and !$formValues.hidden_CreditCard} -{ts}Paid By{/ts}: {$formValues.paidBy} -{if $formValues.check_number} -{ts}Check Number{/ts}: {$formValues.check_number} -{/if} -{/if} -{if $formValues.trxn_id} -{ts}Transaction ID{/ts}: {$formValues.trxn_id} -{/if} - -{if $ccContribution} -=========================================================== -{ts}Billing Name and Address{/ts} - -=========================================================== -{$billingName} -{$address} - -=========================================================== -{ts}Credit Card Information{/ts} - -=========================================================== -{$credit_card_type} -{$credit_card_number} -{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} -{/if} -{if $customGroup} -{foreach from=$customGroup item=value key=customName} -=========================================================== -{$customName} -=========================================================== -{foreach from=$value item=v key=n} -{$n}: {$v} -{/foreach} -{/foreach} -{/if} - -{if $softCreditTypes and $softCredits} -{foreach from=$softCreditTypes item=softCreditType key=n} -=========================================================== -{$softCreditType} -=========================================================== -{foreach from=$softCredits.$n item=value key=label} -{$label}: {$value} -{/foreach} -{/foreach} -{/if} - -{if $formValues.product_name} -=========================================================== -{ts}Premium Information{/ts} - -=========================================================== -{$formValues.product_name} -{if $formValues.product_option} -{ts}Option{/ts}: {$formValues.product_option} -{/if} -{if $formValues.product_sku} -{ts}SKU{/ts}: {$formValues.product_sku} -{/if} -{if $fulfilled_date} -{ts}Sent{/ts}: {$fulfilled_date|crmDate} -{/if} -{/if} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_online_receipt_html.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_online_receipt_html.tpl deleted file mode 100644 index 61dc72d657b4..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_online_receipt_html.tpl +++ /dev/null @@ -1,473 +0,0 @@ - - - - - - - - -{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} -{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} -{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} - -
- - - - - - - - - - - -
-

{contact.email_greeting},

- {if $receipt_text} -

{$receipt_text|htmlize}

- {/if} - - {if $is_pay_later} -

{$pay_later_receipt}

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

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

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

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

- {if $contact_email} -

{$contact_email}

- {/if} - {if $contact_phone} -

{$contact_phone}

- {/if} -
-

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

-
- {$customPre_grouptitle} -
- {$customName} - - {$customValue} -
- {$customPost_grouptitle} -
- {$customName} - - {$customValue} -
-
- - - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_online_receipt_subject.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_online_receipt_subject.tpl deleted file mode 100644 index 052dce5bd748..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_online_receipt_subject.tpl +++ /dev/null @@ -1 +0,0 @@ -{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_online_receipt_text.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_online_receipt_text.tpl deleted file mode 100644 index 2820950ed170..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_online_receipt_text.tpl +++ /dev/null @@ -1,211 +0,0 @@ -{contact.email_greeting}, - -{if $receipt_text} -{$receipt_text} -{/if} -{if $is_pay_later} - -=========================================================== -{$pay_later_receipt} -=========================================================== -{else} - -{ts}Please print this receipt for your records.{/ts} -{/if} - -{if $amount} -=========================================================== -{ts}Contribution Information{/ts} - -=========================================================== -{if $lineItem and $priceSetID and !$is_quick_config} -{foreach from=$lineItem item=value key=priceset} ---------------------------------------------------------- -{capture assign=ts_item}{ts}Item{/ts}{/capture} -{capture assign=ts_qty}{ts}Qty{/ts}{/capture} -{capture assign=ts_each}{ts}Each{/ts}{/capture} -{if $dataArray} -{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} -{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} -{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} -{/if} -{capture assign=ts_total}{ts}Total{/ts}{/capture} -{$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"} ----------------------------------------------------------- -{foreach from=$value item=line} -{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"} -{/foreach} -{/foreach} - -{if $dataArray} -{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency} - -{foreach from=$dataArray item=value key=priceset} -{if $priceset || $priceset == 0} -{$taxTerm} {$priceset|string_format:"%.2f"}%: {$value|crmMoney:$currency} -{else} -{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency} -{/if} -{/foreach} -{/if} - -{if $totalTaxAmount} -{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency} -{/if} - -{ts}Total Amount{/ts}: {$amount|crmMoney:$currency} -{else} -{ts}Amount{/ts}: {$amount|crmMoney:$currency} {if $amount_level } - {$amount_level} {/if} -{/if} -{/if} -{if $receive_date} - -{ts}Date{/ts}: {$receive_date|crmDate} -{/if} -{if $is_monetary and $trxn_id} -{ts}Transaction #{/ts}: {$trxn_id} -{/if} - -{if $is_recur and ($contributeMode eq 'notify' or $contributeMode eq 'directIPN')} -{ts}This is a recurring contribution. You can cancel future contributions at:{/ts} - -{$cancelSubscriptionUrl} - -{if $updateSubscriptionBillingUrl} -{ts}You can update billing details for this recurring contribution at:{/ts} - -{$updateSubscriptionBillingUrl} - -{/if} -{ts}You can update recurring contribution amount or change the number of installments for this recurring contribution at:{/ts} - -{$updateSubscriptionUrl} - -{/if} - -{if $honor_block_is_active} -=========================================================== -{$soft_credit_type} -=========================================================== -{foreach from=$honoreeProfile item=value key=label} -{$label}: {$value} -{/foreach} -{elseif $softCreditTypes and $softCredits} -{foreach from=$softCreditTypes item=softCreditType key=n} -=========================================================== -{$softCreditType} -=========================================================== -{foreach from=$softCredits.$n item=value key=label} -{$label}: {$value} -{/foreach} -{/foreach} -{/if} -{if $pcpBlock} -=========================================================== -{ts}Personal Campaign Page{/ts} - -=========================================================== -{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if} - -{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if} - -{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if} - -{/if} -{if $onBehalfProfile} -=========================================================== -{ts}On Behalf Of{/ts} - -=========================================================== -{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName} -{$onBehalfName}: {$onBehalfValue} -{/foreach} -{/if} - -{if !( $contributeMode eq 'notify' OR $contributeMode eq 'directIPN' ) and $is_monetary} -{if $is_pay_later && !$isBillingAddressRequiredForPayLater} -=========================================================== -{ts}Registered Email{/ts} - -=========================================================== -{$email} -{elseif $amount GT 0} -=========================================================== -{ts}Billing Name and Address{/ts} - -=========================================================== -{$billingName} -{$address} - -{$email} -{/if} {* End ! is_pay_later condition. *} -{/if} -{if $contributeMode eq 'direct' AND !$is_pay_later AND $amount GT 0} - -=========================================================== -{ts}Credit Card Information{/ts} - -=========================================================== -{$credit_card_type} -{$credit_card_number} -{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} -{/if} - -{if $selectPremium } -=========================================================== -{ts}Premium Information{/ts} - -=========================================================== -{$product_name} -{if $option} -{ts}Option{/ts}: {$option} -{/if} -{if $sku} -{ts}SKU{/ts}: {$sku} -{/if} -{if $start_date} -{ts}Start Date{/ts}: {$start_date|crmDate} -{/if} -{if $end_date} -{ts}End Date{/ts}: {$end_date|crmDate} -{/if} -{if $contact_email OR $contact_phone} - -{ts}For information about this premium, contact:{/ts} - -{if $contact_email} - {$contact_email} -{/if} -{if $contact_phone} - {$contact_phone} -{/if} -{/if} -{if $is_deductible AND $price} - -{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} -{/if} - -{if $customPre} -=========================================================== -{$customPre_grouptitle} - -=========================================================== -{foreach from=$customPre item=customValue key=customName} -{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields} - {$customName}: {$customValue} -{/if} -{/foreach} -{/if} - - -{if $customPost} -=========================================================== -{$customPost_grouptitle} - -=========================================================== -{foreach from=$customPost item=customValue key=customName} -{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields} - {$customName}: {$customValue} -{/if} -{/foreach} -{/if} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_billing_html.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_billing_html.tpl deleted file mode 100644 index c7b962f4857e..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_billing_html.tpl +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - -{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} -{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} -{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} - -
- - - - - - - - - - - - -
-

{contact.email_greeting},

-

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

-
- - - - - - - - - - - - - - - - - -
- {ts}Billing Name and Address{/ts} -
- {$billingName}
- {$address|nl2br}
- {$email} -
- {ts}Credit Card Information{/ts} -
- {$credit_card_type}
- {$credit_card_number}
- {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
-
- {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts} -
-
- - - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_billing_subject.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_billing_subject.tpl deleted file mode 100644 index 0a2a03b06449..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_billing_subject.tpl +++ /dev/null @@ -1 +0,0 @@ -{ts}Recurring Contribution Billing Updates{/ts} - {contact.display_name} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_billing_text.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_billing_text.tpl deleted file mode 100644 index d4732cc615b8..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_billing_text.tpl +++ /dev/null @@ -1,23 +0,0 @@ -{contact.email_greeting}, - -{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} - -=========================================================== -{ts}Billing Name and Address{/ts} - -=========================================================== -{$billingName} -{$address} - -{$email} - -=========================================================== -{ts}Credit Card Information{/ts} - -=========================================================== -{$credit_card_type} -{$credit_card_number} -{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} - - -{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_cancelled_html.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_cancelled_html.tpl deleted file mode 100644 index 99bd2f84150e..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_cancelled_html.tpl +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - -{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} -{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} -{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} - -
- - - - - - - - - - - - -
-

{contact.email_greeting},

-

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

-
-
- - - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_cancelled_subject.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_cancelled_subject.tpl deleted file mode 100644 index 2b5a4d805fba..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_cancelled_subject.tpl +++ /dev/null @@ -1 +0,0 @@ -{ts}Recurring Contribution Cancellation Notification{/ts} - {contact.display_name} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_cancelled_text.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_cancelled_text.tpl deleted file mode 100644 index 40c2986c7023..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_cancelled_text.tpl +++ /dev/null @@ -1,3 +0,0 @@ -{contact.email_greeting}, - -{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} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_edit_html.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_edit_html.tpl deleted file mode 100644 index 894157b0b5b5..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_edit_html.tpl +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - -{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} -{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} -{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} - -
- - - - - - - - - - - - -
-

{contact.email_greeting},

-

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

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

- -

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

-
-
- - - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_edit_subject.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_edit_subject.tpl deleted file mode 100644 index 304649521623..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_edit_subject.tpl +++ /dev/null @@ -1 +0,0 @@ -{ts}Recurring Contribution Update Notification{/ts} - {contact.display_name} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_edit_text.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_edit_text.tpl deleted file mode 100644 index 74b7f51bdce2..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_edit_text.tpl +++ /dev/null @@ -1,8 +0,0 @@ -{contact.email_greeting}, - -{ts}Your recurring contribution has been updated as requested:{/ts} - -{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} - -{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_notify_html.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_notify_html.tpl deleted file mode 100644 index 2582e7cbba33..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_notify_html.tpl +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - -{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} -{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} -{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} - -
- - - - - - - - - - - - - - - - - {if $recur_txnType eq 'START'} - {if $auto_renew_membership} - - - - - - - {if $updateSubscriptionBillingUrl} - - - - {/if} - {else} - - - - - - - {if $updateSubscriptionBillingUrl} - - - - {/if} - - - - {/if} - - {elseif $recur_txnType eq 'END'} - - {if $auto_renew_membership} - - - - {else} - - - - - - - - {/if} - {/if} - -
-

{contact.email_greeting},

-
 
-

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

-

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

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

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

-

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

-

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

-
- {ts 1=$cancelSubscriptionUrl} You can cancel the recurring contribution option by visiting this web page.{/ts} -
- {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts} -
- {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} -
-

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

-
-

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

-

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

-
- - - - - - - - - - - - -
- {ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts} -
- {ts}Start Date{/ts} - - {$recur_start_date|crmDate} -
- {ts}End Date{/ts} - - {$recur_end_date|crmDate} -
-
-
- - - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_notify_subject.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_notify_subject.tpl deleted file mode 100644 index c9a9d927ad0e..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_notify_subject.tpl +++ /dev/null @@ -1 +0,0 @@ -{ts}Recurring Contribution Notification{/ts} - {contact.display_name} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_notify_text.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_notify_text.tpl deleted file mode 100644 index cf54ba592dd9..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/contribution_recurring_notify_text.tpl +++ /dev/null @@ -1,54 +0,0 @@ -{contact.email_greeting}, - -{if $recur_txnType eq 'START'} -{if $auto_renew_membership} -{ts}Thanks for your auto renew membership sign-up.{/ts} - - -{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s).{/ts} - -{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts} - -{if $updateSubscriptionBillingUrl} -{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts} - -{/if} -{else} -{ts}Thanks for your recurring contribution sign-up.{/ts} - - -{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}. - -{ts}Start Date{/ts}: {$recur_start_date|crmDate} - -{ts 1=$cancelSubscriptionUrl}You can cancel the recurring contribution option by visiting this web page.{/ts} - -{if $updateSubscriptionBillingUrl} -{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts} - -{/if} -{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} -{/if} - -{elseif $recur_txnType eq 'END'} -{if $auto_renew_membership} -{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts} - - -{else} -{ts}Your recurring contribution term has ended.{/ts} - - -{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you for your support.{/ts} - - -================================================== -{ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts} - -================================================== -{ts}Start Date{/ts}: {$recur_start_date|crmDate} - -{ts}End Date{/ts}: {$recur_end_date|crmDate} - -{/if} -{/if} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/event_registration_receipt_html.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/event_registration_receipt_html.tpl deleted file mode 100644 index 121d07efa2a8..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/event_registration_receipt_html.tpl +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - - - {capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} - {capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} - {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} - -

{contact.email_greeting},

- {if $is_pay_later} -

- 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. -

- {else} -

- 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. -

- {/if} - - {if $is_pay_later} -

{$pay_later_receipt}

- {/if} - -

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} - Here's a summary of your transaction placed on {$transaction_date|date_format:"%D %I:%M %p %Z"}:

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

 

- - - - - - - -
- {ts}Credit Card Information{/ts} -
- {$credit_card_type}
- {$credit_card_number}
- {ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y} -
-{/if} -{if $source} -

 

- {$source} -{/if} -

 

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

- {$line_item.event->start_date|date_format:"%D %I:%M %p"} - {$line_item.event->end_date|date_format:"%I:%M %p"} -
- {$line_item.num_participants} - {if $line_item.num_participants > 0} -
- {foreach from=$line_item.participants item=participant} - {$participant.display_name}
- {/foreach} -
- {/if} - {if $line_item.num_waiting_participants > 0} - Waitlisted:
-
- {foreach from=$line_item.waiting_participants item=participant} - {$participant.display_name}
- {/foreach} -
- {/if} -
- {$line_item.cost|crmMoney:$currency|string_format:"%10s"} - -  {$line_item.amount|crmMoney:$currency|string_format:"%10s"} -
- - - Subtotal: - -  {$sub_total|crmMoney:$currency|string_format:"%10s"} -
- {$i.title} - - - - -{$i.amount} -
- - - Total: - -  {$total|crmMoney:$currency|string_format:"%10s"} -
- - If you have questions about the status of your registration or purchase please feel free to contact us. - - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/event_registration_receipt_text.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/event_registration_receipt_text.tpl deleted file mode 100644 index 2a8d3f054581..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/event_registration_receipt_text.tpl +++ /dev/null @@ -1,80 +0,0 @@ -{contact.email_greeting}, -{if $is_pay_later} - 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. -{else} - 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. -{/if} - -{if $is_pay_later} - {$pay_later_receipt} -{/if} - - 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} - Here's a summary of your transaction placed on {$transaction_date|date_format:"%D %I:%M %p %Z"}: - -{if $billing_name} -=========================================================== -{ts}Billing Name and Address{/ts} - -=========================================================== -{$billing_name} - -{$billing_street_address} - -{$billing_city}, {$billing_state} {$billing_postal_code} - -{$email} -{/if} - -{if $source} -{$source} -{/if} - - -{foreach from=$line_items item=line_item} -{$line_item.event->title} ({$line_item.event->start_date|date_format:"%D"}) -{if $line_item.event->is_show_location} - {$line_item.location.address.1.display|strip_tags:false} -{/if}{*End of isShowLocation condition*} -{$line_item.event->start_date|date_format:"%D %I:%M %p"} - {$line_item.event->end_date|date_format:"%I:%M %p"} - - Quantity: {$line_item.num_participants} - -{if $line_item.num_participants > 0} - {foreach from=$line_item.participants item=participant} - {$participant.display_name} - {/foreach} -{/if} -{if $line_item.num_waiting_participants > 0} - Waitlisted: - {foreach from=$line_item.waiting_participants item=participant} - {$participant.display_name} - {/foreach} -{/if} -Cost: {$line_item.cost|crmMoney:$currency|string_format:"%10s"} -Total For This Event: {$line_item.amount|crmMoney:$currency|string_format:"%10s"} - -{/foreach} - -{if $discounts} -Subtotal: {$sub_total|crmMoney:$currency|string_format:"%10s"} --------------------------------------- -Discounts -{foreach from=$discounts key=myId item=i} - {$i.title}: -{$i.amount|crmMoney:$currency|string_format:"%10s"} -{/foreach} -{/if} -====================================== -Total: {$total|crmMoney:$currency|string_format:"%10s"} - -{if $credit_card_type} -=========================================================== -{ts}Payment Information{/ts} - -=========================================================== -{$credit_card_type} -{$credit_card_number} -{ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y} -{/if} - - If you have questions about the status of your registration or purchase please feel free to contact us. diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_billing_html.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_billing_html.tpl deleted file mode 100644 index 2a126e61ea5b..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_billing_html.tpl +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - -{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} -{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} -{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} - -
- - - - - - - - - - - - -
-

{contact.email_greeting},

-

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

-
- - - - - - - - - - - - - - - - - - -
- {ts}Billing Name and Address{/ts} -
- {$billingName}
- {$address|nl2br}
- {$email} -
- {ts}Credit Card Information{/ts} -
- {$credit_card_type}
- {$credit_card_number}
- {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
-
- {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts} -
-
- - - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_billing_subject.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_billing_subject.tpl deleted file mode 100644 index 3579f9033090..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_billing_subject.tpl +++ /dev/null @@ -1 +0,0 @@ -{ts}Membership Autorenewal Billing Updates{/ts} - {contact.display_name} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_billing_text.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_billing_text.tpl deleted file mode 100644 index 1100caf19107..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_billing_text.tpl +++ /dev/null @@ -1,23 +0,0 @@ -{contact.email_greeting}, - -{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts} - -=========================================================== -{ts}Billing Name and Address{/ts} - -=========================================================== -{$billingName} -{$address} - -{$email} - -=========================================================== -{ts}Credit Card Information{/ts} - -=========================================================== -{$credit_card_type} -{$credit_card_number} -{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} - - -{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_cancelled_html.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_cancelled_html.tpl deleted file mode 100644 index b9709cfe60aa..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_cancelled_html.tpl +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - -{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} -{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} -{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} - -
- - - - - - - - - - - -
-

{contact.email_greeting},

-

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

- -
- - - - - - - - - - {if $mem_start_date} - - - - - {/if} - {if $mem_end_date} - - - - - {/if} - -
- {ts}Membership Information{/ts} -
- {ts}Membership Status{/ts} - - {$membership_status} -
- {ts}Membership Start Date{/ts} - - {$mem_start_date|crmDate} -
- {ts}Membership End Date{/ts} - - {$mem_end_date|crmDate} -
-
- - - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_cancelled_subject.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_cancelled_subject.tpl deleted file mode 100644 index 69c2ab8a3c1e..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_cancelled_subject.tpl +++ /dev/null @@ -1 +0,0 @@ -{ts}Autorenew Membership Cancellation Notification{/ts} - {contact.display_name} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_cancelled_text.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_cancelled_text.tpl deleted file mode 100644 index 635767841175..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_autorenew_cancelled_text.tpl +++ /dev/null @@ -1,14 +0,0 @@ -{contact.email_greeting}, - -{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} - -=========================================================== -{ts}Membership Information{/ts} - -=========================================================== -{ts}Membership Status{/ts}: {$membership_status} -{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate} -{/if} -{if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate} -{/if} - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_offline_receipt_html.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_offline_receipt_html.tpl deleted file mode 100644 index 4f7ed9eea917..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_offline_receipt_html.tpl +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - - - -{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} -{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} -{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} - -
- - - - - - - - - - - - - - - - {if $isPrimary} - - - - {/if} - - {if $customValues} - - - - {/if} - -
-

{contact.email_greeting},

- {if $formValues.receipt_text_signup} -

{$formValues.receipt_text_signup|htmlize}

- {elseif $formValues.receipt_text_renewal} -

{$formValues.receipt_text_renewal|htmlize}

- {else} -

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

- {/if} - {if ! $cancelled} -

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

- {/if} -
- - {if !$lineItem} - - - - - - - - {/if} - {if ! $cancelled} - {if !$lineItem} - - - - - - - - - {/if} - {if $formValues.total_amount OR $formValues.total_amount eq 0 } - - - - {if $formValues.contributionType_name} - - - - - {/if} - - {if $lineItem} - {foreach from=$lineItem item=value key=priceset} - - - - {/foreach} - {if $dataArray} - - - - - {foreach from=$dataArray item=value key=priceset} - - {if $priceset} - - - {elseif $priceset == 0} - - - {/if} - - {/foreach} - {/if} - {/if} - {if isset($totalTaxAmount)} - - - - - {/if} - - - - - {if $receive_date} - - - - - {/if} - {if $formValues.paidBy} - - - - - {if $formValues.check_number} - - - - - {/if} - {/if} - {/if} - {/if} -
- {ts}Membership Information{/ts} -
- {ts}Membership Type{/ts} - - {$membership_name} -
- {ts}Membership Start Date{/ts} - - {$mem_start_date} -
- {ts}Membership End Date{/ts} - - {$mem_end_date} -
- {ts}Membership Fee{/ts} -
- {ts}Financial Type{/ts} - - {$formValues.contributionType_name} -
- {* FIXME: style this table so that it looks like the text version (justification, etc.) *} - - - - {if $dataArray} - - - - - {/if} - - - - {foreach from=$value item=line} - - - - {if $dataArray} - - {if $line.tax_rate != "" || $line.tax_amount != ""} - - - {else} - - - {/if} - - {/if} - - - - {/foreach} -
{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}
- {if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:"..."}
{/if} -
- {$line.line_total|crmMoney} - - {$line.unit_price*$line.qty|crmMoney} - - {$line.tax_rate|string_format:"%.2f"}% - - {$line.tax_amount|crmMoney} - - {$line.line_total+$line.tax_amount|crmMoney} - - {$line.start_date} - - {$line.end_date} -
-
- {ts}Amount Before Tax:{/ts} - - {$formValues.total_amount-$totalTaxAmount|crmMoney} -
 {$taxTerm} {$priceset|string_format:"%.2f"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
- {ts}Total Tax Amount{/ts} - - {$totalTaxAmount|crmMoney:$currency} -
- {ts}Amount{/ts} - - {$formValues.total_amount|crmMoney} -
- {ts}Date Received{/ts} - - {$receive_date|truncate:10:''|crmDate} -
- {ts}Paid By{/ts} - - {$formValues.paidBy} -
- {ts}Check Number{/ts} - - {$formValues.check_number} -
-
- - - {if $contributeMode ne 'notify' and !$isAmountzero and !$is_pay_later } - - - - - - - {/if} - - {if $contributeMode eq 'direct' and !$isAmountzero and !$is_pay_later} - - - - - - - - - - - {/if} - -
- {ts}Billing Name and Address{/ts} -
- {$billingName}
- {$address} -
- {ts}Credit Card Information{/ts} -
- {$credit_card_type}
- {$credit_card_number} -
- {ts}Expires{/ts} - - {$credit_card_exp_date|truncate:7:''|crmDate} -
-
- - - - - {foreach from=$customValues item=value key=customName} - - - - - {/foreach} -
- {ts}Membership Options{/ts} -
- {$customName} - - {$value} -
-
-
- - - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_offline_receipt_subject.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_offline_receipt_subject.tpl deleted file mode 100644 index 22f1b0b6a0af..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_offline_receipt_subject.tpl +++ /dev/null @@ -1,6 +0,0 @@ -{if $receiptType EQ 'membership signup'} -{ts}Membership Confirmation and Receipt{/ts} -{elseif $receiptType EQ 'membership renewal'} -{ts}Membership Renewal Confirmation and Receipt{/ts} -{/if} -{contact.display_name} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_offline_receipt_text.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_offline_receipt_text.tpl deleted file mode 100644 index 057bb14b0440..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_offline_receipt_text.tpl +++ /dev/null @@ -1,115 +0,0 @@ -{contact.email_greeting}, - -{if $formValues.receipt_text_signup} -{$formValues.receipt_text_signup} -{elseif $formValues.receipt_text_renewal} -{$formValues.receipt_text_renewal} -{else}{ts}Thank you for your support.{/ts}{/if} - -{if ! $cancelled}{ts}Please print this receipt for your records.{/ts} - - -{/if} -{if !$lineItem} -=========================================================== -{ts}Membership Information{/ts} - -=========================================================== -{ts}Membership Type{/ts}: {$membership_name} -{/if} -{if ! $cancelled} -{if !$lineItem} -{ts}Membership Start Date{/ts}: {$mem_start_date} -{ts}Membership End Date{/ts}: {$mem_end_date} -{/if} - -{if $formValues.total_amount OR $formValues.total_amount eq 0 } -=========================================================== -{ts}Membership Fee{/ts} - -=========================================================== -{if $formValues.contributionType_name} -{ts}Financial Type{/ts}: {$formValues.contributionType_name} -{/if} -{if $lineItem} -{foreach from=$lineItem item=value key=priceset} -{capture assign=ts_item}{ts}Item{/ts}{/capture} -{capture assign=ts_total}{ts}Fee{/ts}{/capture} -{if $dataArray} -{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} -{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} -{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} -{capture assign=ts_total}{ts}Total{/ts}{/capture} -{/if} -{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture} -{capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture} -{$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"} --------------------------------------------------------------------------------------------------- - -{foreach from=$value item=line} -{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"} -{/foreach} -{/foreach} - -{if $dataArray} -{ts}Amount before Tax{/ts}: {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency} - -{foreach from=$dataArray item=value key=priceset} -{if $priceset} -{$taxTerm} {$priceset|string_format:"%.2f"} %: {$value|crmMoney:$currency} -{elseif $priceset == 0} -{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency} -{/if} -{/foreach} -{/if} --------------------------------------------------------------------------------------------------- -{/if} - -{if isset($totalTaxAmount)} -{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency} -{/if} - -{ts}Amount{/ts}: {$formValues.total_amount|crmMoney} -{if $receive_date} -{ts}Date Received{/ts}: {$receive_date|truncate:10:''|crmDate} -{/if} -{if $formValues.paidBy} -{ts}Paid By{/ts}: {$formValues.paidBy} -{if $formValues.check_number} -{ts}Check Number{/ts}: {$formValues.check_number} -{/if} -{/if} -{/if} -{/if} - -{if $isPrimary } -{if $contributeMode ne 'notify' and !$isAmountzero and !$is_pay_later } - -=========================================================== -{ts}Billing Name and Address{/ts} - -=========================================================== -{$billingName} -{$address} -{/if} - -{if $contributeMode eq 'direct' and !$isAmountzero and !$is_pay_later} -=========================================================== -{ts}Credit Card Information{/ts} - -=========================================================== -{$credit_card_type} -{$credit_card_number} -{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} -{/if} -{/if} - -{if $customValues} -=========================================================== -{ts}Membership Options{/ts} - -=========================================================== -{foreach from=$customValues item=value key=customName} - {$customName} : {$value} -{/foreach} -{/if} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_online_receipt_html.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_online_receipt_html.tpl deleted file mode 100644 index a1e20138885d..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_online_receipt_html.tpl +++ /dev/null @@ -1,556 +0,0 @@ - - - - - - - - -{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} -{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} -{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} - -
- - - - - - - - - - - -
-

{contact.email_greeting},

- {if $receipt_text} -

{$receipt_text|htmlize}

- {/if} - - {if $is_pay_later} -

{$pay_later_receipt}

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

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

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

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

- {if $contact_email} -

{$contact_email}

- {/if} - {if $contact_phone} -

{$contact_phone}

- {/if} -
-

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

-
- {$customPre_grouptitle} -
- {$customName} - - {$customValue} -
- {$customPost_grouptitle} -
- {$customName} - - {$customValue} -
-
- - - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_online_receipt_subject.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_online_receipt_subject.tpl deleted file mode 100644 index 052dce5bd748..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_online_receipt_subject.tpl +++ /dev/null @@ -1 +0,0 @@ -{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_online_receipt_text.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_online_receipt_text.tpl deleted file mode 100644 index 5d8420876c2b..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/membership_online_receipt_text.tpl +++ /dev/null @@ -1,243 +0,0 @@ -{contact.email_greeting}, - -{if $receipt_text} -{$receipt_text} -{/if} -{if $is_pay_later} - -=========================================================== -{$pay_later_receipt} -=========================================================== -{else} - -{ts}Please print this receipt for your records.{/ts} -{/if} - -{if $membership_assign && !$useForMember} -=========================================================== -{ts}Membership Information{/ts} - -=========================================================== -{ts}Membership Type{/ts}: {$membership_name} -{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate} -{/if} -{if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate} -{/if} - -{/if} -{if $amount} -=========================================================== -{ts}Membership Fee{/ts} - -=========================================================== -{if !$useForMember && $membership_amount && $is_quick_config} -{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney} -{if $amount && !$is_separate_payment } -{ts}Contribution Amount{/ts}: {$amount|crmMoney} -------------------------------------------- -{ts}Total{/ts}: {$amount+$membership_amount|crmMoney} -{/if} -{elseif !$useForMember && $lineItem and $priceSetID & !$is_quick_config} -{foreach from=$lineItem item=value key=priceset} ---------------------------------------------------------- -{capture assign=ts_item}{ts}Item{/ts}{/capture} -{capture assign=ts_qty}{ts}Qty{/ts}{/capture} -{capture assign=ts_each}{ts}Each{/ts}{/capture} -{capture assign=ts_total}{ts}Total{/ts}{/capture} -{$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {$ts_total|string_format:"%10s"} ----------------------------------------------------------- -{foreach from=$value item=line} -{$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"} -{/foreach} -{/foreach} - -{ts}Total Amount{/ts}: {$amount|crmMoney} -{else} -{if $useForMember && $lineItem && !$is_quick_config} -{foreach from=$lineItem item=value key=priceset} -{capture assign=ts_item}{ts}Item{/ts}{/capture} -{capture assign=ts_total}{ts}Fee{/ts}{/capture} -{if $dataArray} -{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} -{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} -{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} -{capture assign=ts_total}{ts}Total{/ts}{/capture} -{/if} -{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture} -{capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture} -{$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"} --------------------------------------------------------------------------------------------------- - -{foreach from=$value item=line} -{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"} -{/foreach} -{/foreach} - -{if $dataArray} -{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency} - -{foreach from=$dataArray item=value key=priceset} -{if $priceset || $priceset == 0} -{$taxTerm} {$priceset|string_format:"%.2f"}%: {$value|crmMoney:$currency} -{else} -{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency} -{/if} -{/foreach} -{/if} --------------------------------------------------------------------------------------------------- -{/if} - -{if $totalTaxAmount} -{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency} -{/if} - -{ts}Amount{/ts}: {$amount|crmMoney} {if $amount_level } - {$amount_level} {/if} -{/if} -{elseif $membership_amount} -=========================================================== -{ts}Membership Fee{/ts} - -=========================================================== -{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney} -{/if} - -{if $receive_date} - -{ts}Date{/ts}: {$receive_date|crmDate} -{/if} -{if $is_monetary and $trxn_id} -{ts}Transaction #{/ts}: {$trxn_id} - -{/if} -{if $membership_trx_id} -{ts}Membership Transaction #{/ts}: {$membership_trx_id} - -{/if} -{if $is_recur} -{if $contributeMode eq 'notify' or $contributeMode eq 'directIPN'} -{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page: %1.{/ts} -{if $updateSubscriptionBillingUrl} - -{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts} -{/if} -{/if} -{/if} - -{if $honor_block_is_active } -=========================================================== -{$soft_credit_type} -=========================================================== -{foreach from=$honoreeProfile item=value key=label} -{$label}: {$value} -{/foreach} - -{/if} -{if $pcpBlock} -=========================================================== -{ts}Personal Campaign Page{/ts} - -=========================================================== -{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if} - -{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if} - -{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if} - -{/if} -{if $onBehalfProfile} -=========================================================== -{ts}On Behalf Of{/ts} - -=========================================================== -{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName} -{$onBehalfName}: {$onBehalfValue} -{/foreach} -{/if} - -{if !( $contributeMode eq 'notify' OR $contributeMode eq 'directIPN' ) and $is_monetary} -{if $is_pay_later} -=========================================================== -{ts}Registered Email{/ts} - -=========================================================== -{$email} -{elseif $amount GT 0 OR $membership_amount GT 0 } -=========================================================== -{ts}Billing Name and Address{/ts} - -=========================================================== -{$billingName} -{$address} - -{$email} -{/if} {* End ! is_pay_later condition. *} -{/if} -{if $contributeMode eq 'direct' AND !$is_pay_later AND ( $amount GT 0 OR $membership_amount GT 0 ) } - -=========================================================== -{ts}Credit Card Information{/ts} - -=========================================================== -{$credit_card_type} -{$credit_card_number} -{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} -{/if} - -{if $selectPremium } -=========================================================== -{ts}Premium Information{/ts} - -=========================================================== -{$product_name} -{if $option} -{ts}Option{/ts}: {$option} -{/if} -{if $sku} -{ts}SKU{/ts}: {$sku} -{/if} -{if $start_date} -{ts}Start Date{/ts}: {$start_date|crmDate} -{/if} -{if $end_date} -{ts}End Date{/ts}: {$end_date|crmDate} -{/if} -{if $contact_email OR $contact_phone} - -{ts}For information about this premium, contact:{/ts} - -{if $contact_email} - {$contact_email} -{/if} -{if $contact_phone} - {$contact_phone} -{/if} -{/if} -{if $is_deductible AND $price} - -{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} -{/if} - -{if $customPre} -=========================================================== -{$customPre_grouptitle} - -=========================================================== -{foreach from=$customPre item=customValue key=customName} -{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields} - {$customName}: {$customValue} -{/if} -{/foreach} -{/if} - - -{if $customPost} -=========================================================== -{$customPost_grouptitle} - -=========================================================== -{foreach from=$customPost item=customValue key=customName} -{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields} - {$customName}: {$customValue} -{/if} -{/foreach} -{/if} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_cancelled_html.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_cancelled_html.tpl deleted file mode 100644 index f6bc1b12172b..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_cancelled_html.tpl +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - -{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} -{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} -{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} - -
- - - - - - - - - - - - - - - - - - - -
-

{contact.email_greeting},

-

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

-
- - - - - - - - - - - - - {if $isShowLocation} - - - - {/if} - - {if $event.location.phone.1.phone || $event.location.email.1.email} - - - - {foreach from=$event.location.phone item=phone} - {if $phone.phone} - - - - - {/if} - {/foreach} - {foreach from=$event.location.email item=eventEmail} - {if $eventEmail.email} - - - - - {/if} - {/foreach} - {/if} - - {if $contact.email} - - - - - - - {/if} - - {if $register_date} - - - - - {/if} - -
- {ts}Event Information and Location{/ts} -
- {$event.event_title}
- {$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} -
- {ts}Participant Role{/ts}: - - {$participant.role} -
- {$event.location.address.1.display|nl2br} -
- {ts}Event Contacts:{/ts} -
- {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if} - - {$phone.phone} -
- {ts}Email{/ts} - - {$eventEmail.email} -
- {ts}Registered Email{/ts} -
- {$contact.email} -
- {ts}Registration Date{/ts} - - {$participant.register_date|crmDate} -
-
-

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

-
-
- - - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_cancelled_subject.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_cancelled_subject.tpl deleted file mode 100644 index e39740983922..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_cancelled_subject.tpl +++ /dev/null @@ -1 +0,0 @@ -{ts 1=$event.event_title}Event Registration Cancelled for %1{/ts} - {contact.display_name} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_cancelled_text.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_cancelled_text.tpl deleted file mode 100644 index 566fdfd7372f..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_cancelled_text.tpl +++ /dev/null @@ -1,47 +0,0 @@ -{contact.email_greeting}, - -{ts}Your Event Registration has been cancelled.{/ts} - - -=========================================================== -{ts}Event Information and Location{/ts} - -=========================================================== -{$event.event_title} -{$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} - -{ts}Participant Role{/ts}: {$participant.role} - -{if $isShowLocation} -{$event.location.address.1.display|strip_tags:false} -{/if}{*End of isShowLocation condition*} - -{if $event.location.phone.1.phone || $event.location.email.1.email} - -{ts}Event Contacts:{/ts} -{foreach from=$event.location.phone item=phone} -{if $phone.phone} - -{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} -{/foreach} -{foreach from=$event.location.email item=eventEmail} -{if $eventEmail.email} - -{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach} -{/if} - -{if $contact.email} - -=========================================================== -{ts}Registered Email{/ts} - -=========================================================== -{$contact.email} -{/if} - -{if $register_date} -{ts}Registration Date{/ts}: {$participant.register_date|crmDate} -{/if} - -{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts} - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_confirm_html.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_confirm_html.tpl deleted file mode 100644 index af4fa8b53550..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_confirm_html.tpl +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - - - -{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} -{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} -{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} - -
- - - - - - - - - - - - {if !$isAdditional and $participant.id} - - - - - - - {/if} - {if $event.allow_selfcancelxfer } - This event allows for self-cancel or transfer - {capture assign=selfService}{crmURL p='civicrm/event/selfsvcupdate' q="reset=1&pid=`$participantID`&{contact.checksum}" h=0 a=1 fe=1}{/capture} - {ts}Self service cancel transfer{/ts} - {/if} - - - - - {if $event.allow_selfcancelxfer } - - - - {/if} - - - - -
-

{contact.email_greeting},

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

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

-
-
- - - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_confirm_text.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_confirm_text.tpl deleted file mode 100644 index 3dc53a1999e0..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_confirm_text.tpl +++ /dev/null @@ -1,81 +0,0 @@ -{contact.email_greeting}, -{if !$isAdditional and $participant.id} - -=========================================================== -{ts}Confirm Your Registration{/ts} - -=========================================================== -{capture assign=confirmUrl}{crmURL p='civicrm/event/confirm' q="reset=1&participantId=`$participant.id`&cs=`$checksumValue`" a=true h=0 fe=1}{/capture} -Click this link to go to a web page where you can confirm your registration online: -{$confirmUrl} -{/if} -{if $event.allow_selfcancelxfer } -{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} - {capture assign=selfService}{crmURL p='civicrm/event/selfsvcupdate' q="reset=1&pid=`$participant.id`&{contact.checksum}" h=0 a=1 fe=1}{/capture} -{ts}Transfer or cancel your registration:{/ts} {$selfService} -{/if} -=========================================================== -{ts}Event Information and Location{/ts} - -=========================================================== -{$event.event_title} -{$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} -{if $conference_sessions} - - -{ts}Your schedule:{/ts} -{assign var='group_by_day' value='NA'} -{foreach from=$conference_sessions item=session} -{if $session.start_date|date_format:"%Y/%m/%d" != $group_by_day|date_format:"%Y/%m/%d"} -{assign var='group_by_day' value=$session.start_date} - -{$group_by_day|date_format:"%m/%d/%Y"} - - -{/if} -{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title} -{if $session.location} {$session.location}{/if} -{/foreach} -{/if} - - -{ts}Participant Role{/ts}: {$participant.role} - -{if $isShowLocation} -{$event.location.address.1.display|strip_tags:false} -{/if}{*End of isShowLocation condition*} - -{if $event.location.phone.1.phone || $event.location.email.1.email} - -{ts}Event Contacts:{/ts} -{foreach from=$event.location.phone item=phone} -{if $phone.phone} - -{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} -{/foreach} -{foreach from=$event.location.email item=eventEmail} -{if $eventEmail.email} - -{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach} -{/if} - -{if $event.is_public} -{capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture} -{ts}Download iCalendar File:{/ts} {$icalFeed} -{/if} - -{if $contact.email} - -=========================================================== -{ts}Registered Email{/ts} - -=========================================================== -{$contact.email} -{/if} - -{if $register_date} -{ts}Registration Date{/ts}: {$participant.register_date|crmDate} -{/if} - -{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts} - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_expired_html.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_expired_html.tpl deleted file mode 100644 index 7af4dea95cb5..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_expired_html.tpl +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - -{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} -{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} -{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} - -
- - - - - - - - - - - - - - - - - - - -
-

{contact.email_greeting},

-

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

-

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

-
- - - - - - - - - - - - - {if $isShowLocation} - - - - {/if} - - {if $event.location.phone.1.phone || $event.location.email.1.email} - - - - {foreach from=$event.location.phone item=phone} - {if $phone.phone} - - - - - {/if} - {/foreach} - {foreach from=$event.location.email item=eventEmail} - {if $eventEmail.email} - - - - - {/if} - {/foreach} - {/if} - - {if $contact.email} - - - - - - - {/if} - - {if $register_date} - - - - - {/if} - -
- {ts}Event Information and Location{/ts} -
- {$event.event_title}
- {$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} -
- {ts}Participant Role{/ts}: - - {$participant.role} -
- {$event.location.address.1.display|nl2br} -
- {ts}Event Contacts:{/ts} -
- {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if} - - {$phone.phone} -
- {ts}Email{/ts} - - {$eventEmail.email} -
- {ts}Registered Email{/ts} -
- {$contact.email} -
- {ts}Registration Date{/ts} - - {$participant.register_date|crmDate} -
-
-

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

-
-
- - - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_expired_text.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_expired_text.tpl deleted file mode 100644 index bc8e673f982a..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_expired_text.tpl +++ /dev/null @@ -1,51 +0,0 @@ -{contact.email_greeting}, - -{ts 1=$event.event_title}Your pending event registration for %1 has expired -because you did not confirm your registration.{/ts} - - -{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions -or want to inquire about reinstating your registration for this event.{/ts} - -=========================================================== -{ts}Event Information and Location{/ts} - -=========================================================== -{$event.event_title} -{$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} - -{ts}Participant Role{/ts}: {$participant.role} - -{if $isShowLocation} -{$event.location.address.1.display|strip_tags:false} -{/if}{*End of isShowLocation condition*} - -{if $event.location.phone.1.phone || $event.location.email.1.email} - -{ts}Event Contacts:{/ts} -{foreach from=$event.location.phone item=phone} -{if $phone.phone} - -{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} -{/foreach} -{foreach from=$event.location.email item=eventEmail} -{if $eventEmail.email} - -{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach} -{/if} - -{if $contact.email} - -=========================================================== -{ts}Registered Email{/ts} - -=========================================================== -{$contact.email} -{/if} - -{if $register_date} -{ts}Registration Date{/ts}: {$participant.register_date|crmDate} -{/if} - -{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts} - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_transferred_html.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_transferred_html.tpl deleted file mode 100644 index ff1a1596084d..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_transferred_html.tpl +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - -{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} -{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} -{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} - -
- - - - - - - - - - - - - - - - - - - -
-

{contact.email_greeting},

-

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

-
- - - - - - - - - - - - - {if $isShowLocation} - - - - {/if} - - {if $event.location.phone.1.phone || $event.location.email.1.email} - - - - {foreach from=$event.location.phone item=phone} - {if $phone.phone} - - - - - {/if} - {/foreach} - {foreach from=$event.location.email item=eventEmail} - {if $eventEmail.email} - - - - - {/if} - {/foreach} - {/if} - - {if $contact.email} - - - - - - - {/if} - - {if $register_date} - - - - - {/if} - -
- {ts}Event Information and Location{/ts} -
- {$event.event_title}
- {$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} -
- {ts}Participant Role{/ts}: - - {$participant.role} -
- {$event.location.address.1.display|nl2br} -
- {ts}Event Contacts:{/ts} -
- {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if} - - {$phone.phone} -
- {ts}Email{/ts} - - {$eventEmail.email} -
- {ts}Registered Email{/ts} -
- {$contact.email} -
- {ts}Registration Date{/ts} - - {$participant.register_date|crmDate} -
-
-

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

-
-
- - - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_transferred_subject.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_transferred_subject.tpl deleted file mode 100644 index 2e2bf244d575..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_transferred_subject.tpl +++ /dev/null @@ -1 +0,0 @@ -{ts 1=$event.event_title}Event Registration Transferred for %1{/ts} - {contact.display_name} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_transferred_text.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_transferred_text.tpl deleted file mode 100644 index eaaec828dc74..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/participant_transferred_text.tpl +++ /dev/null @@ -1,45 +0,0 @@ -{contact.email_greeting}, - -{ts 1=$to_participant}Your Event Registration has been transferred to %1.{/ts} - -=========================================================== -{ts}Event Information and Location{/ts} - -=========================================================== -{$event.event_title} -{$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} - -{ts}Participant Role{/ts}: {$participant.role} - -{if $isShowLocation} -{$event.location.address.1.display|strip_tags:false} -{/if}{*End of isShowLocation condition*} - -{if $event.location.phone.1.phone || $event.location.email.1.email} - -{ts}Event Contacts:{/ts} -{foreach from=$event.location.phone item=phone} -{if $phone.phone} - -{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} -{/foreach} -{foreach from=$event.location.email item=eventEmail} -{if $eventEmail.email} - -{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach} -{/if} - -{if $contact.email} - -=========================================================== -{ts}Registered Email{/ts} - -=========================================================== -{$contact.email} -{/if} - -{if $register_date} -{ts}Registration Date{/ts}: {$participant.register_date|crmDate} -{/if} - -{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/payment_or_refund_notification_html.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/payment_or_refund_notification_html.tpl deleted file mode 100644 index d32860804575..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/payment_or_refund_notification_html.tpl +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - - - -{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} -{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} -{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} -{capture assign=emptyBlockStyle }style="padding: 10px; border-bottom: 1px solid #999;background-color: #f7f7f7;"{/capture} -{capture assign=emptyBlockValueStyle }style="padding: 10px; border-bottom: 1px solid #999;"{/capture} - -
- - - - - - - - - - - - - - - - - - -
- {if $isRefund} -

{contact.email_greeting},

-

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

- {else} -

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

- {/if} -

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

-
- - {if $isRefund} - - - - - - - - - - - - - - - {else} - - - - - - - - - - - - - - {* This will be zero after final payment. *} - - - - {if $paymentsComplete} - - - - {/if} - {/if} - {if $receive_date} - - - - - {/if} - {if $trxn_id} - - - - - {/if} - {if $paidBy} - - - - - {/if} - {if $checkNumber} - - - - - {/if} -
{ts}Refund Details{/ts}
- {ts}Total Amount{/ts} - - {$totalAmount|crmMoney} -
- {ts}You Paid{/ts} - - {$totalPaid|crmMoney} -
- {ts}Refund Amount{/ts} - - {$refundAmount|crmMoney} - -
{ts}Payment Details{/ts}
- {ts}Total Amount{/ts} - - {$totalAmount|crmMoney} -
- {ts}This Payment Amount{/ts} - - {$paymentAmount|crmMoney} -
- {ts}Balance Owed{/ts} - - {$amountOwed|crmMoney} -
- {ts}Thank you for completing payment.{/ts} -
- {ts}Transaction Date{/ts} - - {$receive_date|crmDate} -
- {ts}Transaction #{/ts} - - {$trxn_id} -
- {ts}Paid By{/ts} - - {$paidBy} -
- {ts}Check Number{/ts} - - {$checkNumber} -
-
- - {if $contributeMode eq 'direct' and !$isAmountzero} - - - - - - - {/if} - {if $contributeMode eq'direct' and !$isAmountzero} - - - - - - - {/if} - {if $component eq 'event'} - - - - - - - - {if $event.participant_role} - - - - - {/if} - - {if $isShowLocation} - - - - {/if} - - {if $location.phone.1.phone || $location.email.1.email} - - - - {foreach from=$location.phone item=phone} - {if $phone.phone} - - - - - {/if} - {/foreach} - {foreach from=$location.email item=eventEmail} - {if $eventEmail.email} - - - - - {/if} - {/foreach} - {/if} {*phone block close*} - {/if} -
- {ts}Billing Name and Address{/ts} -
- {$billingName}
- {$address|nl2br} -
- {ts}Credit Card Information{/ts} -
- {$credit_card_type}
- {$credit_card_number}
- {ts}Expires:{/ts} {$credit_card_exp_date|truncate:7:''|crmDate} -
- {ts}Event Information and Location{/ts} -
- {$event.event_title}
- {$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} -
- {ts}Participant Role{/ts} - - {$event.participant_role} -
- {$location.address.1.display|nl2br} -
- {ts}Event Contacts:{/ts} -
- {if $phone.phone_type} - {$phone.phone_type_display} - {else} - {ts}Phone{/ts} - {/if} - - {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if} -
- {ts}Email{/ts} - - {$eventEmail.email} -
-
-
- - - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/payment_or_refund_notification_subject.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/payment_or_refund_notification_subject.tpl deleted file mode 100644 index 0bd6ab689f0b..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/payment_or_refund_notification_subject.tpl +++ /dev/null @@ -1,2 +0,0 @@ -{if $isRefund}{ts}Refund Notification{/ts}{else}{ts}Payment Receipt{/ts}{/if} - {if $component eq 'event'}{$event.title}{/if} - {contact.display_name} - diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/petition_confirmation_needed_subject.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/petition_confirmation_needed_subject.tpl deleted file mode 100644 index 2d39e4c4dcf2..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/petition_confirmation_needed_subject.tpl +++ /dev/null @@ -1 +0,0 @@ -Confirmation of signature needed for {$petition.title} - {contact.display_name} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/petition_sign_subject.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/petition_sign_subject.tpl deleted file mode 100644 index 4b53e92119c6..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/petition_sign_subject.tpl +++ /dev/null @@ -1 +0,0 @@ -Thank you for signing {$petition.title}, {contact.display_name} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/pledge_acknowledge_subject.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/pledge_acknowledge_subject.tpl deleted file mode 100644 index 60864d3e988e..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/pledge_acknowledge_subject.tpl +++ /dev/null @@ -1 +0,0 @@ -{ts}Thank you for your Pledge{/ts}, {contact.display_name} diff --git a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/pledge_reminder_subject.tpl b/CRM/Upgrade/5.0.beta1.msg_template/message_templates/pledge_reminder_subject.tpl deleted file mode 100644 index e648dc2dea9b..000000000000 --- a/CRM/Upgrade/5.0.beta1.msg_template/message_templates/pledge_reminder_subject.tpl +++ /dev/null @@ -1 +0,0 @@ -{ts}Pledge Payment Reminder{/ts} {ts}for{/ts} {contact.display_name}