Merge pull request 'Added courier outward relationship in plant model file' (#1458) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 25s

Reviewed-on: #1458
This commit was merged in pull request #1458.
This commit is contained in:
2026-11-18 03:31:13 +00:00

View File

@@ -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');
}
}