Commit 30bb05be by Julien Jorry

Admin adherent list : fix user cotisation valid or not

parent 1a499c6e
{% extends admin.getTemplate('base_list_field') %}
{% block field %}
{%- spaceless %}
{% set cotisEnd = isCotisationValid(object.user) %}
{% set cotisEnd = isCotisationValidForAdherent(object.user.adherent) %}
{% if false != cotisEnd %}
{% set text = cotisEnd|date('d/m/Y') %}
{% set class = 'label-success' %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment