2018-11-12 16:27:19 +00:00
|
|
|
/** @format */
|
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
|
|
|
import { __ } from '@wordpress/i18n';
|
|
|
|
|
|
|
|
export const charts = [
|
|
|
|
{
|
|
|
|
key: 'gross_revenue',
|
|
|
|
label: __( 'Gross Revenue', 'wc-admin' ),
|
2019-02-15 10:54:41 +00:00
|
|
|
order: 'desc',
|
|
|
|
orderby: 'gross_revenue',
|
2018-11-12 16:27:19 +00:00
|
|
|
type: 'currency',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
key: 'refunds',
|
|
|
|
label: __( 'Refunds', 'wc-admin' ),
|
2019-02-15 10:54:41 +00:00
|
|
|
order: 'desc',
|
|
|
|
orderby: 'refunds',
|
2018-11-12 16:27:19 +00:00
|
|
|
type: 'currency',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
key: 'coupons',
|
|
|
|
label: __( 'Coupons', 'wc-admin' ),
|
2019-02-15 10:54:41 +00:00
|
|
|
order: 'desc',
|
|
|
|
orderby: 'coupons',
|
2018-11-12 16:27:19 +00:00
|
|
|
type: 'currency',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
key: 'taxes',
|
|
|
|
label: __( 'Taxes', 'wc-admin' ),
|
2019-02-15 10:54:41 +00:00
|
|
|
order: 'desc',
|
|
|
|
orderby: 'taxes',
|
2018-11-12 16:27:19 +00:00
|
|
|
type: 'currency',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
key: 'shipping',
|
|
|
|
label: __( 'Shipping', 'wc-admin' ),
|
2019-02-15 10:54:41 +00:00
|
|
|
orderby: 'shipping',
|
2018-11-12 16:27:19 +00:00
|
|
|
type: 'currency',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
key: 'net_revenue',
|
|
|
|
label: __( 'Net Revenue', 'wc-admin' ),
|
2019-02-15 10:54:41 +00:00
|
|
|
orderby: 'net_revenue',
|
2018-11-12 16:27:19 +00:00
|
|
|
type: 'currency',
|
|
|
|
},
|
|
|
|
];
|