dashboard komoditas

This commit is contained in:
2026-07-15 10:41:27 +07:00
parent 3908b0be71
commit f0acd8c7ed
2 changed files with 3 additions and 1 deletions
@@ -22,7 +22,7 @@ class ProfilPetaniController extends Controller
}
$title = 'Dashboard Profil Petani';
$komoditas = Komoditas::all();
$komoditas = Komoditas::where('is_utama', true)->get();
$petani = Petani::pluck('id');
$lahan = Lahan::whereIn('petani_id', $petani)->get();