imnemina Posted October 24, 2012 Report Share Posted October 24, 2012 I have a little problem in my VA. I searched in the forum but i not found this case. In Aerolineas Argentinas virtual, pilots ascend for two conditions. Hours and a examination. A pilot only can take the examination for the next rank if he has the required hours. But, if the pilot fails the examination, he remains in the range that has now. In the pilot profile says "You have X hours left until your promotion to next rank" X is a number and next rank is one of the ranks on my VA This is a code on core/templates/profile_main.tpl <p>You have <?php echo ($nextrank->minhours - $pilot_hours)?> hours left until your promotion to <?php echo $nextrank->rank?></p> The information is wrong because the system only considers the hours needed, not the actually rank. Example: Ranks and hours required in Aerolineas Argentinas Virtual National FO - 1 hs National Capt - 40 hs Regional FO - 80 hs Regional Capt - 150 hs International FO - 300 hs International Capt - 500 hs Chief of Airline - 1000 hs Chief of Fleet - 1500 hs Every ascend requieres hours and examination, most difficult every time. In my case, my rank is International FO, and i have 995 hours right now. The system should show: "You have the hours needed to examination for International Capt", this because it reaches 500 hours but I took the examination to International Capt. But shows "You have 5 hours left until your promotion to Chief of Airline", this is not possible until i render the examination to International Capt first. Obviously this is because the system only considers the hours, not the current range of the pilot. Any idea to modify this? Best regards Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted October 24, 2012 Moderators Report Share Posted October 24, 2012 Delete Quote Link to comment Share on other sites More sharing options...
imnemina Posted October 24, 2012 Author Report Share Posted October 24, 2012 Delete ??? delete that thing? Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted October 24, 2012 Moderators Report Share Posted October 24, 2012 NOOOOO! LOL I was writing a new reply then I realized my answer isn't appropriate and normally since you can't delete your post, you write delete instead meaning this post has to be deleted. Quote Link to comment Share on other sites More sharing options...
imnemina Posted October 24, 2012 Author Report Share Posted October 24, 2012 I´ts ok Quote Link to comment Share on other sites More sharing options...
imnemina Posted November 6, 2012 Author Report Share Posted November 6, 2012 Anybody can help me? Please! 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.