* Fix division by Zero in pireps/show.blade.php
Division by Zero caused by possible null distance fixed by adding check.
* Update show.blade.php
* Update show.blade.php
* Update show.blade.php
Final form :)
* added parentheses around the conversion
* updated finance test
updated the following test:
- journal operations
fixed the following tests:
- pirep finances
- pirep finances specific expense
- pirep finances expenses multi airline
Follow up for improved SimBrief API, sending separate pax and bag weights is possible now.
Core v7 already had them separated ;)
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
* Fix dead links
Fixed one dead link, removed another one and changed load factor and variance fields to accept only numbers between 0-100.
* Update fields.blade.php
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
* Notes for Airports
Adds capability of having notes/remarks for airports, includes
* New database field
* Airport Model change
* CSV Import/Export capability for notes
* Admin Airports list page change
* Admin Airports edit page change
* Default Template Airport show page change
* Update Airport Tests
* Add the new field to source csv
* Check if the import works
* Update AirportFactory.php
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
* Backend changes
Sorting for : Airlines, Subfleets, Type Ratings and exported Flights
Blade : Added WYSIWYG editor to flight remarks/notes field
Notifications :
Mails > Added enabled/disabled settings for mails. Discord > Dashed out PirepPreFiled, re-enabled PirepStatusChanged with reduced messages
* Update PirepStatusChanged.php
* Update NotificationEventsHandler.php
* in_array fix
* Fix Discord Notifications
* Discord Notifications
Removed the pirep url from message as it is mostly private at phpvms side.
Also removed the Flight Ident from fields 'cause it is being used in the title.
Added the user avatar as thumbnail, and pirep filed message uses the airline logo as the main image.
Even though the outgoing pirep status messages are reduced, it is still possible to enable/disable them from admin settings.
Pirep Filed is always being sent (if the webhook is defined)
* StyleFix
* Add alternative to using the artisan schedule runner
* StyleCI fixes
* Add additional cron time periods
* Style fixes
* Typo
* Update the web cron to use the new system
* Write out JSON for which tasks were run
* Rename cron.php to just cron
* Custom Code for Pilot IDents
Adds a new setting to customize the ident or to use a fixed icao code in a multi airline environment.
If settings is null/empty, airline icao will be used as like before.
* StyleFix
Current GDPR compliant Private Name attribute is not compatible with multi byte strings, and when encountered it fails and returns an empty string for the name_private attribute.
`substr($last_name, 0, 1)` or just `$last_name[0]` is not multi byte compatible, therefore only solution is to use `mb_substr`.
It also supports encoding definitions like `mb_substr($last_name, 0, 1, 'UTF-8')`
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
* Update UserRepository.php
Make `name` and `e-mail` based searches with `like` for easier administration and search.
* Update search.blade.php
Remove old dashed out code
* Update index.blade.php
Add proper state selections