@extends('layouts.app')
@section('title','Catalogue')
@section('heading','Catalogue de prestations')
@section('actions')➕ Nouvelle prestation@endsection
@section('content')
@forelse($categories as $cat)
{{ $cat->icon }}
{{ $cat->name }}
{{ $cat->services->count() }} prestations
@if($cat->services->isEmpty())
Aucune prestation dans cette catégorie.
@else
@foreach($cat->services as $s)
@include('partials.service-card')
@endforeach
@endif
@empty
@endforelse
@if($uncategorized->isNotEmpty())
📦
Sans catégorie
{{ $uncategorized->count() }} prestations
@foreach($uncategorized as $s)
@include('partials.service-card')
@endforeach
@endif
@endsection