Conditionally pre-load Appointment relationship
This commit is contained in:
parent
e9dd1567b8
commit
60874c046f
|
@ -76,6 +76,8 @@ class AppointmentController extends Controller
|
|||
{
|
||||
if (!is_null($application))
|
||||
{
|
||||
$application->load('appointment');
|
||||
|
||||
$application->appointment->meetingNotes = $request->noteText;
|
||||
$application->appointment->save();
|
||||
|
||||
|
|
Loading…
Reference in New Issue