Skip to content
Snippets Groups Projects
Commit 18f6718e authored by Charles Benke's avatar Charles Benke
Browse files

Update expedition.class.php

fetch line on expedition in the same order than the customer order
parent c895c892
No related branches found
No related tags found
No related merge requests found
......@@ -1066,6 +1066,7 @@ class Expedition extends CommonObject
$sql.= " LEFT JOIN ".MAIN_DB_PREFIX."product as p ON p.rowid = cd.fk_product";
$sql.= " WHERE ed.fk_expedition = ".$this->id;
$sql.= " AND ed.fk_origin_line = cd.rowid";
$sql.= " ORDER BY cd.rang";
dol_syslog(get_class($this)."::fetch_lines", LOG_DEBUG);
$resql = $this->db->query($sql);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment