| 1 | {* |
| 2 | +--------------------------------------------------------------------+ |
| 3 | | CiviCRM version 4.4 | |
| 4 | +--------------------------------------------------------------------+ |
| 5 | | Copyright CiviCRM LLC (c) 2004-2013 | |
| 6 | +--------------------------------------------------------------------+ |
| 7 | | This file is a part of CiviCRM. | |
| 8 | | | |
| 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. | |
| 12 | | | |
| 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. | |
| 17 | | | |
| 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 | +--------------------------------------------------------------------+ |
| 25 | *} |
| 26 | {if $action & 1024} |
| 27 | {include file="CRM/Contribute/Form/Contribution/PreviewHeader.tpl"} |
| 28 | {/if} |
| 29 | |
| 30 | {include file="CRM/common/TrackingFields.tpl"} |
| 31 | |
| 32 | <div class="crm-contribution-page-id-{$contributionPageID} crm-block crm-contribution-confirm-form-block"> |
| 33 | <div id="help"> |
| 34 | <p>{ts}Please verify the information below carefully. Click <strong>Go Back</strong> if you need to make changes.{/ts} |
| 35 | {if $contributeMode EQ 'notify' and ! $is_pay_later} |
| 36 | {if $paymentProcessor.payment_processor_type EQ 'Google_Checkout'} |
| 37 | {ts}Click the <strong>Google Checkout</strong> button to checkout to Google, where you will select your payment method and complete the contribution.{/ts} |
| 38 | {else} |
| 39 | {ts 1=$paymentProcessor.name 2=$button}Click the <strong>%2</strong> button to go to %1, where you will select your payment method and complete the contribution.{/ts} |
| 40 | {/if} |
| 41 | {elseif ! $is_monetary or $amount LE 0.0 or $is_pay_later} |
| 42 | {ts 1=$button}To complete this transaction, click the <strong>%1</strong> button below.{/ts} |
| 43 | {else} |
| 44 | {ts 1=$button}To complete your contribution, click the <strong>%1</strong> button below.{/ts} |
| 45 | {/if} |
| 46 | </p> |
| 47 | </div> |
| 48 | <div id="crm-submit-buttons" class="crm-submit-buttons"> |
| 49 | {include file="CRM/common/formButtons.tpl" location="top"} |
| 50 | </div> |
| 51 | {if $is_pay_later} |
| 52 | <div class="bold pay_later_receipt-section">{$pay_later_receipt}</div> |
| 53 | {/if} |
| 54 | |
| 55 | {include file="CRM/Contribute/Form/Contribution/MembershipBlock.tpl" context="confirmContribution"} |
| 56 | |
| 57 | {if $amount GT 0 OR $minimum_fee GT 0 OR ( $priceSetID and $lineItem ) } |
| 58 | <div class="crm-group amount_display-group"> |
| 59 | {if !$useForMember} |
| 60 | <div class="header-dark"> |
| 61 | {if !$membershipBlock AND $amount OR ( $priceSetID and $lineItem ) }{ts}Contribution Amount{/ts}{else}{ts}Membership Fee{/ts} {/if} |
| 62 | </div> |
| 63 | {/if} |
| 64 | <div class="display-block"> |
| 65 | {if !$useForMember} |
| 66 | {if $lineItem and $priceSetID} |
| 67 | {if !$amount}{assign var="amount" value=0}{/if} |
| 68 | {assign var="totalAmount" value=$amount} |
| 69 | {include file="CRM/Price/Page/LineItem.tpl" context="Contribution"} |
| 70 | {elseif $is_separate_payment } |
| 71 | {if $amount AND $minimum_fee} |
| 72 | {$membership_name} {ts}Membership{/ts}: <strong>{$minimum_fee|crmMoney}</strong><br /> |
| 73 | {ts}Additional Contribution{/ts}: <strong>{$amount|crmMoney}</strong><br /> |
| 74 | <strong> -------------------------------------------</strong><br /> |
| 75 | {ts}Total{/ts}: <strong>{$amount+$minimum_fee|crmMoney}</strong><br /> |
| 76 | {elseif $amount } |
| 77 | {ts}Amount{/ts}: <strong>{$amount|crmMoney} {if $amount_level } - {$amount_level} {/if}</strong> |
| 78 | {else} |
| 79 | {$membership_name} {ts}Membership{/ts}: <strong>{$minimum_fee|crmMoney}</strong> |
| 80 | {/if} |
| 81 | {else} |
| 82 | {if $amount } |
| 83 | {ts}Total Amount{/ts}: <strong>{$amount|crmMoney} {if $amount_level } - {$amount_level} {/if}</strong> |
| 84 | {else} |
| 85 | {$membership_name} {ts}Membership{/ts}: <strong>{$minimum_fee|crmMoney}</strong> |
| 86 | {/if} |
| 87 | {/if} |
| 88 | {/if} |
| 89 | |
| 90 | {if $is_recur} |
| 91 | {if $membershipBlock} {* Auto-renew membership confirmation *} |
| 92 | {crmRegion name="contribution-confirm-recur-membership"} |
| 93 | <br /> |
| 94 | <strong>{ts 1=$frequency_interval 2=$frequency_unit}I want this membership to be renewed automatically every %1 %2(s).{/ts}</strong></p> |
| 95 | <div class="description crm-auto-renew-cancel-info">({ts}Your initial membership fee will be processed once you complete the confirmation step. You will be able to cancel the auto-renwal option by visiting the web page link that will be included in your receipt.{/ts})</div> |
| 96 | {/crmRegion} |
| 97 | {else} |
| 98 | {crmRegion name="contribution-confirm-recur"} |
| 99 | {if $installments} |
| 100 | <p><strong>{ts 1=$frequency_interval 2=$frequency_unit 3=$installments}I want to contribute this amount every %1 %2(s) for %3 installments.{/ts}</strong></p> |
| 101 | {else} |
| 102 | <p><strong>{ts 1=$frequency_interval 2=$frequency_unit}I want to contribute this amount every %1 %2(s).{/ts}</strong></p> |
| 103 | {/if} |
| 104 | <p>{ts}Your initial contribution will be processed once you complete the confirmation step. You will be able to cancel the recurring contribution by visiting the web page link that will be included in your receipt.{/ts}</p> |
| 105 | {/crmRegion} |
| 106 | {/if} |
| 107 | {/if} |
| 108 | |
| 109 | {if $is_pledge } |
| 110 | {if $pledge_frequency_interval GT 1} |
| 111 | <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> |
| 112 | {else} |
| 113 | <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> |
| 114 | {/if} |
| 115 | {if $is_pay_later} |
| 116 | <p>{ts 1=$receiptFromEmail 2=$button}Click "%2" below to register your pledge. 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}</p> |
| 117 | {else} |
| 118 | <p>{ts 1=$receiptFromEmail 2=$button}Your initial pledge payment will be processed when you click "%2" below. 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}</p> |
| 119 | {/if} |
| 120 | {/if} |
| 121 | </div> |
| 122 | </div> |
| 123 | {/if} |
| 124 | {include file="CRM/Contribute/Form/Contribution/Honor.tpl"} |
| 125 | |
| 126 | {if $customPre} |
| 127 | <fieldset class="label-left crm-profile-view"> |
| 128 | {include file="CRM/UF/Form/Block.tpl" fields=$customPre} |
| 129 | </fieldset> |
| 130 | {/if} |
| 131 | |
| 132 | {if $pcpBlock} |
| 133 | <div class="crm-group pcp_display-group"> |
| 134 | <div class="header-dark"> |
| 135 | {ts}Contribution Honor Roll{/ts} |
| 136 | </div> |
| 137 | <div class="display-block"> |
| 138 | {if $pcp_display_in_roll} |
| 139 | {ts}List my contribution{/ts} |
| 140 | {if $pcp_is_anonymous} |
| 141 | <strong>{ts}anonymously{/ts}.</strong> |
| 142 | {else} |
| 143 | {ts}under the name{/ts}: <strong>{$pcp_roll_nickname}</strong><br/> |
| 144 | {if $pcp_personal_note} |
| 145 | {ts}With the personal note{/ts}: <strong>{$pcp_personal_note}</strong> |
| 146 | {else} |
| 147 | <strong>{ts}With no personal note{/ts}</strong> |
| 148 | {/if} |
| 149 | {/if} |
| 150 | {else} |
| 151 | {ts}Don't list my contribution in the honor roll.{/ts} |
| 152 | {/if} |
| 153 | <br /> |
| 154 | </div> |
| 155 | </div> |
| 156 | {/if} |
| 157 | |
| 158 | {if $onbehalfProfile} |
| 159 | <div class="crm-group onBehalf_display-group label-left crm-profile-view"> |
| 160 | {include file="CRM/UF/Form/Block.tpl" fields=$onbehalfProfile} |
| 161 | <div class="crm-section organization_email-section"> |
| 162 | <div class="label">{ts}Organization Email{/ts}</div> |
| 163 | <div class="content">{$onBehalfEmail}</div> |
| 164 | <div class="clear"></div> |
| 165 | </div> |
| 166 | </div> |
| 167 | {/if} |
| 168 | |
| 169 | {if ( $contributeMode ne 'notify' and ! $is_pay_later and $is_monetary and ( $amount GT 0 OR $minimum_fee GT 0 ) ) or $email } |
| 170 | {if $contributeMode ne 'notify' and ! $is_pay_later and $is_monetary and ( $amount GT 0 OR $minimum_fee GT 0 ) } |
| 171 | {if $billingName or $address} |
| 172 | <div class="crm-group billing_name_address-group"> |
| 173 | <div class="header-dark"> |
| 174 | {ts}Billing Name and Address{/ts} |
| 175 | </div> |
| 176 | <div class="crm-section no-label billing_name-section"> |
| 177 | <div class="content">{$billingName}</div> |
| 178 | <div class="clear"></div> |
| 179 | </div> |
| 180 | <div class="crm-section no-label billing_address-section"> |
| 181 | <div class="content">{$address|nl2br}</div> |
| 182 | <div class="clear"></div> |
| 183 | </div> |
| 184 | </div> |
| 185 | {/if} |
| 186 | {/if} |
| 187 | {if $email} |
| 188 | <div class="crm-group contributor_email-group"> |
| 189 | <div class="header-dark"> |
| 190 | {ts}Your Email{/ts} |
| 191 | </div> |
| 192 | <div class="crm-section no-label contributor_email-section"> |
| 193 | <div class="content">{$email}</div> |
| 194 | <div class="clear"></div> |
| 195 | </div> |
| 196 | </div> |
| 197 | {/if} |
| 198 | {/if} |
| 199 | |
| 200 | {* Show credit or debit card section for 'direct' mode, except for PayPal Express (detected because credit card number is empty) *} |
| 201 | {if $contributeMode eq 'direct' and ! $is_pay_later and $is_monetary and ( $amount GT 0 OR $minimum_fee GT 0 )} |
| 202 | {crmRegion name="contribution-confirm-billing-block"} |
| 203 | {if ($credit_card_number or $bank_account_number)} |
| 204 | <div class="crm-group credit_card-group"> |
| 205 | <div class="header-dark"> |
| 206 | {if $paymentProcessor.payment_type & 2} |
| 207 | {ts}Direct Debit Information{/ts} |
| 208 | {else} |
| 209 | {ts}Credit Card Information{/ts} |
| 210 | {/if} |
| 211 | </div> |
| 212 | {if $paymentProcessor.payment_type & 2} |
| 213 | <div class="display-block"> |
| 214 | {ts}Account Holder{/ts}: {$account_holder}<br /> |
| 215 | {ts}Bank Account Number{/ts}: {$bank_account_number}<br /> |
| 216 | {ts}Bank Identification Number{/ts}: {$bank_identification_number}<br /> |
| 217 | {ts}Bank Name{/ts}: {$bank_name}<br /> |
| 218 | </div> |
| 219 | {if $contributeMode eq 'direct'} |
| 220 | <div class="crm-group debit_agreement-group"> |
| 221 | <div class="header-dark"> |
| 222 | {ts}Agreement{/ts} |
| 223 | </div> |
| 224 | <div class="display-block"> |
| 225 | {ts}Your account data will be used to charge your bank account via direct debit. While submitting this form you agree to the charging of your bank account via direct debit.{/ts} |
| 226 | </div> |
| 227 | </div> |
| 228 | {/if} |
| 229 | {else} |
| 230 | <div class="crm-section no-label credit_card_details-section"> |
| 231 | <div class="content">{$credit_card_type}</div> |
| 232 | <div class="content">{$credit_card_number}</div> |
| 233 | <div class="content">{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}</div> |
| 234 | <div class="clear"></div> |
| 235 | </div> |
| 236 | {/if} |
| 237 | </div> |
| 238 | {/if} |
| 239 | {/crmRegion} |
| 240 | {/if} |
| 241 | |
| 242 | {include file="CRM/Contribute/Form/Contribution/PremiumBlock.tpl" context="confirmContribution"} |
| 243 | |
| 244 | {if $customPost} |
| 245 | <fieldset class="label-left crm-profile-view"> |
| 246 | {include file="CRM/UF/Form/Block.tpl" fields=$customPost} |
| 247 | </fieldset> |
| 248 | {/if} |
| 249 | |
| 250 | {if $contributeMode NEQ 'notify' and $is_monetary and ( $amount GT 0 OR $minimum_fee GT 0 ) } {* In 'notify mode, contributor is taken to processor payment forms next *} |
| 251 | <div class="messages status continue_instructions-section"> |
| 252 | <p> |
| 253 | {if $is_pay_later OR $amount LE 0.0} |
| 254 | {ts 1=$button}Your transaction will not be completed until you click the <strong>%1</strong> button. Please click the button one time only.{/ts} |
| 255 | {else} |
| 256 | {ts 1=$button}Your contribution will not be completed until you click the <strong>%1</strong> button. Please click the button one time only.{/ts} |
| 257 | {/if} |
| 258 | </p> |
| 259 | </div> |
| 260 | {/if} |
| 261 | |
| 262 | {if $paymentProcessor.payment_processor_type EQ 'Google_Checkout' and $is_monetary and ( $amount GT 0 OR $minimum_fee GT 0 ) and ! $is_pay_later} |
| 263 | <fieldset class="crm-group google_checkout-group"><legend>{ts}Checkout with Google{/ts}</legend> |
| 264 | <table class="form-layout-compressed"> |
| 265 | <tr> |
| 266 | <td class="description">{ts}Click the Google Checkout button to continue.{/ts}</td> |
| 267 | </tr> |
| 268 | <tr> |
| 269 | <td>{$form._qf_Confirm_next_checkout.html} <span style="font-size:11px; font-family: Arial, Verdana;">Checkout securely. Pay without sharing your financial information. </span></td> |
| 270 | </tr> |
| 271 | </table> |
| 272 | </fieldset> |
| 273 | {/if} |
| 274 | |
| 275 | <div id="crm-submit-buttons" class="crm-submit-buttons"> |
| 276 | {include file="CRM/common/formButtons.tpl" location="bottom"} |
| 277 | </div> |
| 278 | </div> |