Analytics: Change Refunds to Returns (https://github.com/woocommerce/woocommerce-admin/pull/3514)
* Change Refunds to Returns * Also rename the chart * Rename dashboard chart
This commit is contained in:
parent
4a969a6fd1
commit
41986bd8f0
|
@ -54,7 +54,7 @@ const defaultCharts = [
|
|||
key: 'items_sold',
|
||||
},
|
||||
{
|
||||
label: __( 'Refunds', 'woocommerce-admin' ),
|
||||
label: __( 'Returns', 'woocommerce-admin' ),
|
||||
report: 'revenue',
|
||||
key: 'refunds',
|
||||
},
|
||||
|
|
|
@ -211,8 +211,8 @@ class Controller extends \WC_REST_Reports_Controller implements ExportableInterf
|
|||
'format' => 'currency',
|
||||
),
|
||||
'refunds' => array(
|
||||
'title' => __( 'Refunds', 'woocommerce-admin' ),
|
||||
'description' => __( 'Total of refunds.', 'woocommerce-admin' ),
|
||||
'title' => __( 'Returns', 'woocommerce-admin' ),
|
||||
'description' => __( 'Total of returns.', 'woocommerce-admin' ),
|
||||
'type' => 'number',
|
||||
'context' => array( 'view', 'edit' ),
|
||||
'readonly' => true,
|
||||
|
@ -450,7 +450,7 @@ class Controller extends \WC_REST_Reports_Controller implements ExportableInterf
|
|||
'date' => __( 'Date', 'woocommerce-admin' ),
|
||||
'orders_count' => __( 'Orders', 'woocommerce-admin' ),
|
||||
'total_sales' => __( 'Total Sales', 'woocommerce-admin' ),
|
||||
'refunds' => __( 'Refunds', 'woocommerce-admin' ),
|
||||
'refunds' => __( 'Returns', 'woocommerce-admin' ),
|
||||
'coupons' => __( 'Coupons', 'woocommerce-admin' ),
|
||||
'taxes' => __( 'Taxes', 'woocommerce-admin' ),
|
||||
'shipping' => __( 'Shipping', 'woocommerce-admin' ),
|
||||
|
|
Loading…
Reference in New Issue