From e6df64a0620b6275bae74f26b96caceac6ac7865 Mon Sep 17 00:00:00 2001 From: larssandergreen Date: Sun, 4 Jun 2023 10:55:40 -0600 Subject: [PATCH] Show Event Info at bottom Registration confirm and show Fee Info above Payment --- .../CRM/Event/Form/Registration/Confirm.tpl | 94 +++++++++---------- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/templates/CRM/Event/Form/Registration/Confirm.tpl b/templates/CRM/Event/Form/Registration/Confirm.tpl index cdc539598d28..d96feedec1d2 100644 --- a/templates/CRM/Event/Form/Registration/Confirm.tpl +++ b/templates/CRM/Event/Form/Registration/Confirm.tpl @@ -46,6 +46,44 @@ {/if} + {if $paidEvent && !$isRequireApproval && !$isOnWaitlist} +
+
+ {$event.fee_label} +
+ {if $lineItem} + {include file="CRM/Price/Page/LineItem.tpl" context="Event"} + {elseif $amounts || $amount == 0} +
+ {foreach from= $amounts item=amount key=level} +
+ {$amount.amount|crmMoney}  {$amount.label} +
+
+ {/foreach} +
+ {if $totalTaxAmount} +
+
{ts}Total {$taxTerm} Amount{/ts}:  {$totalTaxAmount|crmMoney}
+
+
+ {/if} + {if $totalAmount} +
+
{ts}Total Amount{/ts}:  {$totalAmount|crmMoney}
+
+
+ {/if} + {if $hookDiscount.message} +
+ ({$hookDiscount.message}) +
+ {/if} + {/if} + +
+ {/if} + {if $showPaymentOnConfirm}
@@ -66,15 +104,6 @@
{/if} -
-
- {ts}Event Information{/ts} -
-
- {include file="CRM/Event/Form/Registration/EventInfoBlock.tpl"} -
-
- {if $pcpBlock && $pcp_display_in_roll}
@@ -97,44 +126,6 @@
{/if} - {if $paidEvent && !$isRequireApproval && !$isOnWaitlist} -
-
- {$event.fee_label} -
- {if $lineItem} - {include file="CRM/Price/Page/LineItem.tpl" context="Event"} - {elseif $amounts || $amount == 0} -
- {foreach from= $amounts item=amount key=level} -
- {$amount.amount|crmMoney}  {$amount.label} -
-
- {/foreach} -
- {if $totalTaxAmount} -
-
{ts}Total {$taxTerm} Amount{/ts}:  {$totalTaxAmount|crmMoney}
-
-
- {/if} - {if $totalAmount} -
-
{ts}Total Amount{/ts}:  {$totalAmount|crmMoney}
-
-
- {/if} - {if $hookDiscount.message} -
- ({$hookDiscount.message}) -
- {/if} - {/if} - -
- {/if} - {if $event.participant_role neq 'Attendee' and $defaultRole}
@@ -183,6 +174,15 @@ {/crmRegion} {/if} +
+
+ {ts}Event Information{/ts} +
+
+ {include file="CRM/Event/Form/Registration/EventInfoBlock.tpl"} +
+
+ {if $contributeMode NEQ 'notify'} {* In 'notify mode, contributor is taken to processor payment forms next *}