From 2061811546335d4c52347bbf0abc0a774f32600d Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Sun, 15 Nov 2026 17:36:18 +0530 Subject: [PATCH] Updated connection validation logic to allow CSR, CSCR, CSIR --- app/Filament/Imports/MotorTestingMasterImporter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Filament/Imports/MotorTestingMasterImporter.php b/app/Filament/Imports/MotorTestingMasterImporter.php index 28a3cbe1..9f02b01c 100644 --- a/app/Filament/Imports/MotorTestingMasterImporter.php +++ b/app/Filament/Imports/MotorTestingMasterImporter.php @@ -315,7 +315,7 @@ class MotorTestingMasterImporter extends Importer if (Str::length($frequency) <= 0 || ! is_numeric($frequency)) { $warnMsg[] = 'Invalid frequency found'; } - if (Str::length($connection) <= 0 || ($connection != 'Star-Delta' && $connection != 'Star' && $connection != 'Delta')) { + if (Str::length($connection) <= 0 || ($connection != 'Star-Delta' && $connection != 'Star' && $connection != 'Delta' && $connection != 'CSR' && $connection != 'CSCR' && $connection != 'CSIR')) { $warnMsg[] = 'Invalid connection found'; } if (Str::length($insResLimit) <= 0 || ! is_numeric($insResLimit)) { -- 2.49.1