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

Conversation

Da-Geek
Copy link
Contributor

@Da-Geek Da-Geek commented Oct 13, 2020

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).

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).
Small Correction suggested via Review, to check that that value of $flight_minutes is infact an int
@nabeelio nabeelio added this to the 7.0.0 milestone Oct 13, 2020
added an additional check that $flight_minutes is an int if provided by the user.
Added the Log function if the user enters a non int value in the ui
Cleaning up some unneeded code due to the new input validation based on is_int()
@nabeelio nabeelio merged commit d001704 into nabeelio:dev Oct 13, 2020
@Da-Geek Da-Geek deleted the AwardClass-Flight_Time branch October 13, 2020 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants