From 329e1cbb0c4dcc7f57eb168a1b18d3455ba60a5e Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Fri, 6 Nov 2026 16:19:25 +0530 Subject: [PATCH] corrected the relation in plant model --- app/Models/Plant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Plant.php b/app/Models/Plant.php index 957089a5..093809b0 100644 --- a/app/Models/Plant.php +++ b/app/Models/Plant.php @@ -269,6 +269,6 @@ class Plant extends Model public function courierInwards() { - return $this->hasMany(ItemCharacteristic::class, 'plant_id', 'id'); + return $this->hasMany(CourierInward::class, 'plant_id', 'id'); } }