CRM-16109 - suppress fee section for waitlist and approval-required registration...
authorDave Greenberg <dave@civicrm.org>
Fri, 13 Mar 2015 23:57:17 +0000 (16:57 -0700)
committerDave Greenberg <dave@civicrm.org>
Fri, 13 Mar 2015 23:57:17 +0000 (16:57 -0700)
----------------------------------------
* CRM-16109: Confusing empty display of fees section during confirmation and thank-you for waitlisted and require-approval registrations
  https://issues.civicrm.org/jira/browse/CRM-16109

templates/CRM/Event/Form/Registration/Confirm.tpl
templates/CRM/Event/Form/Registration/ThankYou.tpl

index b4facff57eb649f6622c1bd645a5e5d004761dd7..5e68da00ddd77c4bb4ff90a71e13d373b7f84243 100644 (file)
     </div>
     {/if}
 
-    {if $paidEvent}
+    {if $paidEvent && !$isRequireApproval && !$isOnWaitlist}
         <div class="crm-group event_fees-group">
             <div class="header-dark">
                 {$event.fee_label}
index 5f3640664df8564f84f9228723aad6d0c339d479..9ad95259bab1b7e13dbd0e2a0ba75acbb3eb6369 100644 (file)
@@ -93,7 +93,7 @@
         </div>
     </div>
 
-    {if $paidEvent}
+    {if $paidEvent && !$isRequireApproval && !$isOnWaitlist}
         <div class="crm-group event_fees-group">
             <div class="header-dark">
                 {$event.fee_label}