From fb69a42cb74267fb2362350f6346365842e05ce2 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Wed, 18 Nov 2026 09:00:53 +0530 Subject: [PATCH] Added courier outward relationship in plant model file --- app/Models/Plant.php | 6 ++++++ 1 file changed, 6 insertions(+) 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'); + } + } -- 2.49.1