diff --git a/app/Http/Controllers/KhazanahController.php b/app/Http/Controllers/KhazanahController.php index f69e9b6..2549bea 100644 --- a/app/Http/Controllers/KhazanahController.php +++ b/app/Http/Controllers/KhazanahController.php @@ -3508,8 +3508,10 @@ class KhazanahController extends Controller //Dashboardall $dashboard=Http::withOptions(['verify' => config('app.api_verify')])->get( config('api.url').'/api/Dashboard_all/'.$auth_user['cawangan'])->json(); - // dd($dashboard); - return view('khazanah.permohonanwang', compact('cawangan_info','api_url','getVault','tarikhsemasa','dashboard')); + $permohonan = Http::withOptions(['verify' => config('app.api_verify')])->get( config('api.url').'/admin/permohonan/get/'.$auth_user['cawangan'])->json(); + + + return view('khazanah.permohonanwang', compact('cawangan_info','api_url','getVault','tarikhsemasa','dashboard','permohonan')); } public function SimpanPermohonan(Request $request){ @@ -3534,5 +3536,19 @@ class KhazanahController extends Controller return redirect()->back()->with('error', 'Permohonan Tidak Berjaya!'); } } + + public function StatusPermohonan($mohonid){ + + $auth_user = Auth::user(); + $api_url = config('api.url'); + + $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json(); + + $permohonan = Http::withOptions(['verify' => config('app.api_verify')])->get( config('api.url').'/admin/permohonan/get/'.$auth_user['cawangan'] .'/' . $mohonid)->json(); + + + return view('khazanah.status', compact('cawangan_info','api_url','permohonan')); + + } } diff --git a/public/img/approval.jpg b/public/img/approval.jpg new file mode 100644 index 0000000..c924cc6 Binary files /dev/null and b/public/img/approval.jpg differ diff --git a/public/img/chequetick.png b/public/img/chequetick.png new file mode 100644 index 0000000..8655ac0 Binary files /dev/null and b/public/img/chequetick.png differ diff --git a/public/img/leaderapproval.png b/public/img/leaderapproval.png new file mode 100644 index 0000000..4325529 Binary files /dev/null and b/public/img/leaderapproval.png differ diff --git a/public/img/money.png b/public/img/money.png new file mode 100644 index 0000000..b9422d0 Binary files /dev/null and b/public/img/money.png differ diff --git a/public/img/operasicek.png b/public/img/operasicek.png new file mode 100644 index 0000000..e3450d5 Binary files /dev/null and b/public/img/operasicek.png differ diff --git a/public/img/proposal.png b/public/img/proposal.png new file mode 100644 index 0000000..7ba83aa Binary files /dev/null and b/public/img/proposal.png differ diff --git a/resources/views/khazanah/permohonanwang.blade.php b/resources/views/khazanah/permohonanwang.blade.php index cbd5f42..882b7ed 100644 --- a/resources/views/khazanah/permohonanwang.blade.php +++ b/resources/views/khazanah/permohonanwang.blade.php @@ -44,19 +44,30 @@
+
+ PPC / PC
Mohon Wang
+
+ Operasi
Mengesahkan
Permohonan
+
+ Akaun
Mengesahkan
Permohonan
+
+ PB
Mengesahkan
Permohonan
+
+ Akaun
Menghantar
Deposit
+
+ PPC / PC
Terima Wang