corrected the relation in plant model #1388

Merged
jothi merged 1 commits from ranjith-dev into master 2026-11-06 10:49:46 +00:00

View File

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