Allow on-leave user to login; show alert message and ensure status is updated #719

This commit is contained in:
Nabeel Shahzad
2020-05-23 07:18:28 -04:00
parent 5f8053226e
commit f17cd15b01
4 changed files with 53 additions and 2 deletions

View File

@@ -263,6 +263,18 @@ class PirepService extends Service
return $pirep;
}
/**
* Alias to submit()
*
* @param \App\Models\Pirep $pirep
*
* @throws \Exception
*/
public function file(Pirep $pirep)
{
return $this->submit($pirep);
}
/**
* Submit the PIREP. Figure out its default state
*