Reject button was not showing up for pending pireps due to usage of `@elseif`. Now both Accept and Reject buttons should be visible for pending pireps.
* Update search.blade.php
Used select2 for airports, fixed grid layout
* Update actions.blade.php
Fixed button placing
* Update pirep_card.blade.php
Added user id before the name, made name optional so if page hits an hard deleted user's pirep it will not fail. Also improved the flight level check.
* Update FlightController.php
Add missing $bid to flight/show so when needed Load In Acars button can be placed there too.
* Update show.blade.php
Add Load In Acars button to flight details page (flights/show.blade.php)
* SimBrief OFP Edit
Changes aim to have ability of editing generated SimBrief Flight Plans and re-downloading.
* Move url to config
* Blade update and $uri change
* Update simbrief_form.blade.php
Used `$flight->id` along with `$user->ident` to have a more unique static id value. No details given for that fields uniqueness requirements, this will be ok I think though.
Also we are passing user's simbrief userid with api to find the flight plan, both combined, no chance to get another users plan and/or any other plan of same user.
* Update SimBriefController.php
Move `static_id` to controller
* Update simbrief_form.blade.php
Read `static_id` from controller
* StyleFix
* Update phpvms.php
* Update SimBriefService.php
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
* New Language: German
* Update German K
* Fixed German Translation
Co-authored-by: derrobin154 <derrobin154@gmail.com>
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
* Discord notifications for events #433
* Style fixes
* Check for blank webhook urls and disable
* Cleanup items after review
* Changes and fixes
* Style fixes
* Don't load env for testing
* Fix status text
* Refactor saving fields/fares so events get the latest data
* Cleanup
* Style fixes
* Edit Search Form
Add ability to search via flight/route code (technically it was possible but the field was not present in the blade)
* Add Code (EN)
* Add Code (ES)
* Add Code (IT)
* Add Code (PT-BR)
* FlightCode => Code
* FlightCode => Code
* FlightCode => Code
* FlightCode => Code
* FlightCode => Code
* Fix Admin / UserController
Use Role Repository and `selectBoxList` method instead of the model itself.
* Fix Flight Fields
Added empty/blank option for clearing out the days when needed
* StyleFix
* Remove Scripts
Remove scripts from create blade which are designed for edit blade in the first place (thus looking for flight object and its properties).
No need to have an eyecandy date picker or a days selector, previous working version of create.blade was more than enough to manually add fights.
* Add placeholder for date fields
* Disable autocomplete on admin email field
Fixes#1165
* Disable autocomplete on admin name and password
For sake of completeness and due to some over zealous autocompleters, also disable it on name and password fields
* Alphanumeric Callsign For Flights
PR adds ability to define alphanumeric callsigns to flights, display them and use them during SimBrief OFP generation (if pilot ident as callsign option is not enabled)
Translations for en/es/it/pt-br added.
* Change db table name
* Change db column name, fix rules
* Change db column name
* Another db column name change
* Just another one more
* Last one from anumeric_callsign to callsign
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>