@extends('layouts.main') @section('main-container')
{{ $totalSurveys }}
Total Surveys
{{ $uniqueApplications }}
Applications
{{ $statusCounts['Pending'] ?? 0 }}
Pending
{{ $statusCounts['Approved'] ?? 0 }}
Approved
{{ $statusCounts['Needs Correction'] ?? 0 }}
Needs Correction
{{ $statusCounts['Rejected'] ?? 0 }}
Rejected
Project-wise Surveys
@forelse($projectWise as $project) @empty @endforelse
Project Type Total Surveys
{{ $project->projectType->name }} {{ $project->total }}
No data available
Block-wise Surveys
@forelse($blockWise as $block) @empty @endforelse
Block Total Surveys
{{ $block->block->name }} {{ $block->total }}
No data available
Financial Year-wise Surveys
@forelse($yearWise as $year) @empty @endforelse
Financial Year Total Surveys
{{ $year->financialYear->name }} {{ $year->total }}
No data available
Gender Distribution
Male Female Other Total
{{ $genderWise['male'] ?? 0 }} {{ $genderWise['female'] ?? 0 }} {{ $genderWise['other'] ?? 0 }} {{ array_sum($genderWise) }}
Caste Category Distribution
SC ST OBC Others TOTAL
{{ $categoryWise['SC'] ?? 0 }} {{ $categoryWise['ST'] ?? 0 }} {{ $categoryWise['OBC'] ?? 0 }} {{ $categoryWise['Others'] ?? 0 }} {{ array_sum($categoryWise) }}
Education Level Distribution
Illiterate Primary Matric Graduate Others
{{ $educationWise['Illiterate'] ?? 0 }} {{ $educationWise['Primary'] ?? 0 }} {{ $educationWise['Matric'] ?? 0 }} {{ $educationWise['Graduate'] ?? 0 }} {{ $educationWise['Others'] ?? 0 }}
Average Age of Members
{{ $averageAge ?? 0 }} Years
Total Area
Irrigated Area
Non-Irrigated Area
{{ number_format($totalLandArea, 2) }} acres
{{ number_format($totalIrrigated, 2) }} acres
{{ number_format($totalNonIrrigated, 2) }} acres
Land Type-wise Area
@foreach($landTypeWise as $type => $area) @endforeach
Land Type Total Area (acres)
{{ $type }} {{ number_format($area, 2) }}
Total {{ number_format(array_sum($landTypeWise), 2) }}
Irrigation Sources Wise Count
@foreach($irrigationSources as $source) @php $decoded = json_decode($source->irrigation_sources, true); if (is_string($decoded)) { $decoded = json_decode($decoded, true); } $formattedSources = is_array($decoded) ? implode(', ', array_map('ucfirst', $decoded)) : ucfirst($source->irrigation_sources); @endphp @endforeach
Irrigation Sources Total Count
{{ $formattedSources }} {{ $source->total }}
Dimensions and Their Counts
@forelse($measurementGroups as $group) @empty @endforelse
Length (m) Width (m) Depth/Height (m) Count
{{ number_format($group->length, 2) }} {{ number_format($group->width, 2) }} {{ number_format($group->depth_or_height, 2) }} {{ $group->total_count }}
No data available
Land Slope
Range Count
1% - 4% {{ $landSlopeCounts->slope_1_to_4 }}
4% - 7% {{ $landSlopeCounts->slope_4_to_7 }}
> 7% {{ $landSlopeCounts->slope_above_7 }}
Geological Location
Type Count
Low Land {{ $geologicalCounts->low_land }}
Mid Land {{ $geologicalCounts->mid_land }}
Up Land {{ $geologicalCounts->up_land }}
Hydrological Location
Zone Count
Discharge Zone {{ $hydrologicalCounts->discharge }}
Transition Zone {{ $hydrologicalCounts->transition }}
Recharge Zone {{ $hydrologicalCounts->recharge }}
Water User Group
Land Area (acres) potential_irrigation (acres)
{{ $land_comment }} {{ number_format($potential_irrigation, 2) }}
@endsection