{* +--------------------------------------------------------------------+ | CiviCRM version 4.5 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* View existing event registration record. *}

{ts}View Participant{/ts}

{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} 
{ts}Event Source{/ts}{$source} 
{ts}Fees{/ts}
{ts}Selections{/ts} {include file="CRM/Price/Page/LineItem.tpl" context="Event"} {if $hasPayment or $parentHasPayment}
{ts}Change Selections{/ts}
{/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='event-payment'} {/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"}