NULL,
$recentOther
);
+
+ $participantID = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_ParticipantPayment',
+ $values['id'], 'participant_id', 'contribution_id'
+ );
+ $this->assign('contactId', $values['contact_id']);
+ $this->assign('hasPayment', $values['id']);
+ $this->assign('participantId', $participantID);
}
/**
<td>{$thankyou_date|crmDate}</td>
</tr>
{/if}
+ {if $participantId and $hasPayment}
+ <tr>
+ <td class='label'>{ts}Fees{/ts}</td>
+ <td id='payment-info'></td>
+ </tr>
+ {/if}
</table>
{if count($softContributions)} {* We show soft credit name with PCP section if contribution is linked to a PCP. *}
</div>
</fieldset>
{/if}
+{if $participantId and $hasPayment}
+ {include file="CRM/Contribute/Page/PaymentInfo.tpl" show='event-payment'}
+{/if}
<div class="crm-submit-buttons">
{if (call_user_func(array('CRM_Core_Permission','check'), 'edit contributions') && call_user_func(array('CRM_Core_Permission', 'check'), "edit contributions of type $financial_type") && $canEdit) ||