<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <update handle="customer_account"/>
    <update handle="rewards_account_info_links"/>
    <move element="page.main.title" destination="rewards.account.list" as="rewards.page.main.title"/>
    <body>
        <referenceContainer name="content">
            <block name="rewards.tiers" class="Mirasvit\RewardsCustomerAccount\Block\Account\Tiers" template="account/tiers.phtml" before="links"/>
            <block name="rewards.account.list" class="Mirasvit\RewardsCustomerAccount\Block\Account\Listing" template="account/history.phtml" cacheable="false">
                <block class="Mirasvit\RewardsCustomerAccount\Block\Account\Listing\PendingTransactions"
                    name="rewards.customer.pending_transactions"
                    ifconfig="rewards/display_options/is_show_pending_transactions"
                    template="account/list/pending_transactions.phtml">
                </block>
                <block class="Mirasvit\RewardsCustomerAccount\Block\Account\Listing\ActiveTransactions"
                    name="rewards.customer.active_transactions"
                    template="account/list/active_transactions.phtml">
                </block>
                <block class="Mirasvit\RewardsCustomerAccount\Block\Account\Listing\InactiveTransactions"
                    name="rewards.customer.inactive_transactions"
                    template="account/list/inactive_transactions.phtml">
                </block>
            </block>
        </referenceContainer>
    </body>
</page>
