| @@ 975-984 (lines=10) @@ | ||
| 972 | ); | |
| 973 | } | |
| 974 | ||
| 975 | if ($primary_registration instanceof EE_Registration | |
| 976 |             && EEH_MSG_Template::is_mt_active('receipt') | |
| 977 |         ) { | |
| 978 | $actions['receipt'] = EEH_Template::get_button_or_link( | |
| 979 | $primary_registration->receipt_url(), | |
| 980 |                 esc_html__('View Receipt', 'event_espresso'), | |
| 981 | 'button secondary-button', | |
| 982 | 'dashicons dashicons-media-default' | |
| 983 | ); | |
| 984 | } | |
| 985 | ||
| 986 | if ($primary_registration instanceof EE_Registration | |
| 987 |             && EEH_MSG_Template::is_mt_active('invoice') | |
| @@ 986-995 (lines=10) @@ | ||
| 983 | ); | |
| 984 | } | |
| 985 | ||
| 986 | if ($primary_registration instanceof EE_Registration | |
| 987 |             && EEH_MSG_Template::is_mt_active('invoice') | |
| 988 |         ) { | |
| 989 | $actions['invoice'] = EEH_Template::get_button_or_link( | |
| 990 | $primary_registration->invoice_url(), | |
| 991 |                 esc_html__('View Invoice', 'event_espresso'), | |
| 992 | 'button secondary-button', | |
| 993 | 'dashicons dashicons-media-spreadsheet' | |
| 994 | ); | |
| 995 | } | |
| 996 | $actions = array_filter( | |
| 997 |             apply_filters('FHEE__Transactions_Admin_Page__getActionButtons__actions', $actions, $transaction) | |
| 998 | ); | |