@extends('layouts.provider') @section('title', 'Paramètres - Tags Clients') @section('page-title', 'Paramètres') @section('content')

Tags Clients ({{ $tags->total() }})

Nouveau
@if(request('search') || request('status')) @endif
@if($tags->count() > 0)
@foreach($tags as $tag)
{{ $tag->name }}

{{ $tag->clients_count > 0 ? "Utilisé par {$tag->clients_count} client(s)" : 'Pas encore utilisé' }}

Créé le {{ $tag->created_at->format('d/m/Y') }}
Éditer @if($tag->clients_count == 0) @endif
@endforeach
{{ $tags->appends(request()->query())->links() }}
@else

Aucun tag

Créez votre premier tag pour organiser vos clients.

@endif
@endsection