1 {include file="CRM/common/TrackingFields.tpl"}
6 <th class="event-title">
9 <th class="participants-column">
21 {foreach from=$line_items item=line_item}
22 <tr class="event-line-item {$line_item.class}">
23 <td class="event-title">
24 {$line_item.event->title} ({$line_item.event->start_date})
26 <td class="participants-column">
27 {$line_item.num_participants}<br/>
28 {if $line_item.num_participants > 0}
29 <div class="participants" style="padding-left: 10px;">
30 {foreach from=$line_item.participants item=participant}
31 {$participant.display_name}<br />
35 {if $line_item.num_waiting_participants > 0}
36 {ts}Waitlisted:{/ts}<br/>
37 <div class="participants" style="padding-left: 10px;">
38 {foreach from=$line_item.waiting_participants item=participant}
39 {$participant.display_name}<br />
45 {$line_item.cost|crmMoney:$currency|string_format:"%10s"}
48 {$line_item.amount|crmMoney:$currency|string_format:"%10s"}
64 {$sub_total|crmMoney:$currency|string_format:"%10s"}
67 {foreach from=$discounts key=myId item=i}
76 -{$i.amount|crmMoney:$currency|string_format:"%10s"}
90 {$total|crmMoney:$currency|string_format:"%10s"}
95 {if $payment_required == true}
96 <div class="crm-section {$form.is_pay_later.name}-section">
97 <div class="label">{$form.is_pay_later.label}</div>
98 <div class="content">{$form.is_pay_later.html}
100 <div class="clear"></div>
102 <div class="pay-later-instructions" style="display:none">
103 {$pay_later_instructions}
105 {include file='CRM/Core/BillingBlockWrapper.tpl'}
107 {if $collect_billing_email == true}
108 <div class="crm-section {$form.billing_contact_email.name}-section">
109 <div class="label">{$form.billing_contact_email.label}</div>
110 <div class="content">{$form.billing_contact_email.html}
112 <div class="clear"></div>
118 <div style="border: 1px solid blue; padding: 5px;">
119 <b>{ts}Staff use only{/ts}</b>
120 <div class="crm-section {$form.note.name}-section">
121 <div class="label">{$form.note.label}</div>
122 <div class="content">{$form.note.html}
123 <div class="description">{ts}Note that will be sent to the billing customer.{/ts}</div>
125 <div class="clear"></div>
127 <div class="crm-section {$form.source.name}-section">
128 <div class="label">{$form.source.label}</div>
129 <div class="content">{$form.source.html}
130 <div class="description">{ts}Description of this transaction.{/ts}</div>
132 <div class="clear"></div>
134 <div class="crm-section {$form.payment_type.name}-section">
135 <div class="label">{$form.payment_type.label}</div>
136 <div class="content">{$form.payment_type.html}
138 <div class="clear"></div>
140 <div class="crm-section {$form.check_number.name}-section" style="display: none;">
141 <div class="label">{$form.check_number.label}</div>
142 <div class="content">{$form.check_number.html}</div>
143 <div class="clear"></div>
145 <div class="crm-section {$form.is_pending.name}-section">
146 <div class="label">{$form.is_pending.label}</div>
147 <div class="content">{$form.is_pending.html}
149 <div class="clear"></div>
155 <script type="text/javascript">
156 var pay_later_sel = "input#{$form.is_pay_later.name}";
160 var is_pay_later = $(pay_later_sel).prop("checked");
161 $(".credit_card_info-group").toggle(!is_pay_later);
162 $(".pay-later-instructions").toggle(is_pay_later);
163 $("div.billingNameInfo-section .description").html(is_pay_later ? "Enter the billing address at which you can be invoiced." : "Enter the name as shown on your credit or debit card, and the billing address for this card.");
165 $("input#source").prop('disabled', true);
167 $(pay_later_sel).change(function() {
170 $(".payment_type-section :radio").change(function() {
171 var sel = $(this).attr("id");
172 $(".check_number-section").toggle(
173 $(this).is(":checked") &&
174 $("label[for="+sel+"]").html() == "{/literal}{ts escape='js'}Check{/ts}{literal}"
182 <div id="crm-submit-buttons" class="crm-submit-buttons">
183 {include file="CRM/common/formButtons.tpl" location="bottom"}
186 {include file="CRM/Event/Cart/Form/viewCartLink.tpl"}