Merge pull request 'Added process order relation in plant model file' (#212) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s

Reviewed-on: #212
This commit was merged in pull request #212.
This commit is contained in:
2026-09-20 05:36:03 +00:00

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