Vars in report classes Closes #4720
This commit is contained in:
parent
1ad409b36e
commit
944327edfb
|
@ -17,6 +17,10 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|||
*/
|
||||
class WC_Admin_Report {
|
||||
|
||||
public $chart_interval;
|
||||
public $group_by_query;
|
||||
public $barwidth;
|
||||
public $chart_groupby;
|
||||
public $start_date;
|
||||
public $end_date;
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*/
|
||||
class WC_Report_Coupon_Usage extends WC_Admin_Report {
|
||||
|
||||
public $chart_colours = array();
|
||||
public $coupon_codes = array();
|
||||
|
||||
/**
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
*/
|
||||
class WC_Report_Customers extends WC_Admin_Report {
|
||||
|
||||
public $chart_colours = array();
|
||||
|
||||
/**
|
||||
* Get the legend for the main chart sidebar
|
||||
* @return array
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*/
|
||||
class WC_Report_Sales_By_Category extends WC_Admin_Report {
|
||||
|
||||
public $chart_colours = array();
|
||||
public $show_categories = array();
|
||||
|
||||
/**
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
*/
|
||||
class WC_Report_Sales_By_Date extends WC_Admin_Report {
|
||||
|
||||
public $chart_colours = array();
|
||||
|
||||
/**
|
||||
* Get the legend for the main chart sidebar
|
||||
* @return array
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*/
|
||||
class WC_Report_Sales_By_Product extends WC_Admin_Report {
|
||||
|
||||
public $chart_colours = array();
|
||||
public $product_ids = array();
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue