{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* View existing event registration record. *}
{if $participant_registered_by_id} {* Display primary participant *} {/if} {if $additionalParticipants} {* Display others registered by this participant *} {/if} {if $campaign} {/if} {if $source} {/if} {if $participantId and $hasPayment} {/if} {if $fee_level} {if $lineItem} {else} {/if} {/if} {foreach from=$note item="rec"} {if $rec } {/if} {/foreach}
{ts}Participant Name{/ts} {$displayName}
{ts}Registered By{/ts} {$registered_by_display_name}
{ts}Also Registered by this Participant{/ts} {foreach from=$additionalParticipants key=apName item=apURL} {$apName}
{/foreach}
{ts}Event{/ts} {$event}
{ts}Campaign{/ts} {$campaign}
{ts}Participant Role{/ts} {$role}
{ts}Registration Date and Time{/ts} {$register_date|crmDate} 
{ts}Status{/ts}{$status}  {if $transferName} {ts}(Transferred to {$transferName}){/ts} {/if}
{ts}Event Source{/ts}{$source} 
{ts}Fees{/ts}
{ts}Selections{/ts} {include file="CRM/Price/Page/LineItem.tpl" context="Event"} {if call_user_func(array('CRM_Core_Permission','check'), 'edit event participants')} {if $hasPayment or $parentHasPayment} {ts}Change Selections{/ts} {/if} {if $transferOrCancelLink} {ts}Transfer or Cancel{/ts} {/if} {/if} {ts}Event Level{/ts} {$fee_level} {if $fee_amount}- {$fee_amount|crmMoney:$fee_currency}{/if}
{ts}Note{/ts}{$rec|nl2br}
{if $participantId and $hasPayment} {include file="CRM/Contribute/Page/PaymentInfo.tpl" show='payments'} {/if} {include file="CRM/Custom/Page/CustomDataView.tpl"} {if $accessContribution and $rows.0.contribution_id} {include file="CRM/Contribute/Form/Selector.tpl" context="Search"} {/if}
{if call_user_func(array('CRM_Core_Permission','check'), 'edit event participants')} {assign var='urlParams' value="reset=1&id=$id&cid=$contact_id&action=update&context=$context&selectedChild=event"} {if ( $context eq 'fulltext' || $context eq 'search' ) && $searchKey} {assign var='urlParams' value="reset=1&id=$id&cid=$contact_id&action=update&context=$context&selectedChild=event&key=$searchKey"} {/if} {ts}Edit{/ts} {/if} {if call_user_func(array('CRM_Core_Permission','check'), 'delete in CiviEvent')} {assign var='urlParams' value="reset=1&id=$id&cid=$contact_id&action=delete&context=$context&selectedChild=event"} {if ( $context eq 'fulltext' || $context eq 'search' ) && $searchKey} {assign var='urlParams' value="reset=1&id=$id&cid=$contact_id&action=delete&context=$context&selectedChild=event&key=$searchKey"} {/if} {ts}Delete{/ts} {/if} {include file="CRM/common/formButtons.tpl" location="bottom"}