Jump to content

Lock Aircraft in use


faraz

Recommended Posts

Hi

I try to lock aircraft in use or aircraft in bid .

$lastbids = SchedulesData::getAllBids();
$aircraftroute = OperationsData::getAircraftByReg($route->registration);
foreach($lastbids as $lastbid)
{
$aircraftbid = OperationsData::getAircraftByReg($lastbid->registration);
if($route->registration != $lastbid->registration)
{
continue;
}		
}

(schedule_results)

I want skip all flight with aircraft in use or already in bid .

I need code for lock aircraft in use .

Tnx

Link to comment
Share on other sites

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...