/**
  *  Return product info
  *  @param 		int		$idProd		Id of Product
  *  @return      array				Product info
  */
 public static function getProductbyIdFk($idProd, $idCust)
 {
     global $db, $conf;
     $function = "getProductbyId";
     $objp = new Product($db);
     $objp->fetch_reducido($idProd);
     $ret[0]["id"] = $objp->id;
     $ret[0]["ref"] = $objp->ref;
     $ret[0]["label"] = $objp->label;
     //$ret[0]["description"] = $objp->description;
     $ret[0]["fk_product_type"] = $objp->type;
     $ret[0]["diff_price"] = 0;
     $ret[0]["tva_tx"] = $objp->tva_tx;
     $ret[0]["price_base_type"] = $objp->price_base_type;
     $ret[0]["price"] = $objp->price;
     $ret[0]["price_ttc"] = $objp->price_ttc;
     $ret[0]["price_min"] = 0;
     //$objp->price_min;
     $ret[0]["price_min_ttc"] = 0;
     //$objp->price_min_ttc;
     $ret[0]["localtax1_tx"] = 0;
     //$objp->localtax1_tx;
     $ret[0]["localtax2_tx"] = 0;
     //$objp->localtax2_tx;
     // Checkpoint: se quitan las imagenes, se reducen 3 segundos.
     //$ret[0]["image"] = self::getImageProduct($objp->id, false);
     //$ret[0]["thumb"] = self::getImageProduct($objp->id, true);
     return Errorcontrol($ret, $function);
 }