diff --git a/app/Models/Plant.php b/app/Models/Plant.php index 093809b0..a8cc3df1 100644 --- a/app/Models/Plant.php +++ b/app/Models/Plant.php @@ -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'); + } + }