• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/discountbase.php
  • Класс: BitrixSaleDiscountBase
  • Вызов: DiscountBase::roundFullBasketPriceByIndex
protected function roundFullBasketPriceByIndex(array $index)
{
	if (!$this->isRoundMode(self::ROUND_MODE_SALE_DISCOUNT))
		return;
	if ($this->getUseMode() != self::USE_MODE_FULL)
		return;

	$this->roundFullBasketPrices();
	if (!empty($this->discountResult['APPLY_BLOCKS'][$this->discountResultCounter]['BASKET_ROUND']))
		$this->setRoundIndex('BASKET_ROUND', $index);
}