Merge pull request 'corrected the relation in plant model' (#1388) 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: #1388
This commit was merged in pull request #1388.
This commit is contained in:
@@ -269,6 +269,6 @@ class Plant extends Model
|
||||
|
||||
public function courierInwards()
|
||||
{
|
||||
return $this->hasMany(ItemCharacteristic::class, 'plant_id', 'id');
|
||||
return $this->hasMany(CourierInward::class, 'plant_id', 'id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user