Jump to content

Recommended Posts

Posted (edited)

Is it possible to let all pilots book only one flight? Because, as you may know, pilots can book as many flights as he wants, as far as I know, so let's book only 1 flight? Example: Same as other VAs, when you book a flight, it blocks where you are searching for the flight and switches to my bids - Using Fltbook

 

And I'm also trying to map the route on the bids, how is it possible? Ex: http://prntscr.com/h42z1s

 

Thanks,

 

Carlos

Edited by CarlosEduardo2409
Posted

What you can do is use the function SchedulesData::getBids($pilotid)

for example

$bids=SchedulesData::getBids($pilotid);

if (isset($bids))
{
    (code to display bid info)
}
else
{
    (code to display search results)
}

 

 

Posted (edited)

Many thanks, working perfectly.

 

But do you know a way, other than that, that it changes in the dropdown? Ex: When you book a flight, the dropdown changes the link to go to the reservations and changes the name

Edited by CarlosEduardo2409
Posted
8 hours ago, CarlosEduardo2409 said:

But do you know a way, other than that, that it changes in the dropdown? Ex: When you book a flight, the dropdown changes the link to go to the reservations and changes the name

What do you mean?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...