diff --git a/site/views/helpers/format.php b/site/views/helpers/format.php index b32d920..976d26c 100644 --- a/site/views/helpers/format.php +++ b/site/views/helpers/format.php @@ -19,13 +19,13 @@ class FormatHelper extends AppHelper { true)); } - function currency($amount, $spans = false) { + function currency($amount, $spans = false, $dollar_sign = null) { if (!isset($amount)) return '-'; //return null; $currency = self::$number->currency($amount, - 'USD', + isset($dollar_sign) ? $dollar_sign : 'USD', $spans ? array('before'=>'', 'after'=>'') : array()); if ($spans)