@include('layouts.header', ['title' => 'Project Stats'])
@include('layouts.navbar') @include('layouts.sidebar')

Project Report

@if ($selectedProject) @php $labels = collect($structureCounts)->pluck('label'); $counts = collect($structureCounts)->pluck('count'); $allotmentLabels = collect($allotmentCount)->keys(); // ['Active', 'On Hold', 'Cancel'] $allotmentValues = collect($allotmentCount)->values(); // [120, 35, 10] @endphp @if (count($structureCounts) > 0)
BSES
Completed
Joint Verification
Submitted
Draft Annexure
Submitted
Annexure - iiGenerated
Lottery
Scheduled
Allotment Letter
Issued

Structure Statistics

{{-- View Details Button --}}

Total: {{ $totalStructures }}

View Details
@if ($eligibleCount > 0 || $nonEligibleCount > 0)

Eligibility Statistics

{{-- View Details Button --}}

Total: {{ $totalEligibilityStatsCount }}

View Details
@else
No eligibility data found for this project.
@endif @if (array_sum($allotmentValues->toArray()) > 0)

Allotment Statistics

{{-- View Details Button --}}

Total: {{ $allotmentTotalCount }}

View Details
@else
No allotment status data found for this project.
@endif @if (collect($remarksCount)->sum('total') > 0)

Joint Verification Remarks Statistics

{{-- View Details Button --}}

Total: {{ $totalRemarksCount }}

View Details
@else
No verification remarks data found for this project.
@endif @else
No records found for the selected project..
@endif @endif
@if ($selectedProject) @php $hasData = count($structureCounts) > 0 || $eligibleCount > 0 || $nonEligibleCount > 0 || $tabaPavtiCount > 0 || array_sum($allotmentCount) > 0 || $reservedTenementsCount > 0; @endphp @if ($hasData) @endif @endif
@include('layouts.footer')