faraz Posted December 19, 2009 Report Share Posted December 19, 2009 I want lock aircraft when pilot added to bid ! for example : I have 4 bids in admin panel and 2 bids are using with same aircraft registration ! I want lock Aircraft and aircraft registration when one pilot flying with this aircraft . 747-400(N6-BDH) form LOWW to EGLL already in bid , so other pilot go to flight Schedules and All flight with 747-400(N6-BDH) Should not be shown in flight Schedules until first pilot Arrived ! TNX Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted December 19, 2009 Administrators Report Share Posted December 19, 2009 faraz - I think it is time for you to start using the search function of this forum, coming in and making demands ending with exclamation marks is not doing yourself any favors. I count seven new threads by you over the last few days, all ending with basically DO THIS FOR ME! or something similiar. This forum is to ask for help and guidance, and almost everything you have been trying to get someone to do for you has been addressed previously. Just my two cents. Quote Link to comment Share on other sites More sharing options...
faraz Posted December 19, 2009 Author Report Share Posted December 19, 2009 faraz - I think it is time for you to start using the search function of this forum, coming in and making demands ending with exclamation marks is not doing yourself any favors. I count seven new threads by you over the last few days, all ending with DO THIS FOR ME! or something similiar. This forum is to ask for help and guidance, and almost everything you have been trying to get someone to do for you has been addressed previously. Just my two cents. Is right. I tried it, I resolved that I can do them, but I could not solve them I just need a guide and help to do I apologize to you good luck ! Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted December 19, 2009 Administrators Report Share Posted December 19, 2009 Then post your code that you have so far and let us help you along with it, that way we all learn from it and can move on. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted December 19, 2009 Administrators Report Share Posted December 19, 2009 As of next beta, you can do something like: <?php $search = array( 'a.registration' => $route->registration, 's.bidid != 0' ); $schedules = SchedulesData::findSchedules($search); if(is_array($schedules)) { continue; // skip } This would presumably go in the foreach() loop in schedule_results.tpl. It basically looks at the current route it's processing, find any schedules with the current aircraft registration and have been bid on (the bidid is not 0) and returns those. If it finds something, then it means that route has been bid on, and will skip it Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted December 19, 2009 Administrators Report Share Posted December 19, 2009 And, I agree with simpilot. This time of year is really busy for everyone, and it's going to take a while to get back to you on some things. I also suggest trying to learn some PHP, watch the video tutorials, and look and search around at other solutions, maybe you can derive what you're trying to find. 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.