From 776d1664ce8c52ddb009c1fdbcc4cf8aeebbc5c7 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Fri, 3 Jul 2026 08:27:16 +0530 Subject: [PATCH] Added logic in panel check list --- app/Livewire/PanelCheckList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Livewire/PanelCheckList.php b/app/Livewire/PanelCheckList.php index c8be0d1..a793906 100644 --- a/app/Livewire/PanelCheckList.php +++ b/app/Livewire/PanelCheckList.php @@ -197,7 +197,7 @@ public $records = []; $characteristic = ProductCharacteristicsMaster::find($characteristicId); - if (! $characteristic || ! is_numeric($value)){ + if (! $characteristic || ! is_numeric($value) || ($value < $characteristic->lower || $value > $characteristic->upper)) { return false; } }