Jump to content

Load Sheet in Briefing


chris.edde

Recommended Posts

Hi,

does anyone have a code for a load sheet in the pilot briefing or does anyone know where I can get the auto-generated pax and load for a flight? The system generates automatically Paxnumber and load when clicking on Send Pirep but I'd like to have it before starting a flight in the briefing in order to load the aircraft correctly.

Thanks,

Chris.

Link to comment
Share on other sites

  • Administrators

The pax count for pax flights is calculated by multiplying the pax count in the aircraft description times ->

Config::Set('LOAD_FACTOR', '82');	# %age load factor 

within your local.config.php file. This example would create a load count of your aircraft pax count from the database times 82%.

This function will print the load count ->

echo FinanceData::getLoadCount($aircraft_id, $sched->flighttype);

$aircraft_id is the db id of the aircraft and $sched->flighttype is the single digit flighttype "P,C, or H"

Link to comment
Share on other sites

The pax count for pax flights is calculated by multiplying the pax count in the aircraft description times ->

Config::Set('LOAD_FACTOR', '82');	# %age load factor 

within your local.config.php file. This example would create a load count of your aircraft pax count from the database times 82%.

This function will print the load count ->

echo FinanceData::getLoadCount($aircraft_id, $sched->flighttype);

$aircraft_id is the db id of the aircraft and $sched->flighttype is the single digit flighttype "P,C, or H"

Hey,

thanks very much. :) I'll try it.

Link to comment
Share on other sites

  • 1 month later...
  • 7 months later...

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...