@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'])
@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
Contact
Status
@empty
@if($customer->status === 'active')
Active
@else
{{ ucfirst($customer->status) }}
@endif
@endforelse