Initial Commit
This commit is contained in:
58
inc/list-tables/customer-panel/class-invoice-list-table.php
Normal file
58
inc/list-tables/customer-panel/class-invoice-list-table.php
Normal file
@ -0,0 +1,58 @@
|
||||
<?php
|
||||
/**
|
||||
* Customers Payment List Table class.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage List_Table
|
||||
* @since 2.0.0
|
||||
*/
|
||||
|
||||
namespace WP_Ultimo\List_Tables\Customer_Panel;
|
||||
|
||||
// Exit if accessed directly
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
use WP_Ultimo\List_Tables\Payment_List_Table as Parent_Payment_List_Table;
|
||||
|
||||
/**
|
||||
* Payment List Table class.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
class Invoice_List_Table extends Parent_Payment_List_Table {
|
||||
|
||||
/**
|
||||
* Returns the list of columns for this particular List Table.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @return array
|
||||
*/
|
||||
public function get_columns() {
|
||||
|
||||
$columns = array(
|
||||
'hash' => __('Code', 'wp-ultimo'),
|
||||
'status' => __('Status', 'wp-ultimo'),
|
||||
'total' => __('Total', 'wp-ultimo'),
|
||||
'date_created' => __('Created at', 'wp-ultimo'),
|
||||
);
|
||||
|
||||
return $columns;
|
||||
|
||||
} // end get_columns;
|
||||
|
||||
/**
|
||||
* Clears the bulk actions.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @param string $which Top or bottom.
|
||||
* @return array
|
||||
*/
|
||||
public function bulk_actions($which = '') {
|
||||
|
||||
return array();
|
||||
|
||||
} // end bulk_actions;
|
||||
|
||||
} // end class Invoice_List_Table;
|
||||
|
Reference in New Issue
Block a user