* Update EventServiceProvider.php
Add FareListener
* Create Fares.php
* Create FareListener.php
* Update ExpenseListener.php
* Update PirepFinanceService.php
Add listener for the fares, process them like the custom expenses and apply if there are any returned
* 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.
* Docker/compose updates
* Fix container name
* Add zip to the ext install
* Don't mount the env.php file
* Use newer "docker compose" command
* Install composer
* Remove chown
That `if` should return `true` when both conditions are met (pirep not accepted and not rejected yet), so **AND** must be used there ;) Sorry for the trouble.
Now it works and listens more carefully.
* Update PirepService.php
Moved `$default_state` logic below `PirepFiled` event, so admins can have some flexibility to define their own default states by listening that event.
Any ideas ?
Hopefully closes#1312
* Update PirepService.php
Added the missing `$pirep->refresh();`
* Update SubfleetImporter.php
Correction to the import to include Simbrief Code
* Update SubfleetImporter.php
Added in the missing fields HUB-ID and SIMBrief as these are input on the main screen
* Update AircraftImporter.php
Part of the missing data fields in csv import export
* Update FlightImporter.php
Part of the missing fields in csv import and export
* Update AircraftImporter.php
* Update FlightImporter.php
* Update aircraft.csv
Test data amended as part of the missing csv fields
* Update subfleets.csv
Part of the fix for missing fields in csv files used for import/export
* Update flights.csv
* Update FlightImporter.php
* Update subfleets.csv
Removed unused fields
* Update FlightImporter.php
* Update FlightImporter.php
* Update FlightImporter.php
* amended for new csv file layouts
* Update GeoService.php
Replace double name usage with more valuable info
* Update GeoService.php
Changed `GS` with `Spd` 'cause it may be IAS or GS according to the phase of the flight.
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
* Update FareService.php
* Update PirepController.php
Move the logic to controller as requested
* Update FareService.php
Reverting back the service changes as requested
* StyleFix
Title says it all ... Added web middleware to laravel-widgets config so the widget auto-reload / auto-refresh options can work with full functionality.
* 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)
* Update AcarsRepository.php
Use `where` instead of `whereDate` , as you know whereDate only checks the date, it skips the time part completely, thus not providing correct live pireps collection.
* Switch from created_at to updated_at
Also remove the UTC conversion 'cause `updated_at` field is not being populated with UTC values.