2018-09-17 02:26:34 +00:00
|
|
|
/** @format */
|
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
|
|
|
import { Component, Fragment } from '@wordpress/element';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Internal dependencies
|
|
|
|
*/
|
|
|
|
import { filters } from './config';
|
2018-11-16 03:35:10 +00:00
|
|
|
import CouponsReportTable from './table';
|
2018-09-17 02:26:34 +00:00
|
|
|
import { ReportFilters } from '@woocommerce/components';
|
|
|
|
|
|
|
|
export default class extends Component {
|
|
|
|
render() {
|
|
|
|
const { query, path } = this.props;
|
|
|
|
|
|
|
|
return (
|
|
|
|
<Fragment>
|
|
|
|
<ReportFilters query={ query } path={ path } filters={ filters } />
|
2018-11-16 03:35:10 +00:00
|
|
|
<CouponsReportTable query={ query } />
|
2018-09-17 02:26:34 +00:00
|
|
|
</Fragment>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|