Merge pull request 'Updated hasManu relationship on Plant model' (#424) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
Reviewed-on: #424
This commit was merged in pull request #424.
This commit is contained in:
@@ -90,7 +90,7 @@ class Plant extends Model
|
|||||||
|
|
||||||
public function processOrders()
|
public function processOrders()
|
||||||
{
|
{
|
||||||
return $this->hasMany(ProcessOrder::class);
|
return $this->hasMany(ProcessOrder::class, 'plant_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function productCharacteristicsMasters()
|
public function productCharacteristicsMasters()
|
||||||
|
|||||||
Reference in New Issue
Block a user