CHANGE_CLIENT_CREATE_BUSINESS_ID_CODE_COMMENT_UNCOMMENT_IT : AADHAVAN

This commit is contained in:
aadhavan valli 2024-07-08 11:00:10 +05:30
parent 1797349ebb
commit c546eaaca6
2 changed files with 4 additions and 1 deletions

View File

@ -261,7 +261,7 @@ class StaffController extends BaseController
{ {
$clientData = $this->request->getVar(); $clientData = $this->request->getVar();
$clientData['created_by'] = $this->session->get('is_staff_logged_in'); $clientData['created_by'] = $this->session->get('is_staff_logged_in');
// $clientData['business_id'] = $this->session->get('logged_in_staff_business_id'); $clientData['business_id'] = $this->session->get('logged_in_staff_business_id');
// $business= $this->BranchModel->select('*') // $business= $this->BranchModel->select('*')
// ->join('business' , 'branches.business_id = business.business_id', 'left') // ->join('business' , 'branches.business_id = business.business_id', 'left')
// ->where('branches.branch_id ',$clientData['branch_id']) // ->where('branches.branch_id ',$clientData['branch_id'])
@ -295,6 +295,7 @@ class StaffController extends BaseController
return ; return ;
} }
} }
}else{ }else{

View File

@ -392,6 +392,8 @@
$('#bike_model_login-modal').modal('hide'); $('#bike_model_login-modal').modal('hide');
window.location.reload(); window.location.reload();
}else{ }else{
$('#client_submit_button').attr('disabled','false');
toastr.waring('GST Number Already Exists');
// redirect()->to(base_url()."client_list") // redirect()->to(base_url()."client_list")
} }
}, },