@extends('highSuperAdmin.layout') @section('title',"All Companies") @section('page-name',"Companies Management") @section('page-detail',"All Companies Information") @section('body')

@if($tenants->isEmpty())

No Companies Yet!

@else
@foreach($tenants as $tenant) @endforeach
Company Domain Plan Admins Employees Status SMS Created Actions
{{ $tenant->name }}
{{ $tenant->domain }}
{{ ucfirst($tenant->plan ?? 'Basic') }} {{ $tenant->admins_count ?? 0 }} {{ $tenant->employees_count ?? 0 }} {{ $tenant->active ? 'Active' : 'Inactive' }} {{ $tenant->sms_access ? 'On' : 'Off' }} {{ \Carbon\Carbon::parse($tenant->created_at)->format('m/d/y') }}
@foreach($tenants as $tenant)
{{ $tenant->name }}
Domain:
https://{{ $tenant->domain }}.platform.carismacar.org
Plan: {{ ucfirst($tenant->plan ?? 'Basic') }}
Created: {{ \Carbon\Carbon::parse($tenant->created_at)->format('m-d-y') }}
Admins: {{ $tenant->admins_count ?? 0 }}
Employees: {{ $tenant->employees_count ?? 0 }}
Status: {{ $tenant->active ? 'Active' : 'Inactive' }}
SMS Access: {{ $tenant->sms_access ? 'Enabled' : 'Disabled' }}
@endforeach
@endif
@endsection @section('custom-scripts') @endsection