Updated hasMany relationship on Plant model #424

Merged
jothi merged 1 commits from ranjith-dev into master 2026-02-28 04:06:41 +00:00
Showing only changes of commit a471a43b1b - Show all commits

View File

@@ -90,7 +90,7 @@ class Plant extends Model
public function processOrders()
{
return $this->hasMany(ProcessOrder::class);
return $this->hasMany(ProcessOrder::class, 'plant_id', 'id');
}
public function productCharacteristicsMasters()