<?xml version="1.0"?>
<t t-name="payment.no_pms_available_warning">
        <div class="alert alert-warning mt-2">
            <div>
                <strong>No payment method available</strong>
            </div>
            <div t-if="request.env.is_system()" class="mt-2">
                <p t-if="providers_sudo">
                    None is configured for:
                    <t t-out="request.env.company.country_id.name"/>,
                    <t t-out="request.env.company.currency_id.name"/>.
                </p>
                <p t-else="">
                    No payment providers are configured.
                </p>
                <a t-if="request.env.company.country_id.is_stripe_supported_country                           and not providers_sudo" name="activate_stripe" href="/odoo/action-payment.action_activate_stripe" role="button" class="btn btn-primary me-2"> ACTIVATE STRIPE </a>
                <a t-if="availability_report" role="button" class="btn-link alert-warning me-2" data-bs-toggle="collapse" href="#payment_availability_report">
                    <strong><i class="fa fa-file-text"/> Show availability report</strong>
                </a>
                <a t-if="not providers_sudo" role="button" type="action" class="btn-link alert-warning me-2" href="/odoo/action-payment.action_payment_provider">
                    <strong><i class="oi oi-arrow-right"/> Payment Providers</strong>
                </a>
                <a t-else="" role="button" type="action" class="btn-link alert-warning" href="/odoo/action-payment.action_payment_method">
                    <strong><i class="oi oi-arrow-right"/> Payment Methods</strong>
                </a>
            </div>
            <div t-else="" class="mt-2">
                If you believe that it is an error, please contact the website administrator.
            </div>
        </div>
        <!-- === Availability report === -->
        <t t-call="payment.availability_report"/>
    </t>

    