| @@ -108,9 +108,9 @@ | ||
| 108 | 108 | /** |
| 109 | 109 | * @return void |
| 110 | 110 | */ |
| 111 | 111 | public function no_items() { |
| 112 | - esc_html_e( 'No payments found.', 'formidable' ); | |
| 112 | + include FrmTransLiteAppHelper::plugin_path() . '/views/lists/no-payments.php'; | |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | /** |
| 116 | 116 | * @return array |
| @@ -172,8 +172,9 @@ | ||
| 172 | 172 | 'receipt_id' => 'receipt_id', |
| 173 | 173 | 'sub_id' => 'sub_id', |
| 174 | 174 | 'begin_date' => 'begin_date', |
| 175 | 175 | 'expire_date' => 'expire_date', |
| 176 | + 'paysys' => 'paysys', | |
| 176 | 177 | 'status' => 'status', |
| 177 | 178 | 'next_bill_date' => 'next_bill_date', |
| 178 | 179 | ); |
| 179 | 180 | } |
| @@ -620,15 +621,8 @@ | ||
| 620 | 621 | */ |
| 621 | 622 | private function get_paysys_column( $item, $atts ) { |
| 622 | 623 | if ( isset( $atts['gateways'][ $item->paysys ] ) ) { |
| 623 | 624 | return $atts['gateways'][ $item->paysys ]['label']; |
| 624 | - } | |
| 625 | - | |
| 626 | - if ( 'paypal' === $item->paysys ) { | |
| 627 | - // The PayPal add-on does not use a gateway. | |
| 628 | - // This should be safe to remove once we release | |
| 629 | - // PayPal Commerce in Lite. | |
| 630 | - return 'PayPal'; | |
| 631 | 625 | } |
| 632 | 626 | |
| 633 | 627 | return $item->paysys; |
| 634 | 628 | } |