diff --git a/app/Http/Controllers/TetapanController.php b/app/Http/Controllers/TetapanController.php new file mode 100644 index 0000000..9af46b1 --- /dev/null +++ b/app/Http/Controllers/TetapanController.php @@ -0,0 +1,20 @@ + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Bil + + Norujukan + + Pembiayaan + + Cetak + + Serah + + Semak Barcode + + Tindakan +
+
+
+

+ Tiada data yang diperolehi dalam carian +

+
+
+
+
+
+

+

+
+
+
+
+
+

+

+
+
+
+
+
+

+

+
+
+
+
+
+

+

+
+
+
+
+
+

+

+
+
+
+
+
+

+

+
+
+
+
+ + + + +
+
+ + + +
+ +
+ + testshowsag +
+ +
+ + \ No newline at end of file diff --git a/resources/js/app.js b/resources/js/app.js index b89c723..32b4ad3 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -234,6 +234,9 @@ Vue.component('wtdindex-component', require('./WTD/index.vue').default) //Audit Vue.component('audit-component', require('./Audit/Home.vue').default) +//Tetapan +Vue.component('tetapan-component', require('./Tetapan/index.vue').default) + diff --git a/resources/views/layouts/sidebar.blade.php b/resources/views/layouts/sidebar.blade.php index dba10b6..af9ab85 100644 --- a/resources/views/layouts/sidebar.blade.php +++ b/resources/views/layouts/sidebar.blade.php @@ -20,10 +20,13 @@ @if(Auth::user()->roles == 'admin') - +
  • - + @@ -34,60 +37,76 @@
  • - -
  • -
    - - - - - - Tunai -
    -
  • -
    - - -
  • -
    - - - - - Peti Besi -
    -
  • -
    - - -
  • -
    - - - - - Pelanggan -
    -
  • -
    - - +
  • - - - + + + + + + Tunai +
    +
  • +
    + + +
  • +
    + + + + + Peti Besi +
    +
  • +
    + + +
  • +
    + + + + + Pelanggan +
    +
  • +
    + + +
  • +
    + + + Online
  • - - + +
  • - - + + Laporan
    @@ -95,23 +114,28 @@
    {{-- -
  • -
    - - - - Permissions -
    -
  • +
  • +
    + + + + Permissions +
    +
  • --}} @elseif(Auth::user()->roles == 'operasi') - +
  • - + @@ -122,157 +146,210 @@
  • - - + +
  • - - - - Bajet + + + + Bajet
  • - +
  • - - - + + + Blacklist
  • - +
  • {{-- --}} - - - + + + Lelong
  • - +
  • - - + + WTD
  • - {{-- +
  • - - - - Kelulusan + + + + + Tetapan
  • +
    + + + {{-- +
  • +
    + + + + Kelulusan +
    +
  • --}} - +
  • - - + + Laporan
  • - {{-- -
  • -
    - - - - Permohonan -
    -
  • + {{--
    +
  • +
    + + + + Permohonan +
    +
  • --}} @elseif(Auth::user()->roles == 'akaun') - +
  • - - + + Audit
  • - +
  • - - + + Laporan
  • - {{-- -
  • -
    - - - - Permohonan -
    -
  • + {{--
    +
  • +
    + + + + Permohonan +
    +
  • --}} @endif - +

    Profil


    -
  • -
    - - - - - Pengguna -
    -
  • +
  • +
    + + + + + Pengguna +
    +
  • -
  • -
    - - - - Arkib -
    -
  • +
  • +
    + + + + Arkib +
    +
  • - +
    -
    - \ No newline at end of file + diff --git a/resources/views/tetapan/index.blade.php b/resources/views/tetapan/index.blade.php new file mode 100644 index 0000000..1678963 --- /dev/null +++ b/resources/views/tetapan/index.blade.php @@ -0,0 +1,18 @@ + +@extends('layouts.app') + +@section('content') + +
    +
    + +
    + + + + + +
    +
    + @include('layouts.footer') +@endsection diff --git a/routes/web.php b/routes/web.php index 3ef9719..be3350e 100644 --- a/routes/web.php +++ b/routes/web.php @@ -121,6 +121,11 @@ Route::get('/audit',['as'=>'audit.index','uses'=>'App\Http\Controllers\AkaunCont Route::get('/audit/cetakan', ['as'=>'audit.cetak','uses'=>'App\Http\Controllers\AkaunController@CetakSenarai']); +//Tetapan Server +Route::get('/tetapan',['as'=>'tetapan','uses'=>'App\Http\Controllers\TetapanController@index'])->middleware(['roleChecker:null,null,operasi']); + + + Route::get('{any}', function () { return view('home');