Bläddra i källkod

Merge branch 'dev'

prodstable
Guillaume 2 år sedan
förälder
incheckning
0d685d3258
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. +2
    -0
      producer/controllers/OrderController.php

+ 2
- 0
producer/controllers/OrderController.php Visa fil

@@ -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();

Laddar…
Avbryt
Spara