ranjith-dev #667

Merged
jothi merged 2 commits from ranjith-dev into master 2026-05-29 08:09:32 +00:00
Showing only changes of commit 773948ec75 - Show all commits

View File

@@ -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()