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

This commit is contained in:
dhanabalan
2026-11-18 09:00:53 +05:30
parent a678390908
commit fb69a42cb7

View File

@@ -271,4 +271,10 @@ class Plant extends Model
{ {
return $this->hasMany(CourierInward::class, 'plant_id', 'id'); return $this->hasMany(CourierInward::class, 'plant_id', 'id');
} }
public function courierOutwards()
{
return $this->hasMany(CourierOutward::class, 'plant_id', 'id');
}
} }