Blu-Express VA Posted January 22, 2011 Report Share Posted January 22, 2011 Hello, before using phpVMS I had a site for my VA The drivers did a lot of hours, Now I ask you not to lose them all, You can add the site hours flown by each pilot also added flights? Thanks! Quote Link to comment Share on other sites More sharing options...
Tom Posted January 22, 2011 Report Share Posted January 22, 2011 In the admin panel, you go to Pilots & Groups > View all pilots, then in the edit options you have the ability to add "Transfer hours". 1 Quote Link to comment Share on other sites More sharing options...
Blu-Express VA Posted January 22, 2011 Author Report Share Posted January 22, 2011 Ok, Thanks, sorry for the question Quote Link to comment Share on other sites More sharing options...
Tom Posted January 22, 2011 Report Share Posted January 22, 2011 No need to say sorry for asking questions. After all, you have to find out some how Quote Link to comment Share on other sites More sharing options...
lorlandi Posted January 22, 2011 Report Share Posted January 22, 2011 mmmmm, many time with the same problem, field transfer hour do not working in my VA admin page, hours aren't updated in pilot page, also "transfer hours" is enable on local config......any suggestion. Regards Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted January 22, 2011 Moderators Report Share Posted January 22, 2011 yes do a recalculate in the maintanace options Quote Link to comment Share on other sites More sharing options...
lorlandi Posted January 24, 2011 Report Share Posted January 24, 2011 Thanks Joeri but i made a bad explanation about add Pilot hours. When new pilot is registered and have hours from other VA i can't update those hours on admin page, i must to do that directly from database and the recalculate rank, but in admin page filled the option tranfers hours and then save total hours remain in 0, "transfer hours" is enable on local config. Best regards Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted January 24, 2011 Report Share Posted January 24, 2011 The transfer hours are not put into the total hours. These are two separate fields. 1. transferhours - manually input hour field. This can be used for pilot promotions or not (setting in local.config.php) 2. totalhours - this is the dynamically generated total number of hours flown. (accepted pirep hours are totalled for this field) To combine for view you would need to add them together, if you want to include the transfer hours in totalhours. $pilothours = $pilot->totalhours + $pilot->transferhours; You will probably need to extend this to get a time return instead of a goofy number. Quote Link to comment Share on other sites More sharing options...
lorlandi Posted January 25, 2011 Report Share Posted January 25, 2011 Hi, regarding your post..... 1. transferhours - manually input hour field. This can be used for pilot promotions or not (setting in local.config.php) That is the problem, on input manually the hours and then click on save.....they are not saved, the field remain in "0". Regards and thanks Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted January 25, 2011 Report Share Posted January 25, 2011 You should probably check your files for corruption then. I would focus on the following files. /admin/modules/PilotAdmin/PilotAdmin.php /admin/templates/pilot_details.tpl /core/common/PilotData.class.php Quote Link to comment Share on other sites More sharing options...
lorlandi Posted January 25, 2011 Report Share Posted January 25, 2011 Thanks lorathon i'll check those files. Regards Quote Link to comment Share on other sites More sharing options...
Caporrella Posted March 8, 2014 Report Share Posted March 8, 2014 The transfer hours are not put into the total hours. These are two separate fields. 1. transferhours - manually input hour field. This can be used for pilot promotions or not (setting in local.config.php) 2. totalhours - this is the dynamically generated total number of hours flown. (accepted pirep hours are totalled for this field) To combine for view you would need to add them together, if you want to include the transfer hours in totalhours. $pilothours = $pilot->totalhours + $pilot->transferhours; You will probably need to extend this to get a time return instead of a goofy number. sorry, where to add this line? 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.