Jump to content

Type Rating


faraz

Recommended Posts

HI

I want Make Type rating in admin menu and location after AWARD in pilot&Group .

what is type rating ? type rating exactly working like this code:

<?php
foreach($allroutes as $route)
{
if(Auth::LoggedIn())
{
   if(Auth::$userinfo->rank == 'Commercial Pilot')
   {
      // Skip any B772 flights if they're a "Commercial Pilot" rank
      if($route->aircraft == '')
      {
         continue; // This will tell it to skip and move to the next route
      }
   }
}

but I want add or delete type rating like Award.

for example : my rank in VA is New Hire and New Hire rank just can fly with 727 and 737 and commercial Rank fly with 747-400 and 777-300 ... .

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