main
ilhamwara 2025-08-04 10:18:00 +07:00
parent 72dbfa50ea
commit fc886e35ae
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ class CSAMController extends Controller
$action = ''; $action = '';
if((permission('is_create', $this->route.'.*','module',false)) || (permission('is_update', $this->route.'.*','module',false))){ if((access('is_create', $this->route.'.*')) || (access('is_update', $this->route.'.*'))){
$action .= '<a href="'.url('kuesioner/update/'.encode_id($row->ms_sekolah_id)).'" data-toggle="tooltip" title="Resume" class="btn btn-xs btn-block btn-primary"><i class="fal fa-eye text-white"></i></a>'; $action .= '<a href="'.url('kuesioner/update/'.encode_id($row->ms_sekolah_id)).'" data-toggle="tooltip" title="Resume" class="btn btn-xs btn-block btn-primary"><i class="fal fa-eye text-white"></i></a>';
} }

View File

@ -83,7 +83,7 @@ class CSAPController extends Controller
$action = ''; $action = '';
if((permission('is_create', $this->route.'.*','module',false)) || (permission('is_update', $this->route.'.*','module',false))){ if((access('is_create', $this->route.'.*')) || (access('is_update', $this->route.'.*'))){
$action .= '<a href="'.url('usulan/csap/update/'.encode_id($row->ms_sekolah_id)).'" data-toggle="tooltip" title="View Data" class="btn btn-xs btn-block btn-primary"><i class="fal fa-edit text-white"></i></a>'; $action .= '<a href="'.url('usulan/csap/update/'.encode_id($row->ms_sekolah_id)).'" data-toggle="tooltip" title="View Data" class="btn btn-xs btn-block btn-primary"><i class="fal fa-edit text-white"></i></a>';
} }