Skip to content

Commit

Permalink
Update fournisseur.commande.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic34 committed Nov 19, 2018
1 parent e020597 commit 2e4ec1e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions htdocs/fourn/class/fournisseur.commande.class.php
Expand Up @@ -2005,7 +2005,7 @@ public function delete(User $user, $notrigger=0)
/**
* Get list of order methods
*
* @return 0 if Ok, <0 if Ko
* @return int 0 if OK, <0 if KO
*/
function get_methodes_commande()
{
Expand Down Expand Up @@ -2037,7 +2037,7 @@ function get_methodes_commande()
}

/**
* 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).
*
Expand Down Expand Up @@ -2358,6 +2358,8 @@ public function updateFromCommandeClient($user, $idc, $comclientid)
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;
Expand Down

0 comments on commit 2e4ec1e

Please sign in to comment.