[*] LO : Fixed a few bugs with currency formats in Back-Office orders

This commit is contained in:
djfm
2013-10-14 09:30:45 +00:00
parent f9cfde9a05
commit 5e407db21e
4 changed files with 6 additions and 4 deletions
@@ -551,6 +551,8 @@ class AdminCartsControllerCore extends AdminController
if (count($summary['products']))
foreach ($summary['products'] as &$product)
{
$product['numeric_price'] = $product['price'];
$product['numeric_total'] = $product['total'];
$product['price'] = str_replace($currency->sign, '', Tools::displayPrice($product['price'], $currency));
$product['total'] = str_replace($currency->sign, '', Tools::displayPrice($product['total'], $currency));
$product['image_link'] = $this->context->link->getImageLink($product['link_rewrite'], $product['id_image'], 'small_default');