$result .= ' <div class="tac">';
 $result .= $product->displayImage(IMAGE_SIZE_THUMBNAIL_2, IMAGE_SIZE_THUMBNAIL_2);
 $link_product = '<a href="?open=product-detail&amp;hidemenu=true&amp;products_id=' . $products_id . '" class="view_webpage"> ' . $product_info . '</a>';
 $result .= '  <br/>' . $link_product;
 if ($product->isAddedToSalesPartner($spid) || $spid == 'ALL') {
     $cogs = $product->getProductCOGSValue();
     //Get price selling
     if ($spid == 'ALL') {
         $price_selling = $product->getPriceDefault();
     } else {
         $price_selling = $product->getPriceSelling($spid);
     }
     //Get total sold
     $total_sold = $not_available_text;
     if ($spid > 0 || $spid == 'ALL') {
         $total_sold = $class_jc->getTotalSold($products_id, $spid);
     }
     //Get net price per type of sp (B2C or B2B)
     if (in_array($spid, $sp_b2b_ids)) {
         $net_price = $price_selling;
     } else {
         $net_price = Product::calculateNetPrice($price_selling, VAT);
     }
     $profit = Product::calculateProfit($net_price, $cogs);
     $margin = Product::calculateMargin($profit, $net_price);
     $result .= '  <br/><br/>Price: ' . displayCurrency('EUR', $price_selling);
     $result .= '  <br/>Margin: ' . Product::displayMargin($price_selling, $margin);
     $result .= '  <br/>Total Sold' . ($spid == 0 ? '' : ' (excl. JG)') . ': ' . $total_sold . '<br/><br/>';
     //Get start date
     list($year, $week) = explode('-', $week_start);
     $temp_date = getStartAndEndDate($week, $year);