@extends('layouts.dashboard') @section('title', $pageTitle) @section('page_header')
Total {{ $pageTitle }} {{ $totalCompanies }}
Total
Active {{ $pageTitle }} {{ $activeCompanies }}
Active
Inactive {{ $pageTitle }} {{ $inactiveCompanies }}
Inactive
@endsection @section('page_content') @if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
{{ $errors->first() }}
@endif
@if ($companies->isEmpty())
No companies found. Create one to get started.
@else
@foreach ($companies as $key => $company) @endforeach
S.No Name Email Contact Logo Favicon Status Actions
{{ ++$key }} {{ $company->name }} {{ $company->email ?? '-' }} {{ $company->contact ?? '-' }} @if (!empty($company->logo)) Logo @else - @endif @if (!empty($company->favicon)) Favicon @else - @endif
@csrf
is_active)> {{ $company->is_active ? 'Active' : 'Inactive' }}
@endif
@endsection @push('styles') @endpush @push('scripts') @endpush