ranjith-dev #928

Merged
jothi merged 10 commits from ranjith-dev into master 2026-08-24 05:15:36 +00:00
2 changed files with 9 additions and 4 deletions
Showing only changes of commit e4dc7560b3 - Show all commits

View File

@@ -49,6 +49,11 @@ class Item extends Model
return $this->hasMany(TestingPanelReading::class);
}
public function pumpTestingMasters()
{
return $this->hasMany(PumpTestingMaster::class, 'item_id', 'id');
}
public function processOrders()
{
return $this->hasMany(ProcessOrder::class);

View File

@@ -84,10 +84,10 @@ class Plant extends Model
return $this->hasMany(TestingPanelReading::class, 'plant_id', 'id');
}
// public function pumpTestingMasters()
// {
// return $this->hasMany(PumpTestingMaster::class, 'plant_id', 'id');
// }
public function pumpTestingMasters()
{
return $this->hasMany(PumpTestingMaster::class, 'plant_id', 'id');
}
// public function pumpTestingEntries()
// {