Commit 9e6e5602489025a6076d6a2bb01a9eb1e2b0d8c9
1 parent
71624c47
prices
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
backend/controllers/PriceController.php
@@ -65,7 +65,7 @@ | @@ -65,7 +65,7 @@ | ||
65 | } | 65 | } |
66 | 66 | ||
67 | } | 67 | } |
68 | - $services = Service::find()->where(['is not','parent_id', null])->with('language')->all(); | 68 | + $services = Service::find()->with('language')->all(); |
69 | $lastId = Price::find()->max('id'); | 69 | $lastId = Price::find()->max('id'); |
70 | $prices = Price::find()->where(['service_id' => $service_id])->with('languages')->all(); | 70 | $prices = Price::find()->where(['service_id' => $service_id])->with('languages')->all(); |
71 | $data = ArrayHelper::map($services, 'id', 'title'); | 71 | $data = ArrayHelper::map($services, 'id', 'title'); |