Added stickerOrder realtion in item model file
This commit is contained in:
@@ -134,4 +134,9 @@ class Item extends Model
|
||||
{
|
||||
return $this->hasMany(ProductionTemp::class, 'item_id', 'id');
|
||||
}
|
||||
|
||||
public function stickerOrder()
|
||||
{
|
||||
return $this->hasMany(StickerOrder::class, 'item_id', 'id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user