@@ -71,7 +71,8 @@ |
||
| 71 | 71 | return $query->getResult(); |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | - public function getStockAlert($count) { |
|
| 74 | + public function getStockAlert($count) |
|
| 75 | + { |
|
| 75 | 76 | $query = $this->createQueryBuilder('a') |
| 76 | 77 | ->where('a.active = true') |
| 77 | 78 | ->andWhere('a.quantity < a.minstock') |