FIX_HR
This commit is contained in:
parent
1ac0c09df3
commit
9e17134461
@ -436,6 +436,7 @@ $("#branch_form").submit(function(event) {
|
||||
toastr.error(res.message, 'Error');
|
||||
}else{
|
||||
toastr.success(res.message, 'Success');
|
||||
newBranchSavedPeaseCallTheHrAccessFormApi = true;
|
||||
}
|
||||
// var message = (branch_PrimaryKey === '') ?
|
||||
// 'Client Branch Created successfully' :
|
||||
|
||||
@ -456,6 +456,7 @@
|
||||
<script>
|
||||
let hrAccessControlHtmlAppended = false;
|
||||
let hrActivityHistoryHtmlAppended = false;
|
||||
let newBranchSavedPeaseCallTheHrAccessFormApi = false;
|
||||
|
||||
function client_kyc_docs() {
|
||||
var check_client_id = $('#general_PrimaryKey');
|
||||
@ -566,6 +567,7 @@
|
||||
|
||||
//HR Access Controll also know as "Client Access Control"
|
||||
function appendHrAccessControllHtml(input) {
|
||||
|
||||
console.log(input.id);
|
||||
let client_id = $('#general_PrimaryKey').val();
|
||||
console.log('client_id ', client_id);
|
||||
@ -575,7 +577,8 @@
|
||||
client_id: client_id
|
||||
};
|
||||
|
||||
if (hrAccessControlHtmlAppended == false) {
|
||||
console.log({hrActivityHistoryHtmlAppended, newBranchSavedPeaseCallTheHrAccessFormApi});
|
||||
if (hrAccessControlHtmlAppended == false || newBranchSavedPeaseCallTheHrAccessFormApi == true) {
|
||||
sendAjaxRequestForGlobal(url, 'GET', requestData, function(response) {
|
||||
console.log('Data fetched successfully:', response);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user