Make the fuel used optional (#512)
This commit is contained in:
parent
2415caab54
commit
df832088d5
@ -126,8 +126,8 @@ class Pirep extends Model
|
||||
'flight_number' => 'required',
|
||||
'dpt_airport_id' => 'required',
|
||||
'arr_airport_id' => 'required',
|
||||
'block_fuel' => 'required|numeric',
|
||||
'fuel_used' => 'required|numeric',
|
||||
'block_fuel' => 'sometimes|numeric',
|
||||
'fuel_used' => 'sometimes|numeric',
|
||||
'level' => 'nullable|numeric',
|
||||
'notes' => 'nullable',
|
||||
'route' => 'nullable',
|
||||
|
Loading…
Reference in New Issue
Block a user