Removed method fetch_prods() and get_each_prod() not used, keep only

get_arbo_each_prod() that is better.
This commit is contained in:
Laurent Destailleur
2018-03-22 18:01:06 +01:00
parent d6f3fc9fe7
commit 72cedcf9f3
3 changed files with 5 additions and 45 deletions

View File

@@ -1530,8 +1530,8 @@ class Commande extends CommonOrder
{
$prod = new Product($this->db);
$prod->fetch($idproduct);
$prod -> get_sousproduits_arbo ();
$prods_arbo = $prod->get_each_prod();
$prod -> get_sousproduits_arbo();
$prods_arbo = $prod->get_arbo_each_prod();
if(count($prods_arbo) > 0)
{
foreach($prods_arbo as $key => $value)