@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | public function getLastOrder($count) |
31 | 31 | { |
32 | 32 | $query = $this->getLast($count) |
33 | - ->where('o.orderdate < ' . date('d-m-Y')) |
|
33 | + ->where('o.orderdate < '.date('d-m-Y')) |
|
34 | 34 | ->getQuery(); |
35 | 35 | |
36 | 36 | return $query->getResult(); |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | public function getLastDelivery($count) |
46 | 46 | { |
47 | 47 | $query = $this->getLast($count) |
48 | - ->where('o.delivdate >= ' . date('d-m-Y')) |
|
48 | + ->where('o.delivdate >= '.date('d-m-Y')) |
|
49 | 49 | ->getQuery(); |
50 | 50 | |
51 | 51 | return $query->getResult(); |