Simplify billingblock in Contribution/Form/Main template
authorMatthew Wire (MJW Consulting) <mjw@mjwconsult.co.uk>
Fri, 11 Jan 2019 18:44:56 +0000 (18:44 +0000)
committerMatthew Wire (MJW Consulting) <mjw@mjwconsult.co.uk>
Fri, 11 Jan 2019 18:44:56 +0000 (18:44 +0000)
templates/CRM/Contribute/Form/Contribution/Main.tpl

index 6ed6c20fd0d23c4b21d95a71537a87ad196b63e7..2ac32e12774e46cd8f8e9dec4103d38d7a7e683d 100644 (file)
   </fieldset>
   {/if}
 
-  <div id="billing-payment-block">
-    {include file="CRM/Financial/Form/Payment.tpl" snippet=4}
-  </div>
-  {include file="CRM/common/paymentBlock.tpl"}
+  {include file="CRM/Core/BillingBlockWrapper.tpl"}
 
   <div class="crm-public-form-item crm-group custom_post_profile-group">
   {include file="CRM/UF/Form/Block.tpl" fields=$customPost}