From ded9b875fbca86932b8f609765f918ec66f0cd3b Mon Sep 17 00:00:00 2001 From: "fauzgabriel@gmail.com" Date: Tue, 21 Apr 2026 16:57:17 +0700 Subject: [PATCH] to indonesia --- app/Http/Controllers/Api/InspeksiLahanController.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/Http/Controllers/Api/InspeksiLahanController.php b/app/Http/Controllers/Api/InspeksiLahanController.php index 9ca38cf..acfac88 100644 --- a/app/Http/Controllers/Api/InspeksiLahanController.php +++ b/app/Http/Controllers/Api/InspeksiLahanController.php @@ -48,10 +48,10 @@ class InspeksiLahanController extends Controller 'lahan_id' => 'required|exists:map_lahan,id', 'air' => 'nullable|string', 'ph' => 'nullable|numeric|between:0,14', - 'humidity' => 'nullable|string', + 'kelembapan' => 'nullable|string', 'temperature' => 'nullable|string', 'plant_cond' => 'nullable|string', - 'notes' => 'nullable|string', + 'catatan' => 'nullable|string', 'foto_url' => 'nullable|string', 'sync_status' => 'nullable|string', ]); @@ -88,10 +88,12 @@ class InspeksiLahanController extends Controller $inspeksi = InsLahan::findOrFail($id); $validated = $request->validate([ - 'air' => 'nullable|string', + 'kadar_air' => 'nullable|string', + 'kelembapan' => 'nullable|string', + 'temperatur' => 'nullable|string', 'ph' => 'nullable|numeric|between:0,14', 'plant_cond' => 'nullable|string', - 'notes' => 'nullable|string', + 'catatan' => 'nullable|string', 'foto_url' => 'nullable|string', ]);