Added courier outward relationship in plant model file #1458

Merged
jothi merged 1 commits from ranjith-dev into master 2026-11-18 03:31:14 +00:00
Showing only changes of commit fb69a42cb7 - Show all commits

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