diff --git a/Http/Controllers/KonfirmasiBankController.php b/Http/Controllers/KonfirmasiBankController.php index 788b3fd..5bd8a64 100644 --- a/Http/Controllers/KonfirmasiBankController.php +++ b/Http/Controllers/KonfirmasiBankController.php @@ -170,9 +170,10 @@ } + public function addFasilitas(Request $request){ - if (is_null($this->user) || !$this->user->can('konfirmasibank.report')) { + if (is_null($this->user) || !$this->user->can('konfirmasibank.create')) { abort(403, 'Sorry !! You are Unauthorized to view any master data !'); } diff --git a/Resources/views/pages/index.blade.php b/Resources/views/pages/index.blade.php index 0fded58..4f61725 100644 --- a/Resources/views/pages/index.blade.php +++ b/Resources/views/pages/index.blade.php @@ -56,7 +56,7 @@ class="path2"> Export Report - +