<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
    <system>
        <section id="payment">
            <group id="paypo">
                <field id="approval_statuses" translate="label comment" type="multiselect" sortOrder="35"
                       showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Order statuses eligible for payment approval</label>
                    <source_model>Autogedal\PayPo\Model\Config\Source\ApprovalStatuses</source_model>
                    <can_be_empty>1</can_be_empty>
                    <comment>Only orders in these statuses can return to NOUA after PayPo approval. Select only statuses before warehouse processing. An empty selection disables this status transition.</comment>
                </field>
            </group>
        </section>
    </system>
</config>
