ranjith-dev #667
@@ -24,9 +24,9 @@ class Item extends Model
|
||||
return $this->belongsTo(Plant::class);
|
||||
}
|
||||
|
||||
public function item()
|
||||
public function line()
|
||||
{
|
||||
return $this->belongsTo(Item::class, 'item_id', 'id');
|
||||
return $this->belongsTo(Line::class, 'line_id', 'id');
|
||||
}
|
||||
|
||||
public function stickerMasters()
|
||||
|
||||
Reference in New Issue
Block a user