Merge pull request 'Added stock data masters in plant model file' (#469) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
Reviewed-on: #469
This commit was merged in pull request #469.
This commit is contained in:
@@ -53,6 +53,11 @@ class Plant extends Model
|
|||||||
return $this->hasMany(InvoiceValidation::class, 'plant_id', 'id');
|
return $this->hasMany(InvoiceValidation::class, 'plant_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function stockDataMasters()
|
||||||
|
{
|
||||||
|
return $this->hasMany(StockDataMaster::class, 'plant_id', 'id');
|
||||||
|
}
|
||||||
|
|
||||||
public function qualityValidations()
|
public function qualityValidations()
|
||||||
{
|
{
|
||||||
return $this->hasMany(QualityValidation::class, 'plant_id', 'id');
|
return $this->hasMany(QualityValidation::class, 'plant_id', 'id');
|
||||||
|
|||||||
Reference in New Issue
Block a user