@@ -598,7 +598,7 @@ class OrderController extends ProducerBaseController | |||
$dateMini = date('Y-m-d') ; | |||
$distributionsArray = Distribution::searchAll([ | |||
'active' => 1 | |||
'active' => 1, | |||
'id_producer' => $producer->id | |||
], [ | |||
'conditions' => ['date > :date'], |