| @@ 931-940 (lines=10) @@ | ||
| 928 | : ''; |
|
| 929 | } |
|
| 930 | ||
| 931 | if ($primary_registration instanceof EE_Registration |
|
| 932 | && EEH_MSG_Template::is_mt_active('receipt') |
|
| 933 | ) { |
|
| 934 | $actions['receipt'] = EEH_Template::get_button_or_link( |
|
| 935 | $primary_registration->receipt_url(), |
|
| 936 | esc_html__('View Receipt', 'event_espresso'), |
|
| 937 | 'button secondary-button', |
|
| 938 | 'dashicons dashicons-media-default' |
|
| 939 | ); |
|
| 940 | } |
|
| 941 | ||
| 942 | if ($primary_registration instanceof EE_Registration |
|
| 943 | && EEH_MSG_Template::is_mt_active('invoice') |
|
| @@ 942-951 (lines=10) @@ | ||
| 939 | ); |
|
| 940 | } |
|
| 941 | ||
| 942 | if ($primary_registration instanceof EE_Registration |
|
| 943 | && EEH_MSG_Template::is_mt_active('invoice') |
|
| 944 | ) { |
|
| 945 | $actions['invoice'] = EEH_Template::get_button_or_link( |
|
| 946 | $primary_registration->invoice_url(), |
|
| 947 | esc_html__('View Invoice', 'event_espresso'), |
|
| 948 | 'button secondary-button', |
|
| 949 | 'dashicons dashicons-media-spreadsheet' |
|
| 950 | ); |
|
| 951 | } |
|
| 952 | $actions = array_filter( |
|
| 953 | apply_filters('FHEE__Transactions_Admin_Page__getActionButtons__actions', $actions, $transaction) |
|
| 954 | ); |
|