Bugfix multiplie le poids par la quantite
This commit is contained in:
parent
5f6bc0fe7e
commit
2fd8527e35
@ -124,7 +124,7 @@ class InterfaceFraisport
|
||||
* Calcul le poids du colis
|
||||
*
|
||||
*/
|
||||
$sql = "SELECT p.weight, p.weight_units";
|
||||
$sql = "SELECT (p.weight*fd.qty), p.weight_units";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."product as p,".MAIN_DB_PREFIX."commandedet as fd";
|
||||
$sql.= " WHERE fd.fk_product = p.rowid";
|
||||
$sql.= " AND fd.fk_commande = '".$object->fk_commande."'";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user