2
0
forked from Wavyzz/dolibarr

Merge pull request #10048 from frederic34/patch-15

Update fournisseur.commande.class.php
This commit is contained in:
Laurent Destailleur
2018-11-24 11:20:21 +01:00
committed by GitHub

View File

@@ -2005,7 +2005,7 @@ class CommandeFournisseur extends CommonOrder
/**
* Get list of order methods
*
* @return 0 if Ok, <0 if Ko
* @return int 0 if OK, <0 if KO
*/
function get_methodes_commande()
{
@@ -2037,7 +2037,7 @@ class CommandeFournisseur extends CommonOrder
}
/**
* Return array of dispathed lines waiting to be approved for this order
* Return array of dispatched lines waiting to be approved for this order
*
* @since 8.0 Return dispatched quantity (qty).
*
@@ -2358,6 +2358,8 @@ class CommandeFournisseur extends CommonOrder
for ($i = 0; $i < $num; $i++)
{
$prod = new Product($this->db);
$libelle = '';
$ref = '';
if ($prod->fetch($comclient->lines[$i]->fk_product) > 0)
{
$libelle = $prod->libelle;