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['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('*')
// ->join('business' , 'branches.business_id = business.business_id', 'left')
// ->where('branches.branch_id ',$clientData['branch_id'])
@ -296,6 +296,7 @@ class StaffController extends BaseController
}
}
}else{
$staffdata = $this->StaffModel->where('staff_id',$this->session->get('is_staff_logged_in'))->get()->getRow();

View File

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