{**************************************************************************} {* *} {* Copyright (C) 2003-2014 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} {* it under the terms of the GNU General Public License as published by *} {* the Free Software Foundation; either version 2 of the License, or *} {* (at your option) any later version. *} {* *} {* This program is distributed in the hope that it will be useful, *} {* but WITHOUT ANY WARRANTY; without even the implied warranty of *} {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *} {* GNU General Public License for more details. *} {* *} {* You should have received a copy of the GNU General Public License *} {* along with this program; if not, write to the Free Software *} {* Foundation, Inc., *} {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************}

{$asso->nom} : Evénement {$event.intitule}

[Revenir à la liste des événements]

{assign var=profile value=$event.organizer->profile()} Cet événement a lieu {$event.date} et a été proposé par {$event.organizer->fullName('promo')} .

{$event.descriptif|nl2br}

{if $is_admin || $event.show_participants}

Tu peux consulter la liste des participants {icon name=group title="Liste des participants"} déjà inscrits.

{/if}
{xsrf_token_field} {foreach from=$moments key=item_id item=m} {if $m.details} {/if} {/foreach}
{$m.titre} ({$m.montant} €)
{$m.details|nl2br}
{if $event.inscr_open} {assign var=nb value=$subs.$item_id.nb}
{if $event.noinvite} {else} {/if} {else} {if !$nb} Je ne viendrai pas. {else} J'ai inscrit {$nb} personne{if $nb > 1}s{/if}. {/if} {/if}
À payer
{if $topay}
{if $paid eq 0} Tu dois payer {$topay|replace:'.':','} €. {elseif $paid < $topay} Tu dois encore payer {math equation="a-b" a=$topay b=$paid|replace:'.':','} € (tu as déjà payé {$paid|replace:'.':','} €). {else} Tu as déjà payé {$paid|replace:'.':','} € pour ton inscription. {/if}
{if $event.paiement_id && $paid < $topay} {icon name=money} Payer en ligne {elseif $validation && $paid < $topay}
Le télépaiement pour cet événement est en instance de validation :
{/if}
{else} Rien à payer {if $paid > 0} (tu as déjà payé {$paid|replace:'.':','} €). {/if}. {/if}

{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}