[-] BO : fixed bug #PSTEST-640 - fixed bug on two float comparison

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13125 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
aFolletete
2012-02-08 14:03:58 +00:00
parent 4883a94187
commit 34c23ed3b5
@@ -221,7 +221,7 @@
<hr />
{/if}
<p class="error" style="{if $orders_total_paid_tax_incl == $total_paid || $currentState->id == 6}display: none;{/if}">
<p class="error" style="{if round($orders_total_paid_tax_incl, 2) == round($total_paid, 2) || $currentState->id == 6}display: none;{/if}">
{l s='Warning:'} {displayPrice price=$total_paid currency=$currency->id}
{l s='paid instead of'} <span class="total_paid">{displayPrice price=$order->total_paid_tax_incl currency=$currency->id}</span>
</p>