diff --git a/app/Views/client_branch.php b/app/Views/client_branch.php index 297451d..0fc1fa1 100755 --- a/app/Views/client_branch.php +++ b/app/Views/client_branch.php @@ -315,6 +315,7 @@ $('#btnBranchAdd').click(function() { $('#branch_form').parsley().reset(); $('.ac').css('display', 'block'); $('#post_branch_id').val(''); + $('#branch_id_primarykey').val(''); contactCount = 1 var addButton = document.getElementById('add'); @@ -378,6 +379,8 @@ $("#branch_form").submit(function(event) { var selectedValues = $("#selected").val(); console.log(selectedValues, selectedValues); + console.log("branch_id_primarykey", $('#branch_id_primarykey').val()); + let level_contect_data = getContactsData(); console.log('level_contect_data', level_contect_data);