Merge pull request 'ranjith-dev' (#1034) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
Reviewed-on: #1034
This commit was merged in pull request #1034.
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');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -243,4 +243,10 @@ class Plant extends Model
|
||||
{
|
||||
return $this->hasMany(ProductionTemp::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function stickerOrder()
|
||||
{
|
||||
return $this->hasMany(StickerOrder::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user