Исправление связи отчета с пациентами
This commit is contained in:
@@ -52,7 +52,7 @@ class ReportDuty extends Model
|
|||||||
|
|
||||||
public function patients()
|
public function patients()
|
||||||
{
|
{
|
||||||
return $this->hasMany(ReportNursePatient::class, 'report_nurse_id');
|
return $this->hasMany(ReportDutyPatient::class, 'report_duty_id');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function status()
|
public function status()
|
||||||
|
|||||||
Reference in New Issue
Block a user