block on/off times in FormRequest check

This commit is contained in:
Nabeel Shahzad
2018-03-29 14:12:25 -05:00
parent 2ab4db3a2e
commit 7fbcfa391b
4 changed files with 7 additions and 0 deletions

View File

@@ -44,6 +44,8 @@ class FileRequest extends FormRequest
'source_name' => 'nullable|max:25',
'landing_rate' => 'nullable|numeric',
'flight_type' => 'nullable|integer',
'block_off_time' => 'nullable|date',
'block_on_time' => 'nullable|date',
'created_at' => 'nullable|date',
# See if the fare objects are included and formatted properly

View File

@@ -38,6 +38,8 @@ class PrefileRequest extends FormRequest
'route' => 'nullable',
'notes' => 'nullable',
'flight_type' => 'nullable|integer',
'block_off_time' => 'nullable|date',
'block_on_time' => 'nullable|date',
'created_at' => 'nullable|date',
# See if the fare objects are included and formatted properly

View File

@@ -43,6 +43,8 @@ class UpdateRequest extends FormRequest
'source_name' => 'nullable|max:25',
'landing_rate' => 'nullable|numeric',
'flight_type' => 'nullable|integer',
'block_off_time' => 'nullable|date',
'block_on_time' => 'nullable|date',
'created_at' => 'nullable|date',
# See if the fare objects are included and formatted properly