Pārlūkot izejas kodu

[producer] Commande : ordre des points de vente

refactoring
Guillaume pirms 2 gadiem
vecāks
revīzija
c37cf862dc
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      producer/controllers/OrderController.php

+ 1
- 1
producer/controllers/OrderController.php Parādīt failu

@@ -941,7 +941,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('is_bread_box ASC, name ASC')
->orderBy('code ASC, restricted_access ASC, is_bread_box ASC, name ASC')
->all();

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

Notiek ielāde…
Atcelt
Saglabāt