corrected the relation in plant model
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 30s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 37s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 19s
Laravel Pint / pint (pull_request) Successful in 4m18s
Laravel Larastan / larastan (pull_request) Failing after 5m17s

This commit is contained in:
dhanabalan
2026-11-06 16:19:25 +05:30
parent d0ca92421f
commit 329e1cbb0c

View File

@@ -269,6 +269,6 @@ class Plant extends Model
public function courierInwards() public function courierInwards()
{ {
return $this->hasMany(ItemCharacteristic::class, 'plant_id', 'id'); return $this->hasMany(CourierInward::class, 'plant_id', 'id');
} }
} }