Merge branch 'ticket-12132-evoBDCLogistics'

This commit is contained in:
Marion Muszynski 2016-12-27 16:27:21 +01:00
commit ec0414a008

View File

@ -816,6 +816,13 @@ if(Tools::getValue('action') == 'getOrderForm' && ( ( $id_category = Tools::getV
case '4':
foreach($lines2 as $k => $lines_attributes)
{
$ref = array();
$decli = array();
foreach ($lines_attributes as $key => $row) {
$ref[$key] = $row['line']['product_reference'];
$decli[$key] = $row['line']['product_attribute_name_base'];
}
array_multisort($ref, SORT_ASC, $decli, SORT_ASC, $lines_attributes);
foreach($lines_attributes as $key => $values)
{
// si le produit n'apparait pas dans une commande, on affiche pas la ligne