diff --git a/app/Http/Controllers/WebsiteController.php b/app/Http/Controllers/WebsiteController.php index c79fd13..f1a20ad 100644 --- a/app/Http/Controllers/WebsiteController.php +++ b/app/Http/Controllers/WebsiteController.php @@ -87,7 +87,7 @@ class WebsiteController extends Controller $data["sliders"] = Sliders::where('status', 1)->latest()->get(); $data["franchises"] = Franchises::latest()->take(4)->get(); $data["testimonials"] = Testimonials::where('status', 1)->latest()->get(); - $data['services'] = Services::latest()->where('parent_service',null)->take(6)->get(); + $data['services'] = Services::latest()->where('parent_service',null)->where('status', 1)->take(6)->get(); $data['partners'] = Partners::latest()->get(); $data["news"] = News::latest()->take(6)->get();