CVV001 Posted April 6, 2011 Report Share Posted April 6, 2011 I have set this flight types in core/app.config.php Config::Set( 'FLIGHT_TYPES', array( 'P'=>'Passenger', 'C'=>'Cargo', 'H'=>'Charter', 'M'=>'Military' ) In the admin center - airline operations - add schedule, the dropdown list show correctly the Military flight type and is recorded on the schedule. When i bid this military flight and send the pirep with kACARS it is registered on the phpvms_pireps table as a 'P' flight. How can i solve this problem ? What is the program that receive the data from the bid and then write on the pireps table ? TNX - Gianni Quote Link to comment Share on other sites More sharing options...
BBuchanan Posted April 11, 2011 Report Share Posted April 11, 2011 I have set this flight types in core/app.config.php Config::Set( 'FLIGHT_TYPES', array( 'P'=>'Passenger', 'C'=>'Cargo', 'H'=>'Charter', 'M'=>'Military' ) In the admin center - airline operations - add schedule, the dropdown list show correctly the Military flight type and is recorded on the schedule. When i bid this military flight and send the pirep with kACARS it is registered on the phpvms_pireps table as a 'P' flight. How can i solve this problem ? What is the program that receive the data from the bid and then write on the pireps table ? TNX - Gianni Well, in regards to this, why add the mil flight? Why not take one of the others and change it? For example, I don't see military doing charter flights, I really don't. So instead: Config::Set( 'FLIGHT_TYPES', array( 'P'=>'Passenger', 'C'=>'Cargo', 'H'=>'Military' ) Anyone care to pitch in? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 11, 2011 Administrators Report Share Posted April 11, 2011 That's probably the best way to do it, change the 'Charter' to just read "Military' instead. It was done that way to be able to change the name Quote Link to comment Share on other sites More sharing options...
BBuchanan Posted April 11, 2011 Report Share Posted April 11, 2011 That's probably the best way to do it, change the 'Charter' to just read "Military' instead. It was done that way to be able to change the name Awesome. Thank you Nabeel. Quote Link to comment Share on other sites More sharing options...
CVV001 Posted April 12, 2011 Author Report Share Posted April 12, 2011 Awesome. Thank you Nabeel. thank you for the advice, I do a test... Quote Link to comment Share on other sites More sharing options...
CVV001 Posted June 28, 2011 Author Report Share Posted June 28, 2011 That's probably the best way to do it, change the 'Charter' to just read "Military' instead. It was done that way to be able to change the name After two months test with 'Military' instead 'Charter' the pireps sent are always treated as PAX Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.