Added plant model #1387
@@ -232,10 +232,10 @@ class Plant extends Model
|
||||
return $this->hasMany(AsrsItemValidation::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
// public function locatorValidations()
|
||||
// {
|
||||
// return $this->hasMany(LocatorValidation::class, 'plant_id', 'id');
|
||||
// }
|
||||
public function locatorValidations()
|
||||
{
|
||||
return $this->hasMany(LocatorValidation::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function characteristicApproverMaster()
|
||||
{
|
||||
@@ -266,4 +266,9 @@ class Plant extends Model
|
||||
{
|
||||
return $this->hasMany(ItemCharacteristic::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function courierInwards()
|
||||
{
|
||||
return $this->hasMany(ItemCharacteristic::class, 'plant_id', 'id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user