<?xml version="1.0"?>
<!--
/**
 * @author Amasty Team
 * @copyright Copyright (c) 2023 Amasty (https://www.amasty.com)
 * @package Store Credit & Refund for Magento 2
 */-->

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Sales:etc/sales.xsd">
    <section name="quote">
        <group name="totals">
            <item name="amstorecredit" instance="Amasty\StoreCredit\Model\Total\Quote\StoreCredit" sort_order="800"/>
        </group>
    </section>
    <section name="order_invoice">
        <group name="totals">
            <item name="amstorecredit" instance="Amasty\StoreCredit\Model\Total\Invoice\StoreCredit" sort_order="600"/>
        </group>
    </section>
    <section name="order_creditmemo">
        <group name="totals">
            <item name="amstorecredit" instance="Amasty\StoreCredit\Model\Total\CreditMemo\StoreCredit" sort_order="800"/>
        </group>
    </section>
</config>
