Updated hasMany relationship on Plant model #424
@@ -90,7 +90,7 @@ class Plant extends Model
|
||||
|
||||
public function processOrders()
|
||||
{
|
||||
return $this->hasMany(ProcessOrder::class);
|
||||
return $this->hasMany(ProcessOrder::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function productCharacteristicsMasters()
|
||||
|
||||
Reference in New Issue
Block a user