From df6b5af920a1addb9a6a1ae7910629b7516bd78c Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Sat, 31 May 2025 11:06:15 +0530 Subject: [PATCH] Added testingPanelReadings hasMany relation --- app/Models/Plant.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Models/Plant.php b/app/Models/Plant.php index d121126..389c2e1 100644 --- a/app/Models/Plant.php +++ b/app/Models/Plant.php @@ -57,4 +57,9 @@ class Plant extends Model { return $this->hasMany(QualityValidation::class, 'sticker_master_id'); } + + public function testingPanelReadings() + { + return $this->hasMany(TestingPanelReading::class); + } }