Jump to content

Military flight


CVV001

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • 2 months later...

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 :(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...