nabpp Posted November 30, 2012 Report Share Posted November 30, 2012 is there a way that i can only enable 1 bid at a time for all pilots? Quote Link to comment Share on other sites More sharing options...
mischka Posted November 30, 2012 Report Share Posted November 30, 2012 I'd start with checking if bid>0 on the schedule results page, and if that criteria is true to not show the "add to bid" link Quote Link to comment Share on other sites More sharing options...
nabpp Posted November 30, 2012 Author Report Share Posted November 30, 2012 kind of lost me there can you explain a little better? Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted December 1, 2012 Moderators Report Share Posted December 1, 2012 As mischka said, unfortunately there is not such this function but you can do this on your own using if and else on your schedules page. Quote Link to comment Share on other sites More sharing options...
mischka Posted December 1, 2012 Report Share Posted December 1, 2012 kind of lost me there can you explain a little better? what I mean is that you're gonna actually have to write php code to achieve this. First, check the amount of bids for the logged-on pilot, and if it is more than 0, then set some variable to true. Or just load the amount of bids in a variable. Then go to the code where it normally would display the "add to bid" link and put that code in an if-block, the criteria being the aforementioned variable being true or greater than 0 Quote Link to comment Share on other sites More sharing options...
Ariel Posted August 20, 2013 Report Share Posted August 20, 2013 Well you guys totally lost me on this topic....i know its old but my question goes well with this topics title and well i wanted to save on opening a new topic. This might also solve the main question on the top... Anywhoo....what i want is to be able to let pilots Bid on the same flight. The normal function to my knowledge is that as soon as some one bids on a flight that flight becomes disable to other pilots untill that flight is flown or taken off bids then it goes back to schedules for anyone to bid. i want it to still be available for other pilots to fly. I have some pilots that like flying together and this will help alot! Any one who can help? Quote Link to comment Share on other sites More sharing options...
mseiwald Posted August 21, 2013 Report Share Posted August 21, 2013 Just set disable sched on bid to false in your localconfig.php 1 Quote Link to comment Share on other sites More sharing options...
Ariel Posted August 21, 2013 Report Share Posted August 21, 2013 Just set disable sched on bid to false in your localconfig.php As always mseiwald to the rescue....thank you sooooooo much! Really appreciate it! 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.