2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.7 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2018 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
27 {include file="CRM/Contribute/Form/Contribution/PreviewHeader.tpl"}
30 {include file="CRM/common/TrackingFields.tpl"}
32 <div class="crm-contribution-page-id-{$contributionPageID} crm-block crm-contribution-thankyou-form-block">
34 <div id="thankyou_text" class="crm-section thankyou_text-section">
39 {* Show link to Tell a Friend (CRM-2153) *}
41 <div id="tell-a-friend" class="crm-section friend_link-section">
42 <a href="{$friendURL}" title="{$friendText|escape:'html'}" class="button"><span>» {$friendText}</span></a>
43 </div>{if !$linkText}<br /><br />{/if}
45 {* Add button for donor to create their own Personal Campaign page *}
47 <div class="crm-section create_pcp_link-section">
48 <a href="{$linkTextUrl}" title="{$linkText|escape:'html'}" class="button"><span>» {$linkText}</span></a>
53 {* PayPal_Standard sets contribution_mode to 'notify'. We don't know if transaction is successful until we receive the IPN (payment notification) *}
55 <div class="bold">{$pay_later_receipt}</div>
56 {if $is_email_receipt}
58 {if $onBehalfEmail AND ($onBehalfEmail neq $email)}
59 {ts 1=$email 2=$onBehalfEmail}An email confirmation with these payment instructions has been sent to %1 and to %2.{/ts}
61 {ts 1=$email}An email confirmation with these payment instructions has been sent to %1.{/ts}
65 {elseif $isPendingOutcome}
66 <div>{ts 1=$paymentProcessor.name}Your contribution has been submitted to %1 for processing. Please print this page for your records.{/ts}</div>
67 {if $is_email_receipt}
69 {if $onBehalfEmail AND ($onBehalfEmail neq $email)}
70 {ts 1=$email 2=$onBehalfEmail}An email receipt will be sent to %1 and to %2 once the transaction is processed successfully.{/ts}
72 {ts 1=$email}An email receipt will be sent to %1 once the transaction is processed successfully.{/ts}
77 <div>{ts}Your transaction has been processed successfully. Please print this page for your records.{/ts}</div>
78 {if $is_email_receipt}
80 {if $onBehalfEmail AND ($onBehalfEmail neq $email)}
81 {ts 1=$email 2=$onBehalfEmail}An email receipt has also been sent to %1 and to %2{/ts}
83 {ts 1=$email}An email receipt has also been sent to %1{/ts}
89 <div class="spacer"></div>
91 {include file="CRM/Contribute/Form/Contribution/MembershipBlock.tpl" context="thankContribution"}
93 {if $amount GTE 0 OR $minimum_fee GTE 0 OR ( $priceSetID and $lineItem ) }
94 <div class="crm-group amount_display-group">
96 <div class="header-dark">
97 {if !$membershipBlock AND $amount OR ( $priceSetID and $lineItem )}{ts}Contribution Information{/ts}{else}{ts}Membership Fee{/ts}{/if}
100 <div class="display-block">
102 {if $lineItem and $priceSetID}
103 {if !$amount}{assign var="amount" value=0}{/if}
104 {assign var="totalAmount" value=$amount}
105 {include file="CRM/Price/Page/LineItem.tpl" context="Contribution"}
106 {elseif $membership_amount}
107 {$membership_name} {ts}Membership{/ts}: <strong>{$membership_amount|crmMoney}</strong><br />
109 {if !$is_separate_payment}
110 {ts}Contribution Amount{/ts}: <strong>{$amount|crmMoney}</strong><br />
112 {ts}Additional Contribution{/ts}: <strong>{$amount|crmMoney}</strong><br />
115 <strong> -------------------------------------------</strong><br />
116 {ts}Total{/ts}: <strong>{$amount+$membership_amount|crmMoney}</strong><br />
119 {ts}Tax Amount{/ts}: <strong>{$totalTaxAmount|crmMoney}</strong><br />
121 {if $installments}{ts}Installment Amount{/ts}{else}{ts}Amount{/ts}{/if}: <strong>{$amount|crmMoney}{if $amount_level } – {$amount_level}{/if}</strong>
125 {ts}Date{/ts}: <strong>{$receive_date|crmDate}</strong><br />
127 {if $contributeMode ne 'notify' and $is_monetary and ! $is_pay_later and $trxn_id}
128 {ts}Transaction #{/ts}: {$trxn_id}<br />
130 {if $membership_trx_id}
131 {ts}Membership Transaction #{/ts}: {$membership_trx_id}
134 {* Recurring contribution / pledge information *}
136 {if !empty($auto_renew)} {* Auto-renew membership confirmation *}
137 {crmRegion name="contribution-thankyou-recur-membership"}
139 {if $frequency_interval > 1}
140 <strong>{ts 1=$frequency_interval 2=$frequency_unit}This membership will be renewed automatically every %1 %2(s).{/ts}</strong>
142 <strong>{ts 1=$frequency_unit}This membership will be renewed automatically every %1.{/ts}</strong>
144 <div class="description crm-auto-renew-cancel-info">({ts}You will receive an email receipt which includes information about how to cancel the auto-renewal option.{/ts})</div>
147 {crmRegion name="contribution-thankyou-recur"}
148 {if $installments > 1}
149 {if $frequency_interval > 1}
150 <p><strong>{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}</strong></p>
152 <p><strong>{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}</strong></p>
155 {if $frequency_interval > 1}
156 <p><strong>{ts 1=$frequency_interval 2=$frequency_unit}This recurring contribution will be automatically processed every %1 %2s.{/ts}</strong></p>
158 <p><strong>{ts 1=$frequency_unit}This recurring contribution will be automatically processed every %1.{/ts}</strong></p>
162 {if $is_email_receipt}
163 {ts}You will receive an email receipt which includes information about how to update or cancel this recurring contribution.{/ts}
171 {if $pledge_frequency_interval GT 1}
172 <p><strong>{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}</strong></p>
174 <p><strong>{ts 1=$pledge_frequency_interval 2=$pledge_frequency_unit 3=$pledge_installments}I pledge to contribute this amount every %2 for %3 installments.{/ts}</strong></p>
178 {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}
180 {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}
183 {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}
191 {if $onbehalfProfile|@count}
192 <div class="crm-group onBehalf_display-group label-left crm-profile-view">
193 {include file="CRM/UF/Form/Block.tpl" fields=$onbehalfProfile prefix='onbehalf'}
197 {if $honoreeProfileFields|@count}
198 <div class="crm-group honor_block-group">
199 <div class="header-dark">
202 <div class="display-block">
203 <div class="label-left crm-section honoree_profile-section">
204 <strong>{$honorName}</strong></br>
205 {include file="CRM/UF/Form/Block.tpl" fields=$honoreeProfileFields prefix='honor'}
212 <fieldset class="label-left crm-profile-view">
213 {include file="CRM/UF/Form/Block.tpl" fields=$customPre}
218 <div class="crm-group pcp_display-group">
219 <div class="header-dark">
220 {ts}Contribution Honor Roll{/ts}
222 <div class="display-block">
223 {if $pcp_display_in_roll}
224 {ts}List my contribution{/ts}
225 {if $pcp_is_anonymous}
226 <strong>{ts}anonymously{/ts}.</strong>
228 {ts}under the name{/ts}: <strong>{$pcp_roll_nickname}</strong><br/>
229 {if $pcp_personal_note}
230 {ts}With the personal note{/ts}: <strong>{$pcp_personal_note}</strong>
232 <strong>{ts}With no personal note{/ts}</strong>
236 {ts}Don't list my contribution in the honor roll.{/ts}
243 {if ( $contributeMode ne 'notify' and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and $is_monetary and ( $amount GT 0 OR $minimum_fee GT 0 ) ) or $email }
244 {if $contributeMode ne 'notify' and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and $is_monetary and ( $amount GT 0 OR $minimum_fee GT 0 ) }
245 {if $billingName or $address}
246 <div class="crm-group billing_name_address-group">
247 <div class="header-dark">
248 {ts}Billing Name and Address{/ts}
250 <div class="crm-section no-label billing_name-section">
251 <div class="content">{$billingName}</div>
252 <div class="clear"></div>
254 <div class="crm-section no-label billing_address-section">
255 <div class="content">{$address|nl2br}</div>
256 <div class="clear"></div>
262 <div class="crm-group contributor_email-group">
263 <div class="header-dark">
266 <div class="crm-section no-label contributor_email-section">
267 <div class="content">{$email}</div>
268 <div class="clear"></div>
274 {if $contributeMode eq 'direct' and ! $is_pay_later and $is_monetary and ( $amount GT 0 OR $minimum_fee GT 0 )}
275 {crmRegion name="contribution-thankyou-billing-block"}
276 <div class="crm-group credit_card-group">
277 {if $paymentFieldsetLabel}
278 <div class="header-dark">
279 {$paymentFieldsetLabel}
282 {if $paymentProcessor.payment_type == 2}
283 <div class="display-block">
284 {ts}Account Holder{/ts}: {$account_holder}<br />
285 {ts}Bank Identification Number{/ts}: {$bank_identification_number}<br />
286 {ts}Bank Name{/ts}: {$bank_name}<br />
287 {ts}Bank Account Number{/ts}: {$bank_account_number}<br />
290 <div class="crm-section no-label credit_card_details-section">
291 <div class="content">{$credit_card_type}</div>
292 <div class="content">{$credit_card_number}</div>
293 <div class="content">{if $credit_card_exp_date}{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}{/if}</div>
294 <div class="clear"></div>
301 {include file="CRM/Contribute/Form/Contribution/PremiumBlock.tpl" context="thankContribution"}
304 <fieldset class="label-left crm-profile-view">
305 {include file="CRM/UF/Form/Block.tpl" fields=$customPost}
309 <div id="thankyou_footer" class="contribution_thankyou_footer-section">
315 {capture assign=contributionUrl}{crmURL p='civicrm/contribute/transact' q="$qParams" a=1 fe=1 h=1}{/capture}
316 {include file="CRM/common/SocialNetwork.tpl" url=$contributionUrl title=$title pageURL=$contributionUrl}