X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Fcsv.tpl;h=1aab7e16b5c5abdfec3013ef307586704cec73ea;hb=7143ad2b35b4340435d83537504987851b9b8600;hp=c1e3fc1df115d2d42bf5237b53fd2c676b0aac7c;hpb=a7de4ef724d1a3b0bf978a50ce7cc9d23412c7a0;p=platal.git diff --git a/templates/xnetevents/csv.tpl b/templates/xnetevents/csv.tpl index c1e3fc1..1aab7e1 100644 --- a/templates/xnetevents/csv.tpl +++ b/templates/xnetevents/csv.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software, you can redistribute it and/or modify *} @@ -19,13 +19,15 @@ {* 59 Temple Place, Suite 330; Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} -Nom;Prénom;Promotion{if $tout}{foreach from=$moments item=m};{$m.titre}{/foreach}{if $admin && $money};À payer;Payé{/if}{else};Nombre{/if} +Nom;Prénom;Promotion{if $tout}{foreach from=$moments item=m};{$m.titre}{/foreach}{if $admin && $money};À payer;{if +$telepayment}Télépaiement;Liquide/Chèque;{/if}Payé{/if}{else};Nombre{/if} {if $participants} {foreach from=$participants item=m} ; -{$m.nom};{$m.prenom};{$m.promo}{if $tout}{foreach from=$moments item=i};{$m[$i.item_id]}{/foreach}{if $admin && $money};{$m.montant};{$m.paid}{/if}{else};{$m.nb}{/if} +{$m.nom};{$m.prenom};{$m.promo}{if $tout}{foreach from=$moments item=i};{$m[$i.item_id]}{/foreach}{if $admin && +$money};{$m.montant};{if $telepayment}{$m.telepayment};{$m.adminpaid};{/if}{$m.paid}{/if}{else};{$m.nb}{/if} {/foreach} ;