Merge branch 'ticket-invoiceOrderBy'

This commit is contained in:
Marion Muszynski 2016-07-08 16:03:53 +02:00
commit bdcd83c40c

View File

@ -932,13 +932,13 @@ class Sale {
return $order_print;
} else {
// tri par date pour les M2+
usort($order_print, function ($a, $b) {
sort($order_print);
/*usort($order_print, function ($a, $b) {
if ($order_sales[$a] == $order_sales[$b]) {
return 0;
}
return ($order_sales[$a] < $order_sales[$b]) ? -1 : 1;
});
});*/
return $order_print;
}