diff --git a/app/Models/Plant.php b/app/Models/Plant.php index 91b3dd6..7b3d18e 100644 --- a/app/Models/Plant.php +++ b/app/Models/Plant.php @@ -89,10 +89,10 @@ class Plant extends Model return $this->hasMany(PumpTestingMaster::class, 'plant_id', 'id'); } - // public function pumpTestingEntries() - // { - // return $this->hasMany(PumpTestingEntry::class, 'plant_id', 'id'); - // } + public function pumpTestingEntries() + { + return $this->hasMany(PumpTestingEntry::class, 'plant_id', 'id'); + } public function guardNames() {