ranjith-dev #1034

Merged
jothi merged 2 commits from ranjith-dev into master 2026-09-15 04:22:58 +00:00
2 changed files with 11 additions and 0 deletions

View File

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

View File

@@ -243,4 +243,10 @@ class Plant extends Model
{ {
return $this->hasMany(ProductionTemp::class, 'plant_id', 'id'); return $this->hasMany(ProductionTemp::class, 'plant_id', 'id');
} }
public function stickerOrder()
{
return $this->hasMany(StickerOrder::class, 'plant_id', 'id');
}
} }