diff --git a/app/Http/Controllers/KhazanahController.php b/app/Http/Controllers/KhazanahController.php
new file mode 100644
index 0000000..22d4b90
--- /dev/null
+++ b/app/Http/Controllers/KhazanahController.php
@@ -0,0 +1,62 @@
+json();
+ return view('homepage.khazanah.menu',compact('cawangan_info','api_url'));
+ }
+
+ public function gadaian()
+ {
+ $auth_user = Auth::user();
+ $api_url = config('api.url');
+ $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json();
+ return view('homepage.khazanah.gadaian',compact('cawangan_info','api_url'));
+ }
+
+ public function tebus()
+ {
+ $auth_user = Auth::user();
+ $api_url = config('api.url');
+ $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json();
+ return view('homepage.khazanah.tebus',compact('cawangan_info','api_url'));
+ }
+
+ public function kelulusan()
+ {
+ $auth_user = Auth::user();
+ $api_url = config('api.url');
+ $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json();
+ return view('homepage.khazanah.kelulusan',compact('cawangan_info','api_url'));
+
+ }
+
+ public function pendahuluan()
+ {
+ $auth_user = Auth::user();
+ $api_url = config('api.url');
+ $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json();
+ return view('homepage.khazanah.pendahuluan',compact('cawangan_info','api_url'));
+
+ }
+
+ public function serahan()
+ {
+ $auth_user = Auth::user();
+ $api_url = config('api.url');
+ $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json();
+ return view('homepage.khazanah.serahan',compact('cawangan_info','api_url'));
+
+ }
+}
diff --git a/package-lock.json b/package-lock.json
index 0ccb59b..c1f2aa8 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3692,12 +3692,6 @@
"moment": "^2.9.0"
}
},
- "de-indent": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz",
- "integrity": "sha1-sgOOhG3DO6pXlhKNCAS0VbjB4h0=",
- "dev": true
- },
"debug": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
@@ -11183,16 +11177,6 @@
"loader-utils": "^1.0.2"
}
},
- "vue-template-compiler": {
- "version": "2.6.12",
- "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.12.tgz",
- "integrity": "sha512-OzzZ52zS41YUbkCBfdXShQTe69j1gQDZ9HIX8miuC9C3rBCk9wIRjLiZZLrmX9V+Ftq/YEyv1JaVr5Y/hNtByg==",
- "dev": true,
- "requires": {
- "de-indent": "^1.0.2",
- "he": "^1.1.0"
- }
- },
"vue-template-es2015-compiler": {
"version": "1.9.1",
"resolved": "https://registry.npmjs.org/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz",
diff --git a/resources/views/homepage/khazanah/gadaian.blade.php b/resources/views/homepage/khazanah/gadaian.blade.php
new file mode 100644
index 0000000..6a4ff68
--- /dev/null
+++ b/resources/views/homepage/khazanah/gadaian.blade.php
@@ -0,0 +1,140 @@
+@extends('layouts.app')
+
+@section('content')
+
+
+
+
+
+
+
+
+
+
+ Scan Barcode Kemasukan Marhun Ke Peti Besi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Masuk Gadaian Untuk Kelulusan
+
+
+
Gadaian : 2
+
+
+
+
+
+ Bil
+ No Rujukan
+ T/Gadai
+ Pinjaman
+ N. Marhun
+ Berat (gm)
+ Dari Teller
+ Marhun
+
+
+
+
+ 1
+ 31231
+ 2321
+ 32
+ 323
+ 323
+ Mahfuz
+ JBG
+
+
+
+
+
+
+
+
+
+
Pengesahan Marhun Dari Khazanah
+
+
+
Semakan Marhun : 2
+
+
+
+
+
+
+
+
+ Bil
+ No Rujukan
+ Masa Terima
+ N. Marhun
+ Berat (gm)
+ Marhun
+
+
+
+
+ 1
+ 31231
+ 2321
+ 32
+ 323
+ 323
+
+
+
+
+
+
+
+
Nilai Marhun Terkumpul (Telah Lulus)
+
+
Berat Keseluruhan
+
+
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/homepage/khazanah/home.blade.php b/resources/views/homepage/khazanah/home.blade.php
index 175c52e..a7c33b1 100644
--- a/resources/views/homepage/khazanah/home.blade.php
+++ b/resources/views/homepage/khazanah/home.blade.php
@@ -7,8 +7,14 @@
diff --git a/resources/views/homepage/khazanah/kelulusan.blade.php b/resources/views/homepage/khazanah/kelulusan.blade.php
new file mode 100644
index 0000000..a35550e
--- /dev/null
+++ b/resources/views/homepage/khazanah/kelulusan.blade.php
@@ -0,0 +1,58 @@
+@extends('layouts.app')
+
+@section('content')
+
+
+
+
+
+
+
+
+
+
+
+
+
+ No Rujukan
+ Tarikh
+ Cawangan
+ Permohonan
+ Komen
+ Tindakan
+
+
+
+
+ 1
+ 31231
+ 2321
+ 32
+ 2321
+ 32
+
+
+
+
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/homepage/khazanah/menu.blade.php b/resources/views/homepage/khazanah/menu.blade.php
new file mode 100644
index 0000000..b023e8d
--- /dev/null
+++ b/resources/views/homepage/khazanah/menu.blade.php
@@ -0,0 +1,23 @@
+@extends('layouts.app')
+
+@section('content')
+
+@endsection
diff --git a/resources/views/homepage/khazanah/pendahuluan.blade.php b/resources/views/homepage/khazanah/pendahuluan.blade.php
new file mode 100644
index 0000000..58d499e
--- /dev/null
+++ b/resources/views/homepage/khazanah/pendahuluan.blade.php
@@ -0,0 +1,79 @@
+@extends('layouts.app')
+
+@section('content')
+
+
+
+
+
+
+
+
+
+
+
+
Pendahuluan
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bil
+ Teller
+
+
+
+
+ 1
+ Teller1
+
+
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/homepage/khazanah/serahan.blade.php b/resources/views/homepage/khazanah/serahan.blade.php
new file mode 100644
index 0000000..b383044
--- /dev/null
+++ b/resources/views/homepage/khazanah/serahan.blade.php
@@ -0,0 +1,79 @@
+@extends('layouts.app')
+
+@section('content')
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bil
+ Teller
+
+
+
+
+ 1
+ Teller1
+
+
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/homepage/khazanah/tebus.blade.php b/resources/views/homepage/khazanah/tebus.blade.php
new file mode 100644
index 0000000..0aa3913
--- /dev/null
+++ b/resources/views/homepage/khazanah/tebus.blade.php
@@ -0,0 +1,100 @@
+@extends('layouts.app')
+
+@section('content')
+
+
+
+
+
+
+
+
+
+
+ Scan Barcode Keluar Marhun Dari Peti Besi
+
+
+
+
+
+
+
+
+
+
Penebusan Penilai
+
+
+
+
+ Bil
+ No Rujukan
+ Penilai
+ Transaksi
+
+
+
+
+ 1
+ 31231
+ 2321
+ 32
+
+
+
+
+
+
+
Telah Scan
+
+
+
+
+ Bil
+ No Rujukan
+ PO / PPO
+ Transaksi
+ Masa
+
+
+
+
+ 1
+ 31231
+ 2321
+ 32
+ 323
+
+
+
+
+
+
+
+
+
Jumlah Surat Gadai : 4
+
+
+
+
+
+
+
+
+@endsection
diff --git a/routes/web.php b/routes/web.php
index 7a2cd8d..56f8b5a 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -43,4 +43,12 @@ Route::post('/gadai/store',['as'=>'gadai.store','uses'=>'GadaianController@store
Route::get('/gadai/batal',['as'=>'gadai.batal','uses'=>'GadaianController@batal'])->middleware('auth','teller');
//Penilai
-Route::get('/gadaiansemasa',['as'=>'gadaian.semasa','uses'=>'GadaianController@gadaiansemasa'])->middleware('auth','penilai');
\ No newline at end of file
+Route::get('/gadaiansemasa',['as'=>'gadaian.semasa','uses'=>'GadaianController@gadaiansemasa'])->middleware('auth','penilai');
+
+//Khazanah
+Route::get('/menu','KhazanahController@menu')->middleware('auth','khazanah');
+Route::get('/khazanahgadaian','KhazanahController@gadaian')->middleware('auth','khazanah');
+Route::get('/khazanahtebus','KhazanahController@tebus')->middleware('auth','khazanah');
+Route::get('/kelulusan','KhazanahController@kelulusan')->middleware('auth','khazanah');
+Route::get('/pendahuluan','KhazanahController@pendahuluan')->middleware('auth','khazanah');
+Route::get('/serahan','KhazanahController@serahan')->middleware('auth','khazanah');
\ No newline at end of file