From 0fa0a9c128fa601d44437d53b390911bf6f19756 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Sat, 31 May 2025 16:42:28 +0530 Subject: [PATCH] Added motorTestingMasters hasMany relation --- app/Models/Item.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Models/Item.php b/app/Models/Item.php index d1be971e8..bacec0f66 100644 --- a/app/Models/Item.php +++ b/app/Models/Item.php @@ -32,6 +32,12 @@ class Item extends Model { return $this->hasMany(ProductionQuantity::class); } + + public function motorTestingMasters() + { + return $this->hasMany(MotorTestingMaster::class); + } + public function testingPanelReadings() { return $this->hasMany(TestingPanelReading::class);