[Добавлено]: Вывод всех врачей при создании отчета #2
This commit is contained in:
@@ -40,7 +40,7 @@ class Department extends Model
|
||||
|
||||
public function userDepartment()
|
||||
{
|
||||
return $this->belongsTo(UserDepartment::class, 'rf_department_id', 'department_id');
|
||||
return $this->belongsTo(UserDepartment::class, 'department_id', 'rf_department_id');
|
||||
}
|
||||
|
||||
public function recipientPlanOfYear()
|
||||
|
||||
Reference in New Issue
Block a user