Skip to content

Adding a new AwardClass for Flight Time#869

Merged
nabeelio merged 6 commits intophpvms:devfrom
Da-Geek:AwardClass-Flight_Time
Oct 13, 2020
Merged

Adding a new AwardClass for Flight Time#869
nabeelio merged 6 commits intophpvms:devfrom
Da-Geek:AwardClass-Flight_Time

Conversation

@Da-Geek
Copy link
Copy Markdown
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 phpvms: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.

2 participants