The wrapper has an extra div which is crucial for switching so where it isn't present, add the wrapper version
Also, note the wrapper may get the extra script added rather than billingBlock as part of the refactor (scri
*}
{* this template is used for adding Credit Cart and billing details *}
<div id="id-creditCard" class="section-shown">
- {include file='CRM/Core/BillingBlock.tpl'}
+ {include file='CRM/Core/BillingBlockWrapper.tpl'}
</div>
{include file="CRM/Contribute/Form/AdditionalInfo/Payment.tpl"}
*}
{* this template is used for adding Credit Cart and billing details *}
<div id="id-directDebit" class="section-shown">
- {include file='CRM/Core/BillingBlock.tpl'}
+ {include file='CRM/Core/BillingBlockWrapper.tpl'}
</div>
{include file="CRM/Contribute/Form/AdditionalInfo/Payment.tpl"}
{/if}
</div>
-{include file="CRM/Core/BillingBlock.tpl"}
+{include file="CRM/Core/BillingBlockWrapper.tpl"}
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
<div class="pay-later-instructions" style="display:none">
{$pay_later_instructions}
</div>
-{include file='CRM/Core/BillingBlock.tpl'}
+{include file='CRM/Core/BillingBlockWrapper.tpl'}
{/if}
{if $collect_billing_email == true}
<div class="crm-section {$form.billing_contact_email.name}-section">
{* credit card block when it is live or test mode*}
{if $participantMode and $paid}
<div class="spacer"></div>
- {include file='CRM/Core/BillingBlock.tpl'}
+ {include file='CRM/Core/BillingBlockWrapper.tpl'}
{/if}
{if ($email OR $batchEmail) and $outBound_option != 2}
<fieldset id="send_confirmation_receipt"><legend>{if $paid}{ts}Registration Confirmation and Receipt{/ts}{else}{ts}Registration Confirmation{/ts}{/if}</legend>
</tr>
<tr class="crm-membership-form-block-billing">
<td colspan="2">
- {include file='CRM/Core/BillingBlock.tpl'}
+ {include file='CRM/Core/BillingBlockWrapper.tpl'}
</td>
</tr>
+
<div class="spacer"></div>
{/if}