From 6268549d3760f2e06703a613b67eabfb9c4b2596 Mon Sep 17 00:00:00 2001 From: aadhavan valli Date: Sat, 30 Mar 2024 11:40:26 +0530 Subject: [PATCH] FIX_HIDE_SHOW_BUTTON_MASTER_AND_CLIENT_MODEL : AADHAVAN --- app/Views/client_onboarding.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Views/client_onboarding.php b/app/Views/client_onboarding.php index da2344f3..668cbb35 100644 --- a/app/Views/client_onboarding.php +++ b/app/Views/client_onboarding.php @@ -132,7 +132,9 @@ body { $('#btnBranchAdd').hide(); toastr.warning('Please Add the Client!', 'warning',{timeOut: 2000}); }else{ - $('#btnBranchAdd').show(); + if ($('#btnBranchBack')[0].style.display == 'none') { + $('#btnBranchAdd').show(); + } } }