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

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="creditmemo_totals">
            <block class="Amasty\StoreCredit\Block\Total" name="amstorecredit" cacheable="false" after="-">
                <action method="setLabel">
                    <argument name="label" xsi:type="string">Store Credit Refunded</argument>
                </action>
                <action method="setStrong">
                    <argument name="strong" xsi:type="boolean">true</argument>
                </action>
                <action method="setMinus">
                    <argument name="minus" xsi:type="boolean">false</argument>
                </action>
                <action method="setAfter">
                    <argument name="after" xsi:type="string">grand_total</argument>
                </action>
            </block>
        </referenceBlock>
    </body>
</page>
