🌱 {{ $plant->plant_id }}

{{ $plant->variety_name ?? 'Unknown Variety' }}

📱 Generate QR Code ← Back to Plants

🌱 Basic Information

Plant ID: {{ $plant->plant_id }}
Variety: {{ $plant->variety_name ?? 'Not specified' }}
Status: {{ ucfirst($plant->status) }}
Planted Date: {{ $plant->planted_date ? date('M j, Y', strtotime($plant->planted_date)) : 'Not recorded' }}
@if($plant->created_at)
Added to System: {{ date('M j, Y g:i A', strtotime($plant->created_at)) }}
@endif @if($plant->updated_at && $plant->updated_at != $plant->created_at)
Last Updated: {{ date('M j, Y g:i A', strtotime($plant->updated_at)) }}
@endif

📍 Location & Field Information

@if(isset($plant->field_name) && $plant->field_name) @endif
Specific Location: {{ $plant->location ?: 'Not specified' }}
@if($plant->latitude && $plant->longitude)
GPS Coordinates: {{ $plant->latitude }}, {{ $plant->longitude }}
@endif

🌿 Source & Initial Data

@if(isset($plant->source) && $plant->source)
Source: @if(isset($sourceData) && $sourceData['source_type'] === 'nursery' && isset($nursery)) Nursery: {{ $nursery->name }} @if($sourceData['source_notes']) - {{ $sourceData['source_notes'] }} @endif @else {{ $plant->source }} @endif
@endif @if(isset($plant->initial_height_cm) && $plant->initial_height_cm > 0)
Initial Height: {{ number_format($plant->initial_height_cm / 2.54, 1) }}"
@endif @if(isset($plant->initial_cost) && $plant->initial_cost > 0)
Initial Cost: ${{ number_format($plant->initial_cost, 2) }}
@endif

🫐 Variety Details

@if(isset($plant->variety_type) && $plant->variety_type)
Type: {{ ucfirst($plant->variety_type) }}
@endif @if(isset($plant->variety_description) && $plant->variety_description)
Description: {{ $plant->variety_description }}
@endif

📱 QR Code & System Info

QR Code ID: {{ $plant->qr_code ?? 'Not generated' }}
@if($plant->custom_fields)
Custom Fields: {{ is_string($plant->custom_fields) ? $plant->custom_fields : json_encode($plant->custom_fields) }}
@endif
📱 Download QR Code

Print this QR code and attach to the plant for easy field identification

@if($plant->notes)

📝 Notes

{{ $plant->notes }}

@endif

📊 Recent Measurements

@if($measurements && $measurements->count() > 0) @foreach($measurements as $measurement)
{{ date('M j, Y', strtotime($measurement->measurement_date)) }} Height: {{ isset($measurement->height_inches) && $measurement->height_inches ? number_format($measurement->height_inches, 1) . '"' : (isset($measurement->height_cm) && $measurement->height_cm ? number_format($measurement->height_cm / 2.54, 1) . '"' : 'N/A') }}, Health: {{ $measurement->health_score ?? 'N/A' }}/10
@endforeach @else

No measurements recorded yet

Plant measurements will be available once you add some data

@endif
@if(isset($harvests))

🫐 Recent Harvests

@if($harvests && $harvests->count() > 0) @foreach($harvests as $harvest)
{{ date('M j, Y', strtotime($harvest->harvest_date)) }} {{ $harvest->quantity ?? 0 }} lbs
@endforeach @else

No harvests recorded yet

Harvest tracking will be available in Phase 4

@endif
@endif

📷 Plant Images

Loading plant images...

✏️ Edit Plant 💧 Log Watering 🌱 Log Fertilizer ← Back to Plants
@csrf @method('DELETE')