@extends('layouts.dashboard') @section('styles') @endsection @section('content')

Company Dashboard

Back to Directory
@if($company->banner_url) Banner @endif
Logo

{{ $company->name }} @if($company->is_verified) Verified @endif @if($company->is_featured) Featured @endif

{{ $company->user->name ?? 'No Recruiter' }} {{ $company->user->email ?? 'N/A' }} {{ $company->phone ?? 'N/A' }}
@if($company->user)
@csrf
@endif Manage
Company Details
Industry {{ $company->industry ?? '-' }}
Size {{ $company->company_size ?? '-' }}
Founded {{ $company->founded_year ?? '-' }}
GST No. {{ $company->gst_number ?? '-' }}
Location {{ $company->city ?? '-' }}, {{ $company->country ?? '-' }}
Registered {{ $company->created_at->format('M d, Y') }}
Status {{ ucfirst($company->status) }}
Active Plan Overview
@if($company->user && $company->user->subscription && $company->user->subscription->plan) {{ $company->user->subscription->plan->name }} Plan @else Free/Basic @endif
@if($company->user && $company->user->subscription && $company->user->subscription->plan) @php $sub = $company->user->subscription; $plan = $sub->plan; $jobPct = $plan->job_posts > 0 ? min(100, ($sub->job_posts_used / $plan->job_posts) * 100) : 0; $featPct = $plan->featured_jobs > 0 ? min(100, ($sub->featured_jobs_used / $plan->featured_jobs) * 100) : 0; $resPct = $plan->resume_downloads > 0 ? min(100, ($sub->resume_downloads_used / $plan->resume_downloads) * 100) : 0; @endphp
Status
{{ ucfirst($sub->status) }}
Renews On
{{ $sub->ends_at ? $sub->ends_at->format('M d, Y') : 'Lifetime' }}
Total Value
${{ number_format($plan->price) }}
Resource Allocation
Job Listings {{ $sub->job_posts_used }} / {{ $plan->job_posts == 0 ? 'Unlimited' : $plan->job_posts }}
Featured Highlights {{ $sub->featured_jobs_used }} / {{ $plan->featured_jobs }}
Candidate Unlocks {{ $sub->candidate_unlocks_used }} / {{ $plan->candidate_unlock_limit == 0 ? 'Unlimited' : $plan->candidate_unlock_limit }}
@else
No Active Subscription

This company is operating on the default free tier limitations.

@endif

{{ $company->jobs->count() }}

Total Posted

{{ $company->jobs->where('status','active')->count() }}

Live & Active

{{ $company->jobs->where('is_featured', true)->count() }}

Featured
@php $totalApps = 0; foreach($company->jobs as $j) $totalApps += $j->applications->count(); @endphp

{{ $totalApps }}

Total Applications
Job Posting Trajectory
Listing Inventory
@foreach($company->jobs as $job) @endforeach
Job Title Category Applications Status Posted Date
{{ $job->title }} {{ $job->category->name ?? '-' }} {{ $job->applications->count() }} {{ ucfirst($job->status) }} {{ $job->created_at->format('M d, Y') }}
Applicant Pool
@foreach($company->jobs as $job) @foreach($job->applications as $app) @endforeach @endforeach
Candidate Applied For Status Date Action
{{ $app->first_name }} {{ $app->last_name }}
{{ $app->email }}
{{ $job->title }} {{ ucfirst($app->status) }} {{ $app->created_at->format('M d, Y') }} @if($app->resume) CV @endif
Financial Ledger
@if($company->user) @foreach($company->user->payments as $payment) @endforeach @endif
Reference ID Amount Status Timestamp
{{ $payment->razorpay_payment_id ?? 'SYS-GEN-'.$payment->id }} ${{ number_format($payment->amount, 2) }} {{ ucfirst($payment->status) }} {{ $payment->created_at->format('M d, Y h:i A') }}
System Audit Trail
@if($company->user) @foreach($company->user->activityLogs as $log) @endforeach @endif
Event Action Module Network IP Timestamp
{{ $log->action }} {{ $log->module ?? '-' }} {{ $log->ip_address ?? 'Unknown' }} {{ $log->created_at->format('M d, Y h:i A') }}
@endsection @section('scripts') @endsection