Skip to content

Commit

Permalink
Simplify logic for displaying card details for Confirm and Thank you …
Browse files Browse the repository at this point in the history
…page
  • Loading branch information
eileenmcnaughton committed Oct 18, 2019
1 parent 1b6e799 commit a5002ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/CRM/Event/Form/Registration/Confirm.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
</div>
{/if}

{if $contributeMode eq 'direct' and ! $is_pay_later and !$isAmountzero and !$isOnWaitlist and !$isRequireApproval}
{if $credit_card_type}
{crmRegion name="event-confirm-billing-block"}
<div class="crm-group credit_card-group">
<div class="header-dark">
Expand Down
2 changes: 1 addition & 1 deletion templates/CRM/Event/Form/Registration/ThankYou.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
</div>
{/if}

{if $contributeMode eq 'direct' and $paidEvent and ! $is_pay_later and !$isAmountzero and !$isOnWaitlist and !$isRequireApproval}
{if $credit_card_type}
{crmRegion name="event-thankyou-billing-block"}
<div class="crm-group credit_card-group">
<div class="header-dark">
Expand Down

0 comments on commit a5002ae

Please sign in to comment.