{% extends '@LcSov/adminlte/crud/index.html.twig' %}

{% block content_title %}
    {{ 'index'|sov_trans_admin_title(ea.getEntity().getFqcn()) }}
    <br/>
    {{ user_merchant.user }}

{% endblock %}

{% block global_actions %}
    {{ parent() }}
    {% import 'admin/user/macro/user.html.twig' as user_macros %}
    {{ user_macros.write_to_user_button(user_merchant.user) }}
{% endblock %}

{% block page_actions %}
    {{ parent() }}
    <h4>Créduit actuel : {{ user_merchant.credit|format_price|raw }}</h4>
{% endblock %}