CRM-18489 suppress billing block if waitlist
authorBrian Shaughnessy <brian@lcdservices.biz>
Mon, 2 May 2016 15:11:11 +0000 (11:11 -0400)
committerBrian Shaughnessy <brian@lcdservices.biz>
Mon, 2 May 2016 15:11:11 +0000 (11:11 -0400)
templates/CRM/Event/Form/Registration/Register.tpl

index 428d7072f6379aa62bd35708d023f97f51c34df6..c0b8e534a9802d6264de72317e969d9eb49c0425 100644 (file)
       </fieldset>
     {/if}
 
-    {include file='CRM/Core/BillingBlockWrapper.tpl'}
+    {if $priceSet}
+      {include file='CRM/Core/BillingBlockWrapper.tpl'}
+    {/if}
 
     <div class="crm-public-form-item crm-section custom_pre-section">
       {include file="CRM/UF/Form/Block.tpl" fields=$customPost}