diff --git a/htdocs/fourn/class/fournisseur.product.class.php b/htdocs/fourn/class/fournisseur.product.class.php
index bcbaf18e9f5..38a1ea366c5 100644
--- a/htdocs/fourn/class/fournisseur.product.class.php
+++ b/htdocs/fourn/class/fournisseur.product.class.php
@@ -699,13 +699,12 @@ class ProductFournisseur extends Product
/**
* Display price of product
*
- * @param int $showunitprice Show "Unit price" into output string
- * @param int $showsuptitl Show "Supplier" into output string
- * @param int $maxlen Max length of name
- * @param integer $notooltip 1=Disable tooltip
- * @param array $productFournList list of ProductFournisseur objects
- * to display in table format.
- * @return string String with supplier price
+ * @param int $showunitprice Show "Unit price" into output string
+ * @param int $showsuptitle Show "Supplier" into output string
+ * @param int $maxlen Max length of name
+ * @param integer $notooltip 1=Disable tooltip
+ * @param array $productFournList list of ProductFournisseur objects to display in table format.
+ * @return string String with supplier price
*/
function display_price_product_fournisseur($showunitprice=1,$showsuptitle=1,$maxlen=0,$notooltip=0, $productFournList=array())
{
@@ -714,18 +713,16 @@ class ProductFournisseur extends Product
$out = '';
$langs->load("suppliers");
if (count($productFournList) > 0) {
- $out .= '
';
- $out .= '| '.($showunitprice?$langs->trans("Price").' '.$langs->trans("HT"):'').' | ';
- $out .= ''.($showunitprice?$langs->trans("QtyMin"):'').' | ';
- $out .= ''.$langs->trans("Supplier").' | ';
- $out .= ''.$langs->trans("SupplierRef").' |
';
+ $out .= '';
+ $out .= '| '.($showunitprice?$langs->trans("Price").' '.$langs->trans("HT"):'').' | ';
+ $out .= ''.$langs->trans("Supplier").' | ';
+ $out .= ''.$langs->trans("SupplierRef").' |
';
foreach ($productFournList as $productFourn) {
$out.= '| '.($showunitprice?price($productFourn->fourn_unitprice * (1 -$productFourn->fourn_remise_percent/100) + $productFourn->fourn_unitcharges - $productFourn->fourn_remise):'').' | ';
- $out.= ''.($showunitprice?$productFourn->fourn_qty:'').' | ';
$out.= ''.$productFourn->getSocNomUrl(1, 'supplier', $maxlen, $notooltip).' | ';
$out.= ''.$productFourn->fourn_ref.' | |
';
}
- $out .= '
';
+ $out .= '
';
} else {
$out=($showunitprice?price($this->fourn_unitprice * (1 - $this->fourn_remise_percent/100) + $this->fourn_unitcharges - $this->fourn_remise).' '.$langs->trans("HT").' (':'').($showsuptitle?$langs->trans("Supplier").': ':'').$this->getSocNomUrl(1, 'supplier', $maxlen, $notooltip).' / '.$langs->trans("SupplierRef").': '.$this->fourn_ref.($showunitprice?')':'');
}