<?php

namespace App\Http\Controllers;

use App\Models\Service;
use Illuminate\Http\Request;

class ServiceController extends Controller
{
    public function index()
    {
        $services = Service::where('is_active', true)
            ->whereNotIn('name', ['Laundry', 'Security'])
            ->orderBy('display_order')
            ->orderBy('name')
            ->get();
        return view('services', compact('services'));
    }
}

