Роли, переделывание отчета, изменение на главной странице
This commit is contained in:
@@ -20,4 +20,9 @@ class Report extends Model
|
||||
{
|
||||
return $this->hasMany(MetrikaResult::class, 'rf_report_id', 'report_id');
|
||||
}
|
||||
|
||||
public function observationPatients(): \Illuminate\Database\Eloquent\Relations\HasMany
|
||||
{
|
||||
return $this->hasMany(ObservationPatient::class, 'rf_report_id', 'report_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user