/** * @return GWF_Currency */ public function getCurrency() { return GWF_Currency::getByISO($this->getVar('order_currency')); }
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); }