From de07c1c06100dce15c9b59f2983ebc71e78f6b89 Mon Sep 17 00:00:00 2001 From: venba-Inspriron-3558 Date: Sat, 11 Oct 2025 11:58:32 +0530 Subject: [PATCH] FIX_resolved - Email duplication based on ClientBrach vvj reported --- app/Views/client_branch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Views/client_branch.php b/app/Views/client_branch.php index fe817b3..b8370c8 100755 --- a/app/Views/client_branch.php +++ b/app/Views/client_branch.php @@ -207,7 +207,7 @@
+ name="email[]" id="email" data-parsley-trigger="change" data-parsley-type="email" onkeyup="validateDuplicateByClientBranch(this, 'branchBtnSubmit')" required>
@@ -946,11 +946,11 @@ function validateInput(input, table, field, submitBtnId){ } function validateDuplicateByClientBranch(input, submitButId) { + let value = $(input).val().trim(); let clientId = $('#client_id_branch').val(); let branchId = $('#branch_id_primarykey').val(); console.log(`Ln968 cId: ${clientId} | bId: ${branchId}`); - // Don't forgot be careful // 1 Local duplication check (User entered) let isLocalDuplicate = false;