Watershed Name: {{ $watershed->watershed_name }}
{{-- ================= SLOPE SECTION ================= --}}
| Slope Class |
Area (ha) |
Structure Type |
@forelse($watershed->slopeClasses as $slope)
| {{ $slope->slope->name ?? '-' }} |
{{ $slope->area_ha }} |
{{ $slope->structure_type }} |
@empty
| No slope data available |
@endforelse
{{-- ================= LULC SECTION ================= --}}
| Category |
Area (ha) |
% of Total Area |
@php
$totalArea = 0;
$totalPercentage = 0;
@endphp
@forelse($watershed->landUses as $landUse)
@php
$totalArea += $landUse->area_ha;
$totalPercentage += $landUse->percentage_total_area;
@endphp
| {{ $landUse->lulcCategory->category_name ?? '-' }} |
{{ number_format($landUse->area_ha, 2) }} |
{{ number_format($landUse->percentage_total_area, 2) }} %
|
@empty
| No land use data available |
@endforelse
@if($watershed->landUses->count() > 0)
| Total |
{{ number_format($totalArea, 2) }}
|
{{ number_format($totalPercentage, 2) }} %
|
@endif
@endsection