9fafdc53bfeebc290ed0ba90b4debe50571d0c52
[civicrm-core.git] / templates / CRM / Event / Form / Registration / Confirm.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.5 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2014 |
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/Event/Form/Registration/PreviewHeader.tpl"}
28 {/if}
29
30 {include file="CRM/common/TrackingFields.tpl"}
31
32 <div class="crm-event-id-{$event.id} crm-block crm-event-confirm-form-block">
33 {if $isOnWaitlist}
34 <div class="help">
35 {ts}Please verify the information below. <span class="bold">Then click 'Continue' to be added to the WAIT LIST for this event</span>. If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}
36 </div>
37 {elseif $isRequireApproval}
38 <div class="help">
39 {ts}Please verify the information below. Then click 'Continue' to submit your registration. <span class="bold">Once approved, you will receive an email with a link to a web page where you can complete the registration process.</span>{/ts}
40 </div>
41 {else}
42 <div id="help">
43 {ts}Please verify the information below. Click the <strong>Go Back</strong> button below if you need to make changes.{/ts}
44 {if $contributeMode EQ 'notify' and !$is_pay_later and ! $isAmountzero }
45 {if $paymentProcessor.payment_processor_type EQ 'Google_Checkout'}
46 {ts 1=$paymentProcessor.name}Click the <strong>%1</strong> button to checkout to Google, where you will select your payment method and complete the registration.{/ts}
47 {else}
48 {ts 1=$paymentProcessor.name}Click the <strong>Continue</strong> button to checkout to %1, where you will select your payment method and complete the registration.{/ts}
49 {/if }
50 {else}
51 {ts}Otherwise, click the <strong>Continue</strong> button below to complete your registration.{/ts}
52 {/if}
53 </div>
54 {if $is_pay_later and !$isAmountzero}
55 <div class="bold">{$pay_later_receipt}</div>
56 {/if}
57 {/if}
58
59 <div id="crm-submit-buttons" class="crm-submit-buttons">
60 {include file="CRM/common/formButtons.tpl" location="top"}
61 </div>
62
63 {if $event.confirm_text}
64 <div id="intro_text" class="crm-section event_confirm_text-section">
65 <p>{$event.confirm_text}</p>
66 </div>
67 {/if}
68
69 <div class="crm-group event_info-group">
70 <div class="header-dark">
71 {ts}Event Information{/ts}
72 </div>
73 <div class="display-block">
74 {include file="CRM/Event/Form/Registration/EventInfoBlock.tpl"}
75 </div>
76 </div>
77
78 {if $pcpBlock}
79 <div class="crm-group pcp_display-group">
80 <div class="header-dark">
81 {ts}Contribution Honor Roll{/ts}
82 </div>
83 <div class="display-block">
84 {if $pcp_display_in_roll}
85 {ts}List my contribution{/ts}
86 {if $pcp_is_anonymous}
87 <strong>{ts}anonymously{/ts}.</strong>
88 {else}
89 {ts}under the name{/ts}: <strong>{$pcp_roll_nickname}</strong><br/>
90 {if $pcp_personal_note}
91 {ts}With the personal note{/ts}: <strong>{$pcp_personal_note}</strong>
92 {else}
93 <strong>{ts}With no personal note{/ts}</strong>
94 {/if}
95 {/if}
96 {else}
97 {ts}Don't list my contribution in the honor roll.{/ts}
98 {/if}
99 <br />
100 </div>
101 </div>
102 {/if}
103
104 {if $paidEvent}
105 <div class="crm-group event_fees-group">
106 <div class="header-dark">
107 {$event.fee_label}
108 </div>
109 {if $lineItem}
110 {include file="CRM/Price/Page/LineItem.tpl" context="Event"}
111 {elseif $amounts || $amount == 0}
112 <div class="crm-section no-label amount-item-section">
113 {foreach from= $amounts item=amount key=level}
114 <div class="content">
115 {$amount.amount|crmMoney}&nbsp;&nbsp;{$amount.label}
116 </div>
117 <div class="clear"></div>
118 {/foreach}
119 </div>
120 {if $totalAmount}
121 <div class="crm-section no-label total-amount-section">
122 <div class="content bold">{ts}Total Amount{/ts}:&nbsp;&nbsp;{$totalAmount|crmMoney}</div>
123 <div class="clear"></div>
124 </div>
125 {/if}
126 {if $hookDiscount.message}
127 <div class="crm-section hookDiscount-section">
128 <em>({$hookDiscount.message})</em>
129 </div>
130 {/if}
131 {/if}
132
133 </div>
134 {/if}
135
136 {if $event.participant_role neq 'Attendee' and $defaultRole}
137 <div class="crm-group participant_role-group">
138 <div class="header-dark">
139 {ts}Participant Role{/ts}
140 </div>
141 <div class="crm-section no-label participant_role-section">
142 <div class="content">
143 {$event.participant_role}
144 </div>
145 <div class="clear"></div>
146 </div>
147 </div>
148 {/if}
149
150 {include file="CRM/Event/Form/Registration/DisplayProfile.tpl"}
151
152 {if $contributeMode ne 'notify' and !$is_pay_later and $paidEvent and !$isAmountzero and !$isOnWaitlist and !$isRequireApproval}
153 <div class="crm-group billing_name_address-group">
154 <div class="header-dark">
155 {ts}Billing Name and Address{/ts}
156 </div>
157 <div class="crm-section no-label billing_name-section">
158 <div class="content">{$billingName}</div>
159 <div class="clear"></div>
160 </div>
161 <div class="crm-section no-label billing_address-section">
162 <div class="content">{$address|nl2br}</div>
163 <div class="clear"></div>
164 </div>
165 </div>
166 {/if}
167
168 {if $contributeMode eq 'direct' and ! $is_pay_later and !$isAmountzero and !$isOnWaitlist and !$isRequireApproval}
169 <div class="crm-group credit_card-group">
170 <div class="header-dark">
171 {ts}Credit Card Information{/ts}
172 </div>
173 <div class="crm-section no-label credit_card_details-section">
174 <div class="content">{$credit_card_type}</div>
175 <div class="content">{$credit_card_number}</div>
176 <div class="content">{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}</div>
177 <div class="clear"></div>
178 </div>
179 </div>
180 {/if}
181
182 {if $contributeMode NEQ 'notify'} {* In 'notify mode, contributor is taken to processor payment forms next *}
183 <div class="messages status section continue_message-section">
184 <p>
185 {ts}Your registration will not be submitted until you click the <strong>Continue</strong> button. Please click the button one time only. If you need to change any details, click the Go Back button below to return to the previous screen.{/ts}
186 </p>
187 </div>
188 {/if}
189
190 {if $paymentProcessor.payment_processor_type EQ 'Google_Checkout' and $paidEvent and !$is_pay_later and ! $isAmountzero and !$isOnWaitlist and !$isRequireApproval}
191 <fieldset><legend>{ts}Checkout with Google{/ts}</legend>
192 <div class="crm-section google_checkout-section">
193 <table class="form-layout-compressed">
194 <tr>
195 <td class="description">{ts}Click the Google Checkout button to continue.{/ts}</td>
196 </tr>
197 <tr>
198 <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>
199 </tr>
200 </table>
201 </div>
202 </fieldset>
203 {/if}
204
205 <div id="crm-submit-buttons" class="crm-submit-buttons">
206 {include file="CRM/common/formButtons.tpl" location="bottom"}
207 </div>
208
209 {if $event.confirm_footer_text}
210 <div id="footer_text" class="crm-section event_confirm_footer-section">
211 <p>{$event.confirm_footer_text}</p>
212 </div>
213 {/if}
214 </div>
215 {include file="CRM/common/showHide.tpl"}