to indonesia
This commit is contained in:
@@ -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',
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user