From 148c2785647ccec3b0833fec2e8006c2133e3268 Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Fri, 10 Oct 2025 12:29:20 +0530 Subject: [PATCH] CHANGE_UI_FIX - VADIVEL J 2025-10-10 --- app/Views/client_branch.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/app/Views/client_branch.php b/app/Views/client_branch.php index f11fcd7a..f35d5f99 100755 --- a/app/Views/client_branch.php +++ b/app/Views/client_branch.php @@ -302,7 +302,8 @@ $('#btnBranchAdd').click(function() { $('#district').val(''); $('#branch_city').val(''); $('#branch_form')[0].reset(); - $('#branch_form').parsley().reset(); + $('#branch_form').parsley().reset(); + $('#pre_branch_id').val(''); $('.ac').css('display', 'block'); contactCount = 1 @@ -393,12 +394,6 @@ $("#branch_form").submit(function(event) { $('.loader').fadeIn(); $('.loader-mask').fadeIn(); - - - if (branch_PrimaryKey == '') { - $('#branch_form input[name="pre_branch_id"]').val(''); - } - var formData = new FormData($('#branch_form')[0]);