+ if ($statusTypes[$row['participant_status_id']] == 'Pending refund') {
+ $links[CRM_Core_Action::ADD] = array(
+ 'name' => ts('Record Refund'),
+ 'url' => 'civicrm/payment',
+ 'qs' => 'reset=1&id=%%id%%&cid=%%cid%%&action=add&component=event',
+ 'title' => ts('Record Refund'),
+ );
+ }
+