CRM-16189, added link on contribution edit form to record payment for pending pay...
[civicrm-core.git] / CRM / Event / Form / ParticipantView.php
index ee52b4b3c747bae5647cc70bb83b7772ff6bef10..45ac7a1a6c97a1325d8b86d6a24de614a89650d7 100644 (file)
@@ -74,6 +74,8 @@ class CRM_Event_Form_ParticipantView extends CRM_Core_Form {
       $participantID, 'id', 'participant_id'
     );
     $this->assign('hasPayment', $paymentId);
+    $this->assign('componentId', $participantID);
+    $this->assign('component', 'event');
 
     if ($parentParticipantId = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Participant',
       $participantID, 'registered_by_id'