From b34dc4868e42be82382ebae93fece819d67997fd Mon Sep 17 00:00:00 2001 From: Nabeel S Date: Sun, 23 Feb 2020 16:01:09 -0500 Subject: [PATCH] Change fuel used to optional #512 (#582) --- app/Models/Pirep.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/Pirep.php b/app/Models/Pirep.php index 5b176e69a..31bd2d923 100644 --- a/app/Models/Pirep.php +++ b/app/Models/Pirep.php @@ -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',