Fixes display in payments.
authorStéphane Jacob <sj@m4x.org>
Mon, 28 Feb 2011 12:47:53 +0000 (13:47 +0100)
committerStéphane Jacob <sj@m4x.org>
Mon, 28 Feb 2011 12:47:53 +0000 (13:47 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
templates/xnetevents/index.tpl

index 21940e7..f08f09f 100644 (file)
 
       {if $e.topay}
       <span class="error">
-        {if !$e.paid}
+        {if $e.paid eq '0.00'}
         Tu dois payer {$e.topay|replace:'.':','}&nbsp;&euro;.
         {elseif $e.paid < $e.topay}
         Tu dois encore payer {math equation="a-b" a=$e.topay b=$e.paid|replace:'.':','}&nbsp;&euro;