<div class="bubble-container is-third">
<div class="bloc-icon">
<img src="{{ asset('build/img/picto-bienvenue.png') }}"></img>
</div>
<div class="titreBubble">
<p class="center mtm ralewayBold">{{ 'bienvenue.remiseBienvenue' |trans }}</p>
</div>
<div class="bubble">
{% if client.dateDernierChqBvnu is empty or client.dateFinValiditeDernierChequeBvnu < date("now")%}
{{ 'bienvenue.aucunCheque'|trans }}
{% else %}
<span class="black">{{ 'bienvenue.dernierChequeEmisLe'|trans }}</span> <span class="isGrey"> {{ client.dateDernierChequeBvnu|date("d/m/Y") }}</span><br>
<span class="black">{{ 'avantage.dUnMontantDe'|trans }}</span>
{% if getParam('remise.bienvenue.pourcentageAllow') %}
{% if client.montantDernierChequeBvnu > 0 %}
<span class="isGrey">5{{ client.montantDernierChequeBvnu }}€</span>
{% else %}
{% if client.pourcentageDernierChequeBvnu > 0 %}
<span class="isGrey">-{{ client.pourcentageDernierChequeBvnu }}%</span>
{% else %}
<span class="isGrey">5{{ client.montantDernierChequeBvnu }}€</span>
{% endif %}
{% endif %}
{% else %}
<span class="isGrey">5{{ client.montantDernierChequeBvnu }}€</span>
{% endif %}
<br><span style="white-space:nowrap;" class="isGrey">(N°{{ client.noDernierChequeBvnu }})</span><br>
{% if client.dateFinValiditeDernierChequeBvnu %}
<span class="black">{{ 'avantage.dateDeValidite'|trans }}</span><br><span class="isGrey"> {{ client.dateFinValiditeDernierChequeBvnu|date("d/m/Y") }}</span>
{% endif %}
{% if client.dateEncasDernierChequeBvnu is empty %}
{% if
getParam('remise.bienvenue.telechargement') and (
not client.dateFinValiditeDernierChequeBvnu
or client.dateFinValiditeDernierChequeBvnu > date("now")
)
%}
<br>
<a target="_blank" href="{{ path("generateECheque",{'anniv': 'false', 'bienvenue':'true'} ) }}" class="btn btn-default btn-telecharger ralewayBold"><span class="glyphicon glyphicon-download-alt"> </span>{{ 'anniversaire.telechargerMonCheque'|trans }}</a>
{% endif %}
{% else %}
<span class="ralewayBold offreUtilisee">{{ 'avantage.encaisseLe'|trans }} {{ client.dateEncasDernierChequeBvnu|date("d/m/Y") }}</span><br><br>
{% endif %}
{% endif %}
</div>
</div>