#21 Some more fixes for PIREPs

This commit is contained in:
Nabeel Shahzad
2017-07-04 13:57:08 -05:00
parent 70dbfbcd3f
commit 870eefb83d
10 changed files with 90 additions and 57 deletions

View File

@@ -113,8 +113,8 @@ class PIREPService extends BaseService
return $pirep;
}
$pilot = $pirep->pilot;
$ft = $pirep->flight_time;
$pilot = $pirep->pilot;
$this->pilotSvc->adjustFlightHours($pilot, $ft);
$this->pilotSvc->adjustFlightCount($pilot, +1);