Przeglądaj źródła

Merge branch 'dev'

prodstable
Guillaume 2 lat temu
rodzic
commit
0d685d3258
1 zmienionych plików z 2 dodań i 0 usunięć
  1. +2
    -0
      producer/controllers/OrderController.php

+ 2
- 0
producer/controllers/OrderController.php Wyświetl plik

@@ -193,8 +193,10 @@ class OrderController extends ProducerBaseController
$order = Order::find()
->where('id_distribution = :id_distribution')
->andWhere('id_user = :id_user')
->andWhere('id_point_sale = :id_point_sale')
->params([
':id_distribution' => $posts['Order']['id_distribution'],
':id_point_sale' => $posts['Order']['id_point_sale'],
':id_user' => $user ? $user->id : null
])
->one();

Ładowanie…
Anuluj
Zapisz