@extends('admin.layout') @section('title', 'Providers') @section('content')
@foreach($providers as $provider)

{{ $provider->business_name }}

{{ $provider->user->name }}

Modifier
@csrf @method('DELETE')

Email: {{ $provider->user->email }}

Téléphone: {{ $provider->phone }}

Statut: {{ $provider->user->is_active ? 'Actif' : 'Inactif' }}

@endforeach
{{ $providers->links() }}
@endsection