Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a new AwardClass for Flight Time #869

Merged
merged 6 commits into from
Oct 13, 2020

Commits on Oct 13, 2020

  1. Adding a new AwardClass for Flight Time

    This award is based on the original PilotFlightAwards.php file but checks the Pilots Flight Time (In Minutes).
    
    This award means you can create an award for a pilot that completes any amount of flight time (In Minutes).
    Da-Geek committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    c4206b4 View commit details
    Browse the repository at this point in the history
  2. Update PilotHoursAwards.php

    Small Correction suggested via Review, to check that that value of $flight_minutes is infact an int
    Da-Geek committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    1d54cf9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6057b31 View commit details
    Browse the repository at this point in the history
  4. Update PilotHoursAwards.php

    added an additional check that $flight_minutes is an int if provided by the user.
    Da-Geek committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    f9b0aeb View commit details
    Browse the repository at this point in the history
  5. Update PilotHoursAwards.php

    Added the Log function if the user enters a non int value in the ui
    Da-Geek committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    03ebbfa View commit details
    Browse the repository at this point in the history
  6. Update PilotHoursAwards.php

    Cleaning up some unneeded code due to the new input validation based on is_int()
    Da-Geek committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    a189302 View commit details
    Browse the repository at this point in the history