ranjith-dev #1024

Merged
jothi merged 2 commits from ranjith-dev into master 2026-09-14 09:56:49 +00:00
2 changed files with 10 additions and 0 deletions

View File

@@ -129,4 +129,9 @@ class Item extends Model
{
return $this->hasMany(CoilPacking::class, 'item_id', 'id');
}
public function productionTemp()
{
return $this->hasMany(ProductionTemp::class, 'item_id', 'id');
}
}

View File

@@ -238,4 +238,9 @@ class Plant extends Model
{
return $this->hasMany(CoilPacking::class, 'plant_id', 'id');
}
public function productionTemp()
{
return $this->hasMany(ProductionTemp::class, 'plant_id', 'id');
}
}