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

128 lines
2.7 KiB
JavaScript
Raw Normal View History

/** @format */
export default {
totals: {
gross_revenue: 9476.0,
coupons: 504.0,
refunds: 145.0,
shipping: 990.0,
taxes: '663.32',
net_revenue: '7173.68',
orders_count: 42.0,
},
intervals: [
{
interval: 'day',
date_start: '2018-04-29T00:00:00',
date_start_gmt: '2018-04-29T00:00:00',
date_end: '2018-04-30T00:00:00',
date_end_gmt: '2018-04-30T00:00:00',
subtotals: {
gross_revenue: 200.0,
coupons: 19.0,
refunds: 19.0,
shipping: 19.0,
taxes: '100.00',
net_revenue: '200.0',
orders_count: 30.0,
},
},
{
interval: 'day',
date_start: '2018-04-30T00:00:00',
date_start_gmt: '2018-04-30T00:00:00',
date_end: '2018-05-01T00:00:00',
date_end_gmt: '2018-05-01T00:00:00',
subtotals: {
gross_revenue: 150.0,
coupons: 10.0,
refunds: 10.0,
shipping: 10.0,
taxes: '150.00',
net_revenue: '150.0',
orders_count: 42.0,
},
},
{
interval: 'day',
date_start: '2018-05-01T00:00:00',
date_start_gmt: '2018-05-01T00:00:00',
date_end: '2018-05-02T00:00:00',
date_end_gmt: '2018-05-02T00:00:00',
subtotals: {
gross_revenue: 100.0,
coupons: 11.0,
refunds: 11.0,
shipping: 11.0,
taxes: '990.00',
net_revenue: '100.0',
orders_count: 36.0,
},
},
{
interval: 'day',
date_start: '2018-05-02T00:00:00',
date_start_gmt: '2018-05-02T00:00:00',
date_end: '2018-05-03T00:00:00',
date_end_gmt: '2018-05-03T00:00:00',
subtotals: {
gross_revenue: 300.0,
coupons: 22.0,
refunds: 22.0,
shipping: 22.0,
taxes: '1000.00',
net_revenue: '300.0',
orders_count: 28.0,
},
},
{
interval: 'day',
date_start: '2018-05-03T00:00:00',
date_start_gmt: '2018-05-03T00:00:00',
date_end: '2018-05-04T00:00:00',
date_end_gmt: '2018-05-04T00:00:00',
subtotals: {
gross_revenue: 250.0,
coupons: 16.0,
refunds: 16.0,
shipping: 16.0,
taxes: '663.32',
net_revenue: '250.0',
orders_count: 39.0,
},
},
{
interval: 'day',
date_start: '2018-05-04T00:00:00',
date_start_gmt: '2018-05-04T00:00:00',
date_end: '2018-05-05T00:00:00',
date_end_gmt: '2018-05-05T00:00:00',
subtotals: {
gross_revenue: 400.0,
coupons: 18.0,
refunds: 18.0,
shipping: 18.0,
taxes: '663.32',
net_revenue: '400.0',
orders_count: 40.0,
},
},
{
interval: 'day',
date_start: '2018-05-05T00:00:00',
date_start_gmt: '2018-05-05T00:00:00',
date_end: '2018-05-06T00:00:00',
date_end_gmt: '2018-05-06T00:00:00',
subtotals: {
gross_revenue: 350.0,
coupons: 10.0,
refunds: 10.0,
shipping: 10.0,
taxes: '663.32',
net_revenue: '350.0',
orders_count: 29.0,
},
},
],
};