Skip to content

Commit

Permalink
Fix dispatch not adapted for label to ref change for warehouse
Browse files Browse the repository at this point in the history
  • Loading branch information
fappels committed Dec 1, 2017
1 parent 670465f commit cec490d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/fourn/class/fournisseur.commande.class.php
Expand Up @@ -1953,7 +1953,7 @@ public function getDispachedLines($status=-1)

// List of already dispatched lines
$sql = "SELECT p.ref, p.label,";
$sql.= " e.rowid as warehouse_id, e.label as entrepot,";
$sql.= " e.rowid as warehouse_id, e.ref as entrepot,";
$sql.= " cfd.rowid as dispatchlineid, cfd.fk_product, cfd.qty, cfd.eatby, cfd.sellby, cfd.batch, cfd.comment, cfd.status";
$sql.= " FROM ".MAIN_DB_PREFIX."product as p,";
$sql.= " ".MAIN_DB_PREFIX."commande_fournisseur_dispatch as cfd";
Expand Down
2 changes: 1 addition & 1 deletion htdocs/fourn/commande/dispatch.php
Expand Up @@ -735,7 +735,7 @@

// List of lines already dispatched
$sql = "SELECT p.ref, p.label,";
$sql .= " e.rowid as warehouse_id, e.label as entrepot,";
$sql .= " e.rowid as warehouse_id, e.ref as entrepot,";
$sql .= " cfd.rowid as dispatchlineid, cfd.fk_product, cfd.qty, cfd.eatby, cfd.sellby, cfd.batch, cfd.comment, cfd.status";
$sql .= " FROM " . MAIN_DB_PREFIX . "product as p,";
$sql .= " " . MAIN_DB_PREFIX . "commande_fournisseur_dispatch as cfd";
Expand Down

0 comments on commit cec490d

Please sign in to comment.