@extends('layouts.app') @section('title', 'Growth Projections - Blackberry Farm Analytics') @section('content')
← Analytics Dashboard 🫐 Yield Forecasting 💰 ROI Analysis 🌡️ Weather Analysis
{{ $projections['current_plants'] ?? 'N/A' }}
Current Plants
Active in database
{{ $projections['target_plants'] ?? 'N/A' }}
Target Plants
{{ $timeframe === '5_years' ? '5' : ($timeframe === '10_years' ? '10' : '3') }} year goal
{{ isset($projections['annual_growth_rate']) ? round($projections['annual_growth_rate'], 1) : 'N/A' }}%
Annual Growth Rate
Average increase
{{ isset($projections['summary']['total_investment']) ? '$' . number_format($projections['summary']['total_investment']) : 'N/A' }}
Total Investment
Projected cost

⚙️ Projection Parameters

{{ end($projections['projections'])['plant_count'] ?? 0 }}
Final Plant Count
Year {{ $timeframe === '5_years' ? 5 : ($timeframe === '10_years' ? 10 : 3) }}
${{ number_format(end($projections['projections'])['estimated_revenue'] ?? 0) }}
Final Revenue
Year {{ $timeframe === '5_years' ? 5 : ($timeframe === '10_years' ? 10 : 3) }} projection
{{ ceil((end($projections['projections'])['plant_count'] ?? 0) / 50) }}
Acres Needed
At maximum capacity
{{ number_format(array_sum(array_column($projections['projections'] ?? [], 'estimated_yield'))) }}lbs
Total Yield
{{ $timeframe === '5_years' ? 5 : ($timeframe === '10_years' ? 10 : 3) }}-year cumulative

📊 Growth Projection Visualization

Plant Count Growth Over Time

💰 Revenue Projections

📈 Profit Analysis

👥 Labor Requirements

@if(isset($scenarios) && !empty($scenarios))

🎯 Expansion Scenarios

@foreach($scenarios as $key => $scenario)

{{ $scenario['name'] }}

{{ $scenario['description'] }}

{{ end($scenario['projections'])['total_plants'] }}
Final Plants
${{ number_format(end($scenario['projections'])['estimated_revenue']) }}
Final Revenue
@endforeach

Scenario Comparison

@endif @if(isset($milestones) && !empty($milestones))

🏁 Expansion Milestones

@foreach($milestones as $milestone)

{{ $milestone['title'] }}

Target Year: {{ $milestone['year'] }}

{{ $milestone['description'] }}

Requirements:
    @foreach($milestone['requirements'] as $requirement)
  • {{ $requirement }}
  • @endforeach
@endforeach
@endif

📋 Year-by-Year Projection Breakdown

@foreach($projections['projections'] as $projection) @endforeach
Year Plant Count Estimated Yield Revenue Costs Profit Labor Hours ROI
{{ $projection['year'] }}
{{ number_format($projection['plant_count']) }}
plants
{{ number_format($projection['estimated_yield']) }}lbs
{{ number_format($projection['estimated_yield'] / $projection['plant_count'], 1) }} lbs/plant
${{ number_format($projection['estimated_revenue']) }}
${{ number_format($projection['estimated_costs']) }}
${{ number_format($projection['projected_profit']) }}
{{ number_format($projection['required_labor_hours']) }}h
{{ number_format($projection['required_labor_hours'] / 2080, 1) }} FTE
{{ number_format(($projection['estimated_revenue'] - $projection['estimated_costs']) / $projection['estimated_costs'] * 100, 1) }}%
TOTALS {{ number_format(end($projections['projections'])['plant_count']) }} final {{ number_format(array_sum(array_column($projections['projections'], 'estimated_yield'))) }}lbs ${{ number_format($projections['summary']['total_revenue']) }} ${{ number_format($projections['summary']['total_investment']) }} ${{ number_format($projections['summary']['total_profit']) }} {{ number_format(array_sum(array_column($projections['projections'], 'required_labor_hours'))) }}h {{ $projections['summary']['roi_percentage'] }}%

💰 Financial Summary

Total Investment Required ${{ number_format($projections['summary']['total_investment']) }}
Total Revenue Projected ${{ number_format($projections['summary']['total_revenue']) }}
Net Profit Projected ${{ number_format($projections['summary']['total_profit']) }}
Overall ROI {{ $projections['summary']['roi_percentage'] }}%

🎯 Key Milestones

@php $milestones = [ ['plants' => 100, 'description' => 'Small commercial operation'], ['plants' => 500, 'description' => 'Regional supplier capability'], ['plants' => 1000, 'description' => 'Major commercial operation'], ['plants' => 5000, 'description' => 'Industrial scale production'], ['plants' => 10000, 'description' => 'Large-scale agricultural business'] ]; @endphp @foreach($milestones as $milestone) @if($milestone['plants'] <= (end($projections['projections'])['plant_count'] ?? 0)) @php $milestoneYear = null; foreach($projections['projections'] as $proj) { if($proj['plant_count'] >= $milestone['plants']) { $milestoneYear = $proj['year']; break; } } @endphp
{{ number_format($milestone['plants']) }} Plants
{{ $milestone['description'] }}
{{ $milestoneYear ? 'Year ' . ($milestoneYear - date('Y')) : 'Beyond timeframe' }}
{{ $milestoneYear ?? 'N/A' }}
@endif @endforeach

💡 Projection Assumptions

Note: These projections are estimates based on industry averages and current farm performance. Actual results may vary due to weather, market conditions, pest/disease pressure, and other factors.

@endsection @push('scripts') @endpush