{* +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2018 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {if $action & 1024} {include file="CRM/Contribute/Form/Contribution/PreviewHeader.tpl"} {/if} {include file="CRM/common/TrackingFields.tpl"}
{if $thankyou_text}
{$thankyou_text}
{/if} {* Show link to Tell a Friend (CRM-2153) *} {if $friendText} {if !$linkText}

{/if} {/if} {* Add button for donor to create their own Personal Campaign page *} {if $linkText}

{/if}
{* PayPal_Standard sets contribution_mode to 'notify'. We don't know if transaction is successful until we receive the IPN (payment notification) *} {if $is_pay_later}
{$pay_later_receipt}
{if $is_email_receipt}
{if $onBehalfEmail AND ($onBehalfEmail neq $email)} {ts 1=$email 2=$onBehalfEmail}An email confirmation with these payment instructions has been sent to %1 and to %2.{/ts} {else} {ts 1=$email}An email confirmation with these payment instructions has been sent to %1.{/ts} {/if}
{/if} {elseif $isPendingOutcome}
{ts 1=$paymentProcessor.name}Your contribution has been submitted to %1 for processing. Please print this page for your records.{/ts}
{if $is_email_receipt}
{if $onBehalfEmail AND ($onBehalfEmail neq $email)} {ts 1=$email 2=$onBehalfEmail}An email receipt will be sent to %1 and to %2 once the transaction is processed successfully.{/ts} {else} {ts 1=$email}An email receipt will be sent to %1 once the transaction is processed successfully.{/ts} {/if}
{/if} {else}
{ts}Your transaction has been processed successfully. Please print this page for your records.{/ts}
{if $is_email_receipt}
{if $onBehalfEmail AND ($onBehalfEmail neq $email)} {ts 1=$email 2=$onBehalfEmail}An email receipt has also been sent to %1 and to %2{/ts} {elseif $email} {ts 1=$email}An email receipt has also been sent to %1{/ts} {/if}
{/if} {/if}
{include file="CRM/Contribute/Form/Contribution/MembershipBlock.tpl" context="thankContribution"} {if $amount GTE 0 OR $minimum_fee GTE 0 OR ( $priceSetID and $lineItem ) }
{if !$useForMember}
{if !$membershipBlock AND $amount OR ( $priceSetID and $lineItem )}{ts}Contribution Information{/ts}{else}{ts}Membership Fee{/ts}{/if}
{/if}
{if !$useForMember} {if $lineItem and $priceSetID} {if !$amount}{assign var="amount" value=0}{/if} {assign var="totalAmount" value=$amount} {include file="CRM/Price/Page/LineItem.tpl" context="Contribution"} {elseif $membership_amount} {$membership_name} {ts}Membership{/ts}: {$membership_amount|crmMoney}
{if $amount} {if !$is_separate_payment} {ts}Contribution Amount{/ts}: {$amount|crmMoney}
{else} {ts}Additional Contribution{/ts}: {$amount|crmMoney}
{/if} {/if} -------------------------------------------
{ts}Total{/ts}: {$amount+$membership_amount|crmMoney}
{else} {if $totalTaxAmount} {ts}Tax Amount{/ts}: {$totalTaxAmount|crmMoney}
{/if} {if $installments}{ts}Installment Amount{/ts}{else}{ts}Amount{/ts}{/if}: {$amount|crmMoney}{if $amount_level } – {$amount_level}{/if} {/if} {/if} {if $receive_date} {ts}Date{/ts}: {$receive_date|crmDate}
{/if} {if $contributeMode ne 'notify' and $is_monetary and ! $is_pay_later and $trxn_id} {ts}Transaction #{/ts}: {$trxn_id}
{/if} {if $membership_trx_id} {ts}Membership Transaction #{/ts}: {$membership_trx_id} {/if} {* Recurring contribution / pledge information *} {if $is_recur} {if !empty($auto_renew)} {* Auto-renew membership confirmation *} {crmRegion name="contribution-thankyou-recur-membership"}
{if $frequency_interval > 1} {ts 1=$frequency_interval 2=$frequency_unit}This membership will be renewed automatically every %1 %2(s).{/ts} {else} {ts 1=$frequency_unit}This membership will be renewed automatically every %1.{/ts} {/if}
({ts}You will receive an email receipt which includes information about how to cancel the auto-renewal option.{/ts})
{/crmRegion} {else} {crmRegion name="contribution-thankyou-recur"} {if $installments > 1} {if $frequency_interval > 1}

{ts 1=$frequency_interval 2=$frequency_unit 3=$installments}This recurring contribution will be automatically processed every %1 %2s for a total %3 installments (including this initial contribution).{/ts}

{else}

{ts 1=$frequency_unit 2=$installments}This recurring contribution will be automatically processed every %1 for a total %2 installments (including this initial contribution).{/ts}

{/if} {else} {if $frequency_interval > 1}

{ts 1=$frequency_interval 2=$frequency_unit}This recurring contribution will be automatically processed every %1 %2s.{/ts}

{else}

{ts 1=$frequency_unit}This recurring contribution will be automatically processed every %1.{/ts}

{/if} {/if}

{if $is_email_receipt} {ts}You will receive an email receipt which includes information about how to update or cancel this recurring contribution.{/ts} {/if}

{/crmRegion} {/if} {/if} {if $is_pledge} {if $pledge_frequency_interval GT 1}

{ts 1=$pledge_frequency_interval 2=$pledge_frequency_unit 3=$pledge_installments}I pledge to contribute this amount every %1 %2s for %3 installments.{/ts}

{else}

{ts 1=$pledge_frequency_interval 2=$pledge_frequency_unit 3=$pledge_installments}I pledge to contribute this amount every %2 for %3 installments.{/ts}

{/if}

{if $is_pay_later} {ts 1=$receiptFromEmail}We will record your initial pledge payment when we receive it from you. You will be able to modify or cancel future pledge payments at any time by logging in to your account or contacting us at %1.{/ts} {else} {ts 1=$receiptFromEmail}Your initial pledge payment has been processed. You will be able to modify or cancel future pledge payments at any time by contacting us at %1.{/ts} {/if} {if $max_reminders} {ts 1=$initial_reminder_day}We will send you a payment reminder %1 days prior to each scheduled payment date. The reminder will include a link to a page where you can make your payment online.{/ts} {/if}

{/if}
{/if} {if $onbehalfProfile|@count}
{include file="CRM/UF/Form/Block.tpl" fields=$onbehalfProfile prefix='onbehalf'}
{/if} {if $honoreeProfileFields|@count}
{$soft_credit_type}
{$honorName}
{include file="CRM/UF/Form/Block.tpl" fields=$honoreeProfileFields prefix='honor'}
{/if} {if $customPre}
{include file="CRM/UF/Form/Block.tpl" fields=$customPre}
{/if} {if $pcpBlock}
{ts}Contribution Honor Roll{/ts}
{if $pcp_display_in_roll} {ts}List my contribution{/ts} {if $pcp_is_anonymous} {ts}anonymously{/ts}. {else} {ts}under the name{/ts}: {$pcp_roll_nickname}
{if $pcp_personal_note} {ts}With the personal note{/ts}: {$pcp_personal_note} {else} {ts}With no personal note{/ts} {/if} {/if} {else} {ts}Don't list my contribution in the honor roll.{/ts} {/if}
{/if} {if ( $contributeMode ne 'notify' and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and $is_monetary and ( $amount GT 0 OR $minimum_fee GT 0 ) ) or $email } {if $contributeMode ne 'notify' and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and $is_monetary and ( $amount GT 0 OR $minimum_fee GT 0 ) } {if $billingName or $address}
{ts}Billing Name and Address{/ts}
{$billingName}
{$address|nl2br}
{/if} {/if} {if $email}
{ts}Your Email{/ts}
{$email}
{/if} {/if} {if $contributeMode eq 'direct' and ! $is_pay_later and $is_monetary and ( $amount GT 0 OR $minimum_fee GT 0 )} {crmRegion name="contribution-thankyou-billing-block"}
{if $paymentFieldsetLabel}
{$paymentFieldsetLabel}
{/if} {if $paymentProcessor.payment_type == 2}
{ts}Account Holder{/ts}: {$account_holder}
{ts}Bank Identification Number{/ts}: {$bank_identification_number}
{ts}Bank Name{/ts}: {$bank_name}
{ts}Bank Account Number{/ts}: {$bank_account_number}
{else}
{$credit_card_type}
{$credit_card_number}
{if $credit_card_exp_date}{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}{/if}
{/if}
{/crmRegion} {/if} {include file="CRM/Contribute/Form/Contribution/PremiumBlock.tpl" context="thankContribution"} {if $customPost}
{include file="CRM/UF/Form/Block.tpl" fields=$customPost}
{/if} {if $isShare} {capture assign=contributionUrl}{crmURL p='civicrm/contribute/transact' q="$qParams" a=1 fe=1 h=1}{/capture} {include file="CRM/common/SocialNetwork.tpl" url=$contributionUrl title=$title pageURL=$contributionUrl} {/if}