Ephendi Posted July 7, 2012 Report Share Posted July 7, 2012 Is possible in phpvms prevent to receive pireps for flights who are non booked? One of my pilots manualy fill acars and after flight complete send and system receive flight which is not in va system. Quote Link to comment Share on other sites More sharing options...
Ephendi Posted July 28, 2012 Author Report Share Posted July 28, 2012 No idas? Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted July 28, 2012 Moderators Report Share Posted July 28, 2012 You can use the Charter Mode in the kACARS, and that should work. Quote Link to comment Share on other sites More sharing options...
Ephendi Posted July 30, 2012 Author Report Share Posted July 30, 2012 I need set it on phpvms side. Pilots use many acars system. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted August 3, 2012 Administrators Report Share Posted August 3, 2012 You could add a check in the ACARSData.class.php file, not the best way to do it but would work and cover all the ACARS. right after public static function FilePIREP($pilotid, $data) { if (!is_array($data)) { self::$lasterror = 'PIREP data must be array'; return false; } add # Reject PIREP if a bid does not exist $bidid = SchedulesData::GetBidWithRoute($pilotid, $data['code'], $data['flightnum']); if (!$bidid) { self::$lasterror = 'Bid Does Not Exist'; return false; } Quote Link to comment Share on other sites More sharing options...
Ephendi Posted August 16, 2012 Author Report Share Posted August 16, 2012 Thanks much! 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.