From fc54c8f818d961bae5706672a88b2be6858f3e71 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Mon, 28 Feb 2011 13:47:53 +0100 Subject: [PATCH] Fixes display in payments. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- templates/xnetevents/index.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:'.':','} € -- 2.1.4