@extends('layouts.app') @section('title', 'Harvest Management - Blackberry Farm') @section('content')

🫐 Harvest Details

{{ date('F j, Y', strtotime($harvest->harvest_date)) }} - {{ $harvest->variety_name ?? 'Unknown Variety' }}

✏️ Edit Harvest ← Back to Harvests

🌱 Basic Information

Plant: {{ $harvest->plant_id }} @if($harvest->plant_location) ({{ $harvest->plant_location }}) @endif
Variety: {{ $harvest->variety_name ?? 'Unknown' }}
@if($harvest->field_name)
Field: {{ $harvest->field_name }}
@endif
Harvest Date: {{ date('M j, Y', strtotime($harvest->harvest_date)) }}
Season: {{ ucfirst($harvest->season) }}
Harvested By: {{ $harvest->harvested_by ?? 'Unknown' }}

📊 Yield & Quality

Total Yield: {{ number_format($harvest->yield_lbs, 3) }} lbs
Quality Grade: {{ str_replace('_', ' ', ucwords($harvest->berry_quality_grade, '_')) }}
@if($harvest->berry_count)
Berry Count: {{ number_format($harvest->berry_count) }} berries
@endif @if($harvest->average_berry_size_mm)
Avg Berry Size: {{ number_format($harvest->average_berry_size_mm, 1) }} mm
@endif @if($harvest->largest_berry_size_mm)
Largest Berry: {{ number_format($harvest->largest_berry_size_mm, 1) }} mm
@endif @if($harvest->average_sweetness_brix)
Sweetness (Brix): {{ number_format($harvest->average_sweetness_brix, 1) }}°
@endif

🍓 Berry Characteristics

@if($harvest->berry_firmness)
Firmness: {{ str_replace('_', ' ', ucwords($harvest->berry_firmness, '_')) }}
@endif @if($harvest->color_quality)
Color Quality: {{ ucfirst($harvest->color_quality) }}
@endif @if($harvest->flavor_profile)
Flavor Profile: {{ $harvest->flavor_profile }}
@endif

🎯 Processing & Market

@if($harvest->processing_method)
Processing Method: {{ str_replace('_', ' ', ucwords($harvest->processing_method, '_')) }}
@endif
Market Destination: {{ str_replace('_', ' ', ucwords($harvest->market_destination, '_')) }}
@if($harvest->harvest_duration_minutes)
Harvest Duration: {{ $harvest->harvest_duration_minutes }} minutes
@endif
@if($harvest->harvest_notes)

📝 Harvest Notes

{{ $harvest->harvest_notes }}

@endif @if($harvest->weather_during_harvest)

🌤️ Weather Conditions

{{ $harvest->weather_during_harvest }}

@endif @if($plantHarvests && $plantHarvests->count() > 0)

📊 Recent Harvests from {{ $harvest->plant_id }}

@foreach($plantHarvests as $recentHarvest)
{{ date('M j, Y', strtotime($recentHarvest->harvest_date)) }} {{ number_format($recentHarvest->yield_lbs, 2) }} lbs - {{ str_replace('_', ' ', ucwords($recentHarvest->berry_quality_grade, '_')) }}
@endforeach
@endif
@endsection