<?xml version="1.0"?>
<!--
/**
 * @author Amasty Team
 * @copyright Copyright (c) Amasty (https://www.amasty.com)
 * @package Advanced Reports Base for Magento 2
 */-->

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <update handle="amasty_reports_general_layout"/>
    <body>
        <attribute name="class" value="amreports-other-pages"/>
        <attribute name="class" value="amreports-customers-container"/>
        <referenceContainer name="amreports.container">
            <block class="Amasty\Reports\Block\Adminhtml\Report\Sales\OrderItems\Toolbar"
                   template="Amasty_Reports::report/header.phtml"
                   name="amreports.report.header"
            />
            <container name="amreports.container.content" htmlTag="div" htmlClass="amreports-container-content">
                <block class="Amasty\Reports\Block\Adminhtml\Report\Customers\Abandoned\Toolbar"
                       template="Amasty_Reports::report/toolbar.phtml"
                       name="amreports.report.toolbar" />

                <block class="Amasty\Reports\Block\Adminhtml\Report\Chart"
                       template="Amasty_Reports::report/customers/abandoned.phtml"
                       name="amreports.report.content">
                    <arguments>
                        <argument name="collection" xsi:type="object">\Amasty\Reports\Model\ResourceModel\Abandoned\Cart\Grid\Collection</argument>
                    </arguments>
                </block>
                <uiComponent name="amasty_report_customers_abandoned_listing" />
            </container>
            <block class="Amasty\Reports\Block\Adminhtml\Report\Customers\Abandoned\Information"
                   template="Amasty_Reports::report/customers/abandoned/advertising.phtml"
                   name="amreports.report.advertising"/>
        </referenceContainer>
    </body>
</page>
