@extends('layouts.app') @section('title', 'Farm Analytics Dashboard - Blackberry Farm') @section('content')
๐Ÿ“ˆ Growth Projections ๐Ÿซ Yield Forecasting ๐Ÿ’ฐ ROI Analysis ๐ŸŒก๏ธ Weather Analysis

๐Ÿ—บ๏ธ Geographic Analysis & Precision Agriculture

๐Ÿ—บ๏ธ Geographic Analysis ๐Ÿ“ Field Mapping ๐ŸŒพ Yield Mapping ๐ŸŒฑ Soil Analysis
๐Ÿ“Š Zone Performance ๐Ÿ’ก Planting Recommendations ๐Ÿ”ฎ ML Predictions

๐Ÿš€ Advanced Analytics Tools

๐ŸŽฏ Scenario Comparison โš–๏ธ Break-Even Analysis ๐Ÿ“Š Sensitivity Analysis ๐ŸŽฒ Monte Carlo Simulation
๐Ÿ’ธ Cash Flow Analysis ๐Ÿšœ Equipment Planning ๐ŸŽฎ Interactive Dashboard ๐Ÿ“„ Professional Reports
๐Ÿ“ก Data Export & API โš™๏ธ Configure Parameters
{{ $analytics['plants']['total_plants'] ?? 0 }}
Total Plants
+{{ $analytics['plants']['recent_plantings'] ?? 0 }} this quarter
{{ number_format($analytics['production']['total_harvest_weight'] ?? 0, 1) }}lbs
Harvest This Year
${{ number_format($analytics['production']['harvest_value'] ?? 0, 2) }} value
{{ number_format($analytics['financial']['roi_percentage'] ?? 0, 1) }}%
Current ROI
${{ number_format(($analytics['financial']['profit_by_month'][0]['profit'] ?? 0), 2) }} this month
{{ $analytics['workforce']['total_employees'] ?? 0 }}
Active Employees
{{ number_format($analytics['workforce']['total_hours_ytd'] ?? 0, 0) }}h worked YTD
{{ number_format(($analytics['plants']['total_plants'] ?? 0) * 8 * 4.50) }}
Potential Revenue
At full production
{{ number_format(ceil(max(1, ($analytics['plants']['total_plants'] ?? 0)) / 50)) }}
Acres Utilized
@ 50 plants/acre
{{ number_format(($analytics['plants']['total_plants'] ?? 0) * 25) }}
Annual Labor Hours
@ 25 hours/plant
{{ number_format((($analytics['plants']['total_plants'] ?? 0) * 8 * 4.50) - (($analytics['plants']['total_plants'] ?? 0) * 150)) }}
Projected Profit
Current scale

๐Ÿ“ˆ Farm Performance Overview

๐ŸŒฑ Plant Distribution by Variety

๐Ÿซ Monthly Harvest Trends

๐Ÿ“ Plant Growth Metrics

๐Ÿ’ฐ Financial Performance

๐ŸŒฟ Plant Health & Growth

Average Plant Height {{ number_format($analytics['growth']['avg_height'] ?? 0, 1) }}"
Average Health Score {{ number_format($analytics['growth']['avg_health_score'] ?? 0, 1) }}/10
Measurements This Month {{ $analytics['growth']['measurements_this_month'] ?? 0 }}
Average Plant Age {{ number_format($analytics['plants']['avg_plant_age'] ?? 0, 0) }} days

โš™๏ธ Operations Summary

{{ $analytics['operations']['watering_events'] ?? 0 }}
๐Ÿ’ง Watering Events
{{ $analytics['operations']['fertilizer_applications'] ?? 0 }}
๐ŸŒฑ Fertilizer Apps
{{ $analytics['operations']['soil_tests'] ?? 0 }}
๐Ÿงช Soil Tests
{{ $analytics['operations']['pest_incidents'] ?? 0 }}
๐Ÿ› Pest Incidents

๐ŸŒก๏ธ Weather Impact

Average Temperature {{ number_format($analytics['weather']['avg_temperature'] ?? 0, 1) }}ยฐF
Total Rainfall {{ number_format($analytics['weather']['total_rainfall'] ?? 0, 1) }}\"
Growing Degree Days {{ number_format($analytics['weather']['growing_degree_days'] ?? 0, 0) }}
Frost Days {{ $analytics['weather']['frost_days'] }}

๐Ÿ‘ฅ Workforce Analytics

Total Employees {{ $analytics['workforce']['total_employees'] }}
Hours Worked YTD {{ number_format($analytics['workforce']['total_hours_ytd'], 0) }}h
Average Hourly Rate ${{ number_format($analytics['workforce']['avg_hourly_rate'] ?? 0, 2) }}
Department Distribution
@foreach($analytics['workforce']['department_distribution'] as $dept)
{{ ucwords(str_replace('_', ' ', $dept->department)) }} {{ $dept->count }}
@endforeach

๐Ÿš€ Quick Analytics Actions

๐Ÿ“ˆ Plant Metrics ๐Ÿ“„ Export PDF Report ๐Ÿ“Š Export Excel Data ๐ŸŒฑ Manage Plants
@endsection @push('scripts') @endpush