{if $ev.topay > $ev.paid}
<a href="{$platal->ns}payment/{$p.id}?montant={math equation="a-b" a=$ev.topay b=$ev.paid}">
Tu dois encore payer {math equation="a-b" a=$ev.topay b=$ev.paid}€
</a>
{elseif $ev.topay eq $ev.paid}
{if $ev.topay > $ev.paid}
<a href="{$platal->ns}payment/{$p.id}?montant={math equation="a-b" a=$ev.topay b=$ev.paid}">
Tu dois encore payer {math equation="a-b" a=$ev.topay b=$ev.paid}€
</a>
{elseif $ev.topay eq $ev.paid}
<table cellpadding="0" cellspacing="0" id="list_{$p.id}" class='bicol'>
<tr>
<th>
{if $order eq 'timestamp'}
<a href='{$platal->ns}payment?order={$order}&order_inv={$order_inv}'>
<table cellpadding="0" cellspacing="0" id="list_{$p.id}" class='bicol'>
<tr>
<th>
{if $order eq 'timestamp'}
<a href='{$platal->ns}payment?order={$order}&order_inv={$order_inv}'>