From dba26be912c16c5888d7edaae4978e67ab247678 Mon Sep 17 00:00:00 2001 From: brusnitsyn Date: Wed, 24 Jun 2026 16:49:12 +0900 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D1=81=D0=B2=D1=8F=D0=B7=D1=8C=20=D1=81=20=D0=BE=D0=BF?= =?UTF-8?q?=D0=B5=D1=80=D0=B0=D1=86=D0=B8=D0=B5=D0=B9=20=D0=B2=20=D0=BE?= =?UTF-8?q?=D1=82=D1=87=D0=B5=D1=82=D0=B5=20=D0=BC=D0=B5=D0=B4=20=D1=81?= =?UTF-8?q?=D0=B5=D1=81=D1=82=D1=80=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/ReportNursePatient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/ReportNursePatient.php b/app/Models/ReportNursePatient.php index 027cdfb..afd3e54 100644 --- a/app/Models/ReportNursePatient.php +++ b/app/Models/ReportNursePatient.php @@ -39,7 +39,7 @@ class ReportNursePatient extends Model public function operations(): \Illuminate\Database\Eloquent\Relations\HasMany { - return $this->hasMany(SurgicalOperation::class, 'medical_history_id', 'id'); + return $this->hasMany(SurgicalOperation::class, 'medical_history_id', 'original_id'); } public function latestMigration()