@ -248,7 +248,7 @@ class OrdersController extends CommonController
->addSelect([
'total' => Bed::whereColumn('area_id', 'area.id')->selectRaw('count(1) as beds_count'),
])
//->where('beds_count','>',0)
->where('beds_count', '>', 0)
->leftJoin("building", "area.building_id", "=", "building.id")
->addSelect("building.name as building_name")
->withCount("beds")