Ejemplo n.º 1
0
 public function getSumWithCoeff()
 {
     return Shop_Controller::instance()->round(($this->_begateway_currency_id > 0 && $this->_shopOrder->shop_currency_id > 0 ? Shop_Controller::instance()->getCurrencyCoefficientInShopCurrency($this->_shopOrder->Shop_Currency, Core_Entity::factory('Shop_Currency', $this->_begateway_currency_id)) : 0) * $this->_shopOrder->getAmount() * $this->_coefficient);
 }