From: Stéphane Jacob Date: Mon, 28 Feb 2011 12:47:53 +0000 (+0100) Subject: Fixes display in payments. X-Git-Tag: xorg/1.1.0~100 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=fc54c8f818d961bae5706672a88b2be6858f3e71;p=platal.git Fixes display in payments. Signed-off-by: Stéphane Jacob --- diff --git a/templates/xnetevents/index.tpl b/templates/xnetevents/index.tpl index 21940e7..f08f09f 100644 --- a/templates/xnetevents/index.tpl +++ b/templates/xnetevents/index.tpl @@ -142,7 +142,7 @@ {if $e.topay} - {if !$e.paid} + {if $e.paid eq '0.00'} Tu dois payer {$e.topay|replace:'.':','} €. {elseif $e.paid < $e.topay} Tu dois encore payer {math equation="a-b" a=$e.topay b=$e.paid|replace:'.':','} €