@extends('admin.layout') @section('title', 'Providers') @section('content')
{{ $provider->user->name }}
Email: {{ $provider->user->email }}
Téléphone: {{ $provider->phone }}
Statut: {{ $provider->user->is_active ? 'Actif' : 'Inactif' }}
| Nom commercial | Nom | Téléphone | Statut | Actions | |
|---|---|---|---|---|---|
| {{ $provider->business_name }} @if($provider->users->count() > 0) ({{ $provider->users->count() }} sous-compte{{ $provider->users->count() > 1 ? 's' : '' }}) @endif | {{ $provider->user->name }} | {{ $provider->user->email }} | {{ $provider->phone }} | {{ $provider->user->is_active ? 'Actif' : 'Inactif' }} | @if($provider->user->is_active) @endif Modifier |
| ↳ {{ $user->name }} | {{ $user->email }} | Sous-compte | {{ $user->is_active ? 'Actif' : 'Inactif' }} | @if($user->is_active) @endif | |