api appointment store and show
This commit is contained in:
@@ -89,4 +89,9 @@ class PractitionerRole extends Model
|
||||
{
|
||||
return $this->hasOneThrough(Person::class, Practitioner::class, 'person_id', 'id');
|
||||
}
|
||||
|
||||
public function appointmentParticipantables()
|
||||
{
|
||||
return $this->morphMany(AppointmentParticipant::class, 'participantable');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user