diff --git a/app/Models/ProductionLineStop.php b/app/Models/ProductionLineStop.php index 46d2395ea..fb88ff90d 100644 --- a/app/Models/ProductionLineStop.php +++ b/app/Models/ProductionLineStop.php @@ -41,4 +41,12 @@ class ProductionLineStop extends Model { return $this->belongsTo(LineStop::class); } + + // //..this is my code below + // public function lineStopRelation() + // { + // return $this->belongsTo(LineStop::class, 'linestop_id'); + // } + + }