From 55598fbf1d0c7e0a67338e0dd3fa0fb008d553ea Mon Sep 17 00:00:00 2001 From: ahmadafriadi Date: Thu, 2 Jul 2026 12:54:29 +0700 Subject: [PATCH] Update Produktivitas Dashboard --- .../views/dashboard/produktivitas.blade.php | 647 ++++++++++++++++++ 1 file changed, 647 insertions(+) create mode 100644 resources/views/dashboard/produktivitas.blade.php diff --git a/resources/views/dashboard/produktivitas.blade.php b/resources/views/dashboard/produktivitas.blade.php new file mode 100644 index 0000000..91b2c36 --- /dev/null +++ b/resources/views/dashboard/produktivitas.blade.php @@ -0,0 +1,647 @@ +@extends('layout.main') + +@push('style') + + +@endpush + +@section('content') +
+
+
+
+
+
+
+ +
+
+ Total Land Area +

{{ number_format($luasTotal, 1) }} ha

+
+
+
+ +
+
+
+
+ +
+
+ Total Lahan +

{{ $totallahan }}

+
+
+
+ +
+
+
+
+ Active +
+
+ Registered Farmers +

{{ $totalpetani }}

+
+
+
+ +
+
Distribusi Komoditas
+
+ @foreach(['Vanilla' => 45, 'Candlenut' => 30, 'Cocoa' => 15, 'Coffee' => 10] as $name => $val) +
+
+ {{ $name }} + {{ $val }}% +
+
+
+
+
+ @endforeach +
+
+
+ +
+
+
+
Peta Sebaran Lahan
+
+ + + +
+
+
+ +
+
+ +
+
+
Produktivitas Petani Regional
+ +
+
+ + + + + + + + + + + + @foreach($petaniList as $p) + + + + + + + + @endforeach + +
Nama PetaniID LahanKomoditasLuas (HA)Status
+
+
{{ substr($p->nama, 0, 1) }}
+ {{ $p->nama }} +
+
TR-{{ $p->id }}Vanilla{{ number_format($p->lahan->sum('luas_lahan'), 1) }}Verified
+
+
+
+
+
+@endsection + +@push('scripts') + + +@endpush \ No newline at end of file