diff --git a/app/Views/client_branch.php b/app/Views/client_branch.php index a6419b7..882a7f1 100755 --- a/app/Views/client_branch.php +++ b/app/Views/client_branch.php @@ -314,6 +314,7 @@ $('#btnBranchAdd').click(function() { $('#branch_form')[0].reset(); $('#branch_form').parsley().reset(); $('.ac').css('display', 'block'); + $('#post_branch_id').val(''); contactCount = 1 var addButton = document.getElementById('add'); @@ -401,10 +402,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]);