[Solved] Pilot ID

is there way you can edit the pilot id. so it is only 3 numbers not 4. 001 instead of 0001

thanks,

Daniel

In your core/local.config.php edit this line:

Config::Set('PILOTID_LENGTH', 4);	# Length of the Pilot ID

To however many numbers you want, so in you case it would be:

Config::Set('PILOTID_LENGTH', 3);	# Length of the Pilot ID

Jon

P.s. Make a backup og your local.config.php file before editing

ok thanks Jon !

How do i change the money unit to Pounds £ i see it but what do i enter?

thanks

Daniel

Change whatever’s there for dollars and overwrite it with:

Config::Set('MONEY_UNIT', '£');

Jon

Have you got the Script for the Pilot Roster Jon?

just a Quick Question Auto Retire. How can i set it so once they have not done a flight within 30days it marks them retired.

Daniel

I believe it’s just change

# After how long to mark a pilot inactive, in days
Config::Set('PILOT_AUTO_RETIRE', true);
Config::Set('PILOT_INACTIVE_TIME', 15);

To:

# After how long to mark a pilot inactive, in days
Config::Set('PILOT_AUTO_RETIRE', true);
Config::Set('PILOT_INACTIVE_TIME', 30);

thanks

Read through all the options in the app.config.php file and also the docs