X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Fcsv.tpl;h=1aab7e16b5c5abdfec3013ef307586704cec73ea;hb=839a80cf2662cc418335b3e92f255192e46793b0;hp=5eab45a855ec5bd45e257ef036aaf5490b6c8cd9;hpb=dba106f6966ee4b6917d1b75d5a042edc687d80f;p=platal.git diff --git a/templates/xnetevents/csv.tpl b/templates/xnetevents/csv.tpl index 5eab45a..1aab7e1 100644 --- a/templates/xnetevents/csv.tpl +++ b/templates/xnetevents/csv.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 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,14 +19,17 @@ {* 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} ; {/if} +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}