Change fuel used to optional #512 (#582)

This commit is contained in:
Nabeel S 2020-02-23 16:01:09 -05:00 committed by GitHub
parent 0e13905098
commit b34dc4868e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,8 +127,8 @@ class Pirep extends Model
'flight_number' => 'required',
'dpt_airport_id' => 'required',
'arr_airport_id' => 'required',
'block_fuel' => 'sometimes|numeric',
'fuel_used' => 'sometimes|numeric',
'block_fuel' => 'nullable|numeric',
'fuel_used' => 'nullable|numeric',
'level' => 'nullable|numeric',
'notes' => 'nullable',
'route' => 'nullable',