Updated belongsTo relationship against Line
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
This commit is contained in:
@@ -24,9 +24,9 @@ class Item extends Model
|
|||||||
return $this->belongsTo(Plant::class);
|
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()
|
public function stickerMasters()
|
||||||
|
|||||||
Reference in New Issue
Block a user