Added process order relation in plant model file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 13s
Gemini PR Review / Gemini PR Review (pull_request) Successful in 19s
Laravel Pint / pint (pull_request) Failing after 2m58s
Laravel Larastan / larastan (pull_request) Failing after 3m44s

This commit is contained in:
dhanabalan
2026-09-20 11:05:50 +05:30
parent c1231df86e
commit eda4648741

View File

@@ -107,4 +107,9 @@ class Plant extends Model
{
return $this->hasMany(ItemCharacteristic::class, 'plant_id', 'id');
}
public function processOrders()
{
return $this->hasMany(ProcessOrder::class, 'plant_id', 'id');
}
}