@extends('layouts.dashboard') @section('title', 'Client Details') @section('content')
{{ $client->email }}
@php $badgeClass = match($client->subscription_type) { 'trial' => 'bg-warning', 'basic' => 'bg-info', 'premium' => 'bg-danger', 'enterprise' => 'bg-purple', default => 'bg-secondary' }; @endphp {{ ucfirst($client->subscription_type) }}Toggling these will affect all users in this organization.
{{-- SMS Service --}}| Name | Role | Status | Last Login | Actions |
|---|---|---|---|---|
|
{{ $admin->name }}
{{ $admin->email }}
|
{{ ucfirst($admin->role) }} | @if($admin->is_active) Active @else Inactive @endif | {{ $admin->last_login_at?->diffForHumans() ?? 'Never' }} | Permissions |
| No client admins | ||||
| Template | Type | Status |
|---|---|---|
|
{{ $template->name }}
@if($template->isDerived())
From: {{ $template->createdFrom?->name ?? 'Global' }}
@endif
|
{{ ucfirst($template->type) }} | @if($template->is_active) Active @else Inactive @endif |
| No templates assigned | ||