to indonesia

This commit is contained in:
2026-04-21 16:57:17 +07:00
parent 14f6a92c6a
commit ded9b875fb
@@ -48,10 +48,10 @@ class InspeksiLahanController extends Controller
'lahan_id' => 'required|exists:map_lahan,id', 'lahan_id' => 'required|exists:map_lahan,id',
'air' => 'nullable|string', 'air' => 'nullable|string',
'ph' => 'nullable|numeric|between:0,14', 'ph' => 'nullable|numeric|between:0,14',
'humidity' => 'nullable|string', 'kelembapan' => 'nullable|string',
'temperature' => 'nullable|string', 'temperature' => 'nullable|string',
'plant_cond' => 'nullable|string', 'plant_cond' => 'nullable|string',
'notes' => 'nullable|string', 'catatan' => 'nullable|string',
'foto_url' => 'nullable|string', 'foto_url' => 'nullable|string',
'sync_status' => 'nullable|string', 'sync_status' => 'nullable|string',
]); ]);
@@ -88,10 +88,12 @@ class InspeksiLahanController extends Controller
$inspeksi = InsLahan::findOrFail($id); $inspeksi = InsLahan::findOrFail($id);
$validated = $request->validate([ $validated = $request->validate([
'air' => 'nullable|string', 'kadar_air' => 'nullable|string',
'kelembapan' => 'nullable|string',
'temperatur' => 'nullable|string',
'ph' => 'nullable|numeric|between:0,14', 'ph' => 'nullable|numeric|between:0,14',
'plant_cond' => 'nullable|string', 'plant_cond' => 'nullable|string',
'notes' => 'nullable|string', 'catatan' => 'nullable|string',
'foto_url' => 'nullable|string', 'foto_url' => 'nullable|string',
]); ]);