<?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/pdf_file.xsd">
    <totals>
        <total name="store_credit">
            <title translate="true">Store Credit</title>
            <source_field>amstorecredit_amount</source_field>
            <font_size>7</font_size>
            <display_zero>false</display_zero>
            <amount_prefix>-</amount_prefix>
            <sort_order>650</sort_order>
        </total>
        <total name="store_credit_redunded">
            <title translate="true">Store Credit Total Refunded</title>
            <source_field>amstorecredit_refunded_amount</source_field>
            <font_size>7</font_size>
            <display_zero>false</display_zero>
            <sort_order>650</sort_order>
        </total>
    </totals>
</config>
