Merge pull request 'Added plant model' (#1387) from ranjith-dev into master
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Reviewed-on: #1387
This commit was merged in pull request #1387.
This commit is contained in:
@@ -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