woocommerce/plugins/woocommerce-admin/client/analytics/report/mock-data.js

85 lines
1.6 KiB
JavaScript

/** @format */
export default {
totals: {
gross_revenue: 9476.0,
coupons: 504.0,
refunds: 145.0,
shipping: 990.0,
taxes: '663.32',
net_revenue: '7173.68',
order_count: 42.0,
},
intervals: [
{
week: [
{
'2018-W22': {
gross_revenue: 200.0,
coupons: 19.0,
refunds: 19.0,
shipping: 19.0,
taxes: '100.00',
net_revenue: '200.0',
order_count: 30.0,
},
'2018-W23': {
gross_revenue: 150.0,
coupons: 10.0,
refunds: 10.0,
shipping: 10.0,
taxes: '150.00',
net_revenue: '150.0',
order_count: 42.0,
},
'2018-W24': {
gross_revenue: 100.0,
coupons: 11.0,
refunds: 11.0,
shipping: 11.0,
taxes: '990.00',
net_revenue: '100.0',
order_count: 36.0,
},
'2018-W25': {
gross_revenue: 300.0,
coupons: 22.0,
refunds: 22.0,
shipping: 22.0,
taxes: '1000.00',
net_revenue: '300.0',
order_count: 28.0,
},
'2018-W26': {
gross_revenue: 250.0,
coupons: 16.0,
refunds: 16.0,
shipping: 16.0,
taxes: '663.32',
net_revenue: '250.0',
order_count: 39.0,
},
'2018-W27': {
gross_revenue: 400.0,
coupons: 18.0,
refunds: 18.0,
shipping: 18.0,
taxes: '663.32',
net_revenue: '400.0',
order_count: 40.0,
},
'2018-W28': {
gross_revenue: 350.0,
coupons: 10.0,
refunds: 10.0,
shipping: 10.0,
taxes: '663.32',
net_revenue: '350.0',
order_count: 29.0,
},
},
],
},
],
};