{% extends admin.getTemplate('base_list_field') %}

{% block field %}
    {%- spaceless %}
        {% set datas = getSolidoumePrelevements(object.adherent) %}
        {% for data in datas|slice(0, 3) %}
            {{ data.montant}}€ ({{ data.createdAt|date('d/m') }})<br/>
        {% endfor %}
    {% endspaceless -%}
{% endblock %}
