Parcourir la source

[Espace producteur] Commande : ordre des points de vente #822

refactoring
Guillaume Bourgeois il y a 1 an
Parent
révision
74ac70b938
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      producer/controllers/OrderController.php

+ 1
- 1
producer/controllers/OrderController.php Voir le fichier

@@ -958,7 +958,7 @@ class OrderController extends ProducerBaseController
'restricted_access = 0 OR (restricted_access = 1 AND (SELECT COUNT(*) FROM user_point_sale WHERE point_sale.id = user_point_sale.id_point_sale AND user_point_sale.id_user = :id_user) > 0)'
)
->params([':id_user' => User::getCurrentId()])
->orderBy('default DESC, code ASC, restricted_access ASC, is_bread_box ASC, name ASC')
->orderBy('code ASC, restricted_access ASC, is_bread_box ASC, `default` DESC, name ASC')
->all();

$creditFunctioningProducer = Producer::getConfig('credit_functioning');

Chargement…
Annuler
Enregistrer