<?xml version="1.0" encoding="utf-8"?>
<templates>
    <div t-name="odex30_account_online_payment.RefreshButton" class="w-100 d-sm-contents">
        <div class="o_field_widget o_readonly_modifier o_field_char d-flex gap-2">
            <span class="w-25" t-esc="state.status"/>
            <t t-if="state.isFetching">
                <div>
                    <i class="fa fa-refresh fa-spin"/>
                </div>
            </t>
            <t t-else="">
                <div name="check_online_payment_status" t-on-click="onClickFetchStatus">
                    <i class="fa fa-refresh"/>
                </div>
            </t>
        </div>
    </div>
</templates>
