|
@@ 994-1003 (lines=10) @@
|
| 991 |
|
); |
| 992 |
|
} |
| 993 |
|
|
| 994 |
|
if ($primary_registration instanceof EE_Registration |
| 995 |
|
&& EEH_MSG_Template::is_mt_active('receipt') |
| 996 |
|
) { |
| 997 |
|
$actions['receipt'] = EEH_Template::get_button_or_link( |
| 998 |
|
$primary_registration->receipt_url(), |
| 999 |
|
esc_html__('View Receipt', 'event_espresso'), |
| 1000 |
|
'button secondary-button', |
| 1001 |
|
'dashicons dashicons-media-default' |
| 1002 |
|
); |
| 1003 |
|
} |
| 1004 |
|
|
| 1005 |
|
if ($primary_registration instanceof EE_Registration |
| 1006 |
|
&& EEH_MSG_Template::is_mt_active('invoice') |
|
@@ 1005-1014 (lines=10) @@
|
| 1002 |
|
); |
| 1003 |
|
} |
| 1004 |
|
|
| 1005 |
|
if ($primary_registration instanceof EE_Registration |
| 1006 |
|
&& EEH_MSG_Template::is_mt_active('invoice') |
| 1007 |
|
) { |
| 1008 |
|
$actions['invoice'] = EEH_Template::get_button_or_link( |
| 1009 |
|
$primary_registration->invoice_url(), |
| 1010 |
|
esc_html__('View Invoice', 'event_espresso'), |
| 1011 |
|
'button secondary-button', |
| 1012 |
|
'dashicons dashicons-media-spreadsheet' |
| 1013 |
|
); |
| 1014 |
|
} |
| 1015 |
|
$actions = array_filter( |
| 1016 |
|
apply_filters('FHEE__Transactions_Admin_Page__getActionButtons__actions', $actions, $transaction) |
| 1017 |
|
); |