Merge branch 'ticket-invoiceOrderBy'
This commit is contained in:
commit
bdcd83c40c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user