Added plant model #1387
@@ -232,10 +232,10 @@ class Plant extends Model
|
|||||||
return $this->hasMany(AsrsItemValidation::class, 'plant_id', 'id');
|
return $this->hasMany(AsrsItemValidation::class, 'plant_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
// public function locatorValidations()
|
public function locatorValidations()
|
||||||
// {
|
{
|
||||||
// return $this->hasMany(LocatorValidation::class, 'plant_id', 'id');
|
return $this->hasMany(LocatorValidation::class, 'plant_id', 'id');
|
||||||
// }
|
}
|
||||||
|
|
||||||
public function characteristicApproverMaster()
|
public function characteristicApproverMaster()
|
||||||
{
|
{
|
||||||
@@ -266,4 +266,9 @@ class Plant extends Model
|
|||||||
{
|
{
|
||||||
return $this->hasMany(ItemCharacteristic::class, 'plant_id', 'id');
|
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