source/Application/Model/Delivery.php
protected function _checkDeliveryAmount($iAmount)
    {
        $blResult = false;

        if ($this->getConditionType() == self::CONDITION_TYPE_PRICE) {
            $oCur = \OxidEsales\Eshop\Core\Registry::getConfig()->getActShopCurrencyObject();
            $iAmount /= $oCur->rate;
        }

        if ($iAmount >= $this->getConditionFrom() && $iAmount <= $this->getConditionTo()) {
            $blResult = true;
        }

        return $blResult;
    }
protected function _checkDeliveryAmount($iAmount)
    {
        $blResult = false;

        if ($this->getConditionType() == self::CONDITION_TYPE_PRICE) {
            $oCur = \OxidEsales\Eshop\Core\Registry::getConfig()->getActShopCurrencyObject();
            $iAmount /= $oCur->rate;
        }

        if ($iAmount >= $this->getConditionFrom() && $iAmount <= $this->getConditionTo()) {
            $blResult = true;
        }

        return $blResult;
    }
protected function _checkDeliveryAmount ( $ iAmount ) { $ blResult = false ; if ( $ this -> getConditionType ( ) == self :: CONDITION_TYPE_PRICE ) { $ oCur = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getActShopCurrencyObject ( ) ; $ iAmount /= $ oCur -> rate ; } if ( $ iAmount >= $ this -> getConditionFrom ( ) && $ iAmount <= $ this -> getConditionTo ( ) ) { $ blResult = true ; } return $ blResult ; }
checks if amount param is ok for this delivery

@param double $iAmount amount

@return boolean
checks if amount param is ok for this delivery