⚠️ Delete Plant Confirmation

You are about to remove a plant from inventory

🫐 Plant Information

Plant ID: {{ $plant->plant_id }}

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

Status: {{ ucfirst($plant->status) }}

Planted Date: {{ $plant->planted_date ? date('M j, Y', strtotime($plant->planted_date)) : 'Unknown' }}

@if($plant->location)

Location: {{ $plant->location }}

@endif
@if($totalRelatedRecords > 0)

⚠️ Warning: This plant has historical data

This plant has {{ $totalRelatedRecords }} related records in the system. Please choose how you want to handle this data:

@else

📋 Plant Status

This plant has no related records in the system. You can choose to archive it for record-keeping or permanently delete it.

@endif
@csrf @method('DELETE')
📁 Archive Plant (Recommended)
Mark the plant as "removed" but keep all historical data. This preserves your farm records while removing the plant from active inventory.
🗑️ Permanent Delete
Permanently delete the plant AND all related records. This action cannot be undone and will remove all historical data.

⚠️ Please select an option above to proceed

Cancel View Plant Details