How to Add Flight Type?

Hey Guys, I’m trying to look around to how to add flight types. Like for example that I want to add a “Private” Flight To my flight creation drop down list? Is it possibility to this?

Way down in the bowels of the app.config.php file there is an array of options that your new flight type would have to be added to.

/**
* Constants
*	Do not modify these! All sorts of weird stuff can happen
*/ 
# Set the type of flights we have
Config::Set(
'FLIGHT_TYPES', array(	
	'P'=>'Passenger',
	'C'=>'Cargo',
	'H'=>'Charter'
)
);

But as the notes say, be careful. After adding it to the array you will have to modify all your drop downs and such accordingly. I have no idea as to if it would affect Acars programs among other things or not…

Good luck

1 Like

Now you are just a smart guy here at phpVMS. Thanks.

I can do the rest, Thanks for your help