Exemple #1
0
 /**
  * @return GWF_Currency
  */
 public function getCurrency()
 {
     return GWF_Currency::getByISO($this->getVar('order_currency'));
 }
Exemple #2
0
 public static function displayPrice($price, $currency = true)
 {
     $currency = $currency === true ? self::getModule('Payment')->cfgCurrency() : $currency;
     require_once 'GWF_Currency.php';
     return GWF_Currency::getByISO($currency)->displayValue($price, true);
 }