From 6651fd02c37b48fac4185727f59667fe3fe8d696 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Tue, 1 Dec 2026 10:05:51 +0530 Subject: [PATCH] Added panel pallet validation relationship in item model file --- app/Models/Item.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Models/Item.php b/app/Models/Item.php index c4e50dd5..a9b41890 100644 --- a/app/Models/Item.php +++ b/app/Models/Item.php @@ -155,4 +155,9 @@ class Item extends Model { return $this->hasMany(ItemCharacteristic::class, 'item_id', 'id'); } + + public function panelPalletValidations() + { + return $this->hasMany(PanelPalletValidation::class, 'item_id', 'id'); + } }