Added courier outward relationship in plant model file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 18s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 19s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 15s
Laravel Pint / pint (pull_request) Successful in 4m52s
Laravel Larastan / larastan (pull_request) Failing after 7m33s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 18s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 19s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 15s
Laravel Pint / pint (pull_request) Successful in 4m52s
Laravel Larastan / larastan (pull_request) Failing after 7m33s
This commit is contained in:
@@ -271,4 +271,10 @@ class Plant extends Model
|
||||
{
|
||||
return $this->hasMany(CourierInward::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function courierOutwards()
|
||||
{
|
||||
return $this->hasMany(CourierOutward::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user