diff --git a/app/Models/Plant.php b/app/Models/Plant.php index a8cc3df1..48d14943 100644 --- a/app/Models/Plant.php +++ b/app/Models/Plant.php @@ -277,4 +277,8 @@ class Plant extends Model return $this->hasMany(CourierOutward::class, 'plant_id', 'id'); } + public function panelPalletValidations() + { + return $this->hasMany(PanelPalletValidation::class, 'plant_id', 'id'); + } }