ranjith-dev #499
@@ -41,7 +41,7 @@ class Item extends Model
|
||||
|
||||
public function motorTestingMasters()
|
||||
{
|
||||
return $this->hasMany(MotorTestingMaster::class);
|
||||
return $this->hasMany(MotorTestingMaster::class, 'item_id', 'id');
|
||||
}
|
||||
|
||||
public function testingPanelReadings()
|
||||
|
||||
Reference in New Issue
Block a user