| Conditions | 2 |
| Paths | 2 |
| Total Lines | 23 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 38 | $query = $this->createQueryBuilder('s') |
||
| 39 | ->where('s.name != :idname') |
||
| 40 | ->andWhere('s.family_log = :flname') |
||
| 41 | ->andWhere('s.sub_family_log = :sflname') |
||
| 42 | ->andWhere('s.active = 1') |
||
| 43 | ->setParameters( |
||
| 44 | array( |
||
| 45 | 'idname' => $article->getSupplier()->getName(), |
||
| 46 | 'flname' => $article->getFamilyLog(), |
||
| 47 | 'sflname' => $article->getSubFamilyLog(), |
||
| 48 | ) |
||
| 49 | ) |
||
| 50 | ->orderBy('s.name', 'ASC'); |
||
| 51 | |||
| 52 | return $query; |
||
| 53 | } |
||
| 54 | } |
||
| 55 |