Pārlūkot izejas kodu

Merge branch 'dev'

master
Guillaume Bourgeois pirms 5 gadiem
vecāks
revīzija
125849e358
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. +4
    -1
      common/models/Distribution.php

+ 4
- 1
common/models/Distribution.php Parādīt failu

@@ -204,7 +204,10 @@ class Distribution extends ActiveRecordCommon
{
$distributionsArray = Distribution::find()
->where('date > \'' . date('Y-m-d').'\'')
->andWhere(['id_producer' => Producer::getId()])
->andWhere([
'id_producer' => Producer::getId(),
'active' => 1
])
->orderBy('date ASC')
->all();

Notiek ielāde…
Atcelt
Saglabāt