$dateMini = date('Y-m-d') ; | $dateMini = date('Y-m-d') ; | ||||
$distributionsArray = Distribution::searchAll([ | $distributionsArray = Distribution::searchAll([ | ||||
'active' => 1 | |||||
'active' => 1, | |||||
'id_producer' => $producer->id | 'id_producer' => $producer->id | ||||
], [ | ], [ | ||||
'conditions' => ['date > :date'], | 'conditions' => ['date > :date'], |