diff --git a/classes/Tools.php b/classes/Tools.php index 1d18ccefb..4a750e577 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -526,9 +526,9 @@ class ToolsCore case 4: $ret = number_format($price, $c_decimals, '.', ',').$blank.$c_char; break; - /* 0'000.00 X Added for the switzerland currency */ + /* X 0'000.00 Added for the switzerland currency */ case 5: - $ret = number_format($price, $c_decimals, '.', "'").$blank.$c_char; + $ret = $c_char.$blank.number_format($price, $c_decimals, '.', "'"); break; } if ($is_negative) diff --git a/controllers/admin/AdminCurrenciesController.php b/controllers/admin/AdminCurrenciesController.php index 0d7c7fc4f..fea2c00a4 100644 --- a/controllers/admin/AdminCurrenciesController.php +++ b/controllers/admin/AdminCurrenciesController.php @@ -151,7 +151,7 @@ class AdminCurrenciesControllerCore extends AdminController array('key' => 2, 'name' => '0 000,00X ('.$this->l('as with Euros').')'), array('key' => 3, 'name' => 'X0.000,00'), array('key' => 4, 'name' => '0,000.00X'), - array('key' => 5, 'name' => '0\'000.00X') // Added for the switzerland currency + array('key' => 5, 'name' => 'X0\'000.00') // Added for the switzerland currency ), 'name' => 'name', 'id' => 'key'