Military flight

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

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?

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

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.

Awesome. Thank you Nabeel.

thank you for the advice, I do a test…

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