X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Fcsv.tpl;h=f05b1c087f04ba22e210ca6537ba4eaafdc9f5e0;hb=4d9b63f8ec02d84eabd554234a32718758bf9e21;hp=449f99a9282c6e31733e7a1237ba8683debe1172;hpb=5ddeb07cc787dd1dc3630a31f1528f5cc7c4d9b9;p=platal.git diff --git a/templates/xnetevents/csv.tpl b/templates/xnetevents/csv.tpl index 449f99a..f05b1c0 100644 --- a/templates/xnetevents/csv.tpl +++ b/templates/xnetevents/csv.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2010 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.user->lastName()};{$m.user->firstName()};{$m.user->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: *}