@extends('layouts.user_type.auth') @section('pageEyebrow') All companies @endsection @section('pageTitle', $company_name ?? 'Company profile') @section('pageSub', 'Customer admins who can sign in and manage this company.') @section('pageActions') @endsection @section('companyProfile.basicInfo') @include('components.alert') @include('pages.companyProfile.partials.nav_tabs', ['active' => 'basicinfo'])
Admin contacts
{{ $customers->count() }} {{ \Illuminate\Support\Str::plural('contact', $customers->count()) }}
@forelse($customers as $index => $customer) @php $ctWords = preg_split('/\s+/', trim($customer->name ?? '')); $ctInitials = strtoupper(substr($ctWords[0] ?? '', 0, 1) . substr($ctWords[1] ?? '', 0, 1)) ?: '?'; $ctTone = 'c' . ((crc32($customer->name ?? '') % 6) + 1); @endphp @empty @endforelse
Contact Status
{{ $ctInitials }} {{ $customer->name }} {{ $customer->email }}
@if($customer->status === 'active') Active @else {{ ucfirst($customer->status) }} @endif
@csrf @method('DELETE')
No admin contacts yet
Add a contact so the company can sign in and manage its workspace.
{{-- Add / Edit Contact Modal --}} @endsection