FIX_CLIENT_RM_ISSUE : RV
This commit is contained in:
parent
3b13cb3b2d
commit
00c738427d
@ -297,7 +297,10 @@ class ClientController extends AdminController
|
|||||||
|
|
||||||
$data = $this->request->getPost();
|
$data = $this->request->getPost();
|
||||||
$data['updated_by'] = get_session_userid();
|
$data['updated_by'] = get_session_userid();
|
||||||
$data['client_logo'] = $file_name;
|
|
||||||
|
if(!empty($file_name)){
|
||||||
|
$data['client_logo'] = $file_name;
|
||||||
|
}
|
||||||
|
|
||||||
if (!isset($data['is_download_btn'])) {
|
if (!isset($data['is_download_btn'])) {
|
||||||
$data['is_download_btn'] = 0;
|
$data['is_download_btn'] = 0;
|
||||||
|
|||||||
@ -82,6 +82,7 @@ $(document).ready(function(){
|
|||||||
|
|
||||||
var data = <?= isset($client_relation) ? json_encode($client_relation) : '[]' ?>;
|
var data = <?= isset($client_relation) ? json_encode($client_relation) : '[]' ?>;
|
||||||
if (relation_PrimaryKey !== '') {
|
if (relation_PrimaryKey !== '') {
|
||||||
|
console.log('test case k212')
|
||||||
$('#client_rm_edit').show()
|
$('#client_rm_edit').show()
|
||||||
$('#client_rm_btnSubmit').hide();
|
$('#client_rm_btnSubmit').hide();
|
||||||
$.each(data, function(index, item) {
|
$.each(data, function(index, item) {
|
||||||
@ -91,14 +92,13 @@ $(document).ready(function(){
|
|||||||
if ($option.length > 0) {
|
if ($option.length > 0) {
|
||||||
$option.prop('selected', true);
|
$option.prop('selected', true);
|
||||||
}
|
}
|
||||||
$('#account_manager').multiselect('refresh');
|
|
||||||
$('#head').prop('disabled', true);
|
|
||||||
$('#manager').prop('disabled', true);
|
|
||||||
$('#account_manager').multiselect('disable');
|
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('#account_manager').multiselect('refresh');
|
||||||
|
$('#head').prop('disabled', true);
|
||||||
|
$('#manager').prop('disabled', true);
|
||||||
|
$('#account_manager').multiselect('disable');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user