block on/off times in FormRequest check
This commit is contained in:
parent
2ab4db3a2e
commit
7fbcfa391b
@ -16,6 +16,7 @@
|
|||||||
- Rank restrictions for PIREPs are respected [#170](https://github.com/nabeelio/phpvms/issues/170)
|
- Rank restrictions for PIREPs are respected [#170](https://github.com/nabeelio/phpvms/issues/170)
|
||||||
- API: Added the ability to get/update/delete user bids [#172](https://github.com/nabeelio/phpvms/issues/172)
|
- API: Added the ability to get/update/delete user bids [#172](https://github.com/nabeelio/phpvms/issues/172)
|
||||||
- API: Added `block_time` parameter for PIREP prefile/update/file calls
|
- API: Added `block_time` parameter for PIREP prefile/update/file calls
|
||||||
|
- API: Added `block_on_time` and `block_off_time` for PIREP prefile/update/file calls
|
||||||
- Artisan: Added a `phpvms:csv-import [table] [file]` to import from CSV
|
- Artisan: Added a `phpvms:csv-import [table] [file]` to import from CSV
|
||||||
- Artisan: Added a `phpvms:yaml-export [tables]` to export tables to YAML files which can be re-imported using `phpvms:yaml-import`
|
- Artisan: Added a `phpvms:yaml-export [tables]` to export tables to YAML files which can be re-imported using `phpvms:yaml-import`
|
||||||
- Numerous bug fixes
|
- Numerous bug fixes
|
||||||
|
@ -44,6 +44,8 @@ class FileRequest extends FormRequest
|
|||||||
'source_name' => 'nullable|max:25',
|
'source_name' => 'nullable|max:25',
|
||||||
'landing_rate' => 'nullable|numeric',
|
'landing_rate' => 'nullable|numeric',
|
||||||
'flight_type' => 'nullable|integer',
|
'flight_type' => 'nullable|integer',
|
||||||
|
'block_off_time' => 'nullable|date',
|
||||||
|
'block_on_time' => 'nullable|date',
|
||||||
'created_at' => 'nullable|date',
|
'created_at' => 'nullable|date',
|
||||||
|
|
||||||
# See if the fare objects are included and formatted properly
|
# See if the fare objects are included and formatted properly
|
||||||
|
@ -38,6 +38,8 @@ class PrefileRequest extends FormRequest
|
|||||||
'route' => 'nullable',
|
'route' => 'nullable',
|
||||||
'notes' => 'nullable',
|
'notes' => 'nullable',
|
||||||
'flight_type' => 'nullable|integer',
|
'flight_type' => 'nullable|integer',
|
||||||
|
'block_off_time' => 'nullable|date',
|
||||||
|
'block_on_time' => 'nullable|date',
|
||||||
'created_at' => 'nullable|date',
|
'created_at' => 'nullable|date',
|
||||||
|
|
||||||
# See if the fare objects are included and formatted properly
|
# See if the fare objects are included and formatted properly
|
||||||
|
@ -43,6 +43,8 @@ class UpdateRequest extends FormRequest
|
|||||||
'source_name' => 'nullable|max:25',
|
'source_name' => 'nullable|max:25',
|
||||||
'landing_rate' => 'nullable|numeric',
|
'landing_rate' => 'nullable|numeric',
|
||||||
'flight_type' => 'nullable|integer',
|
'flight_type' => 'nullable|integer',
|
||||||
|
'block_off_time' => 'nullable|date',
|
||||||
|
'block_on_time' => 'nullable|date',
|
||||||
'created_at' => 'nullable|date',
|
'created_at' => 'nullable|date',
|
||||||
|
|
||||||
# See if the fare objects are included and formatted properly
|
# See if the fare objects are included and formatted properly
|
||||||
|
Loading…
Reference in New Issue
Block a user