protected function GenerateStatisticsFromOrderBasket($oOrderBasket)
    {
        $sStatistics = '';
        if (empty($oOrderBasket->fieldShopOrderId)) {
            $sStatistics = $this->GetCancelBasketInformation($oOrderBasket);
            $oUser = TdbDataExtranetUser::GetNewInstance();
            $oUser = unserialize(base64_decode($oOrderBasket->fieldRawdataUser));
            if (is_object($oUser)) {
                $sStatistics .= $this->GetUserStatistics($oUser);
            }
            $oBasket = new TShopBasket();
            $oBasket = unserialize(base64_decode($oOrderBasket->fieldRawdataBasket));
            if (is_object($oBasket)) {
                $sStatistics .= $this->GetBasketStatistics($oBasket);
            }
            $sStatistics .= "#########################################################\r\n";
        } else {
            $this->AddCompleteOrderToStatistics();
        }

        return $sStatistics;
    }