make planned_distance optional #185

This commit is contained in:
Nabeel Shahzad 2018-02-10 16:00:43 -06:00
parent 7a527f2ed3
commit fbd73b0717

View File

@ -24,13 +24,13 @@ class PrefileRequest extends FormRequest
'level' => 'required|numeric', 'level' => 'required|numeric',
'dpt_airport_id' => 'required', 'dpt_airport_id' => 'required',
'arr_airport_id' => 'required', 'arr_airport_id' => 'required',
'planned_distance' => 'required|numeric',
'source_name' => 'required|max:25', 'source_name' => 'required|max:25',
'route_code' => 'nullable', 'route_code' => 'nullable',
'route_leg' => 'nullable', 'route_leg' => 'nullable',
'distance' => 'nullable|numeric', 'distance' => 'nullable|numeric',
'flight_time' => 'nullable|integer', 'flight_time' => 'nullable|integer',
'planned_distance' => 'nulled|numeric',
'planned_flight_time' => 'nullable|integer', 'planned_flight_time' => 'nullable|integer',
'zfw' => 'nullable|numeric', 'zfw' => 'nullable|numeric',
'block_fuel' => 'nullable|numeric', 'block_fuel' => 'nullable|numeric',