From 00007a6f4fbc3146461d80645b7badcff2cb45e0 Mon Sep 17 00:00:00 2001 From: Ain Izazi Date: Mon, 27 Jan 2025 14:27:04 +0800 Subject: [PATCH] remove command --- app/Http/Controllers/KhazanahController.php | 41 --------------------- 1 file changed, 41 deletions(-) diff --git a/app/Http/Controllers/KhazanahController.php b/app/Http/Controllers/KhazanahController.php index bad1b2e..ad081f8 100644 --- a/app/Http/Controllers/KhazanahController.php +++ b/app/Http/Controllers/KhazanahController.php @@ -218,47 +218,6 @@ class KhazanahController extends Controller return view('khazanah.pendahuluanserahanmain',compact('cawangan_info','listgldetail','denominasi')); } -// public function pendahuluanserahandaftar(Request $request) -// { -// // Get authenticated user -// $auth_user = Auth::user(); - -// // Retrieve hidden input data if necessary -// $submitted_user_id = $request->input('auth_user'); - -// // API URL from config -// $api_url = config('api.url'); - -// // Fetch branch information -// $cawangan_info = Http::withOptions(['verify' => config('app.api_verify')]) -// ->get($api_url . '/api/cawangan/' . $auth_user['cawangan']) -// ->json(); - -// // Fetch GL details -// $listgldetail = Http::withOptions(['verify' => config('app.api_verify')]) -// ->get($api_url . '/api/listgldetail/' . $auth_user['cawangan'], [ -// 'name' => $auth_user['name'] -// ]) -// ->json(); -// // dd($listgldetail); - -// // Fetch or create denominasi data -// $denominasi = Http::withOptions(['verify' => config('app.api_verify')]) -// ->get($api_url . '/api/DenominasiController/' . $auth_user['cawangan']) -// ->json(); - -// if (sizeof($denominasi) == 0) { -// $denominasi = Http::withOptions(['verify' => config('app.api_verify')]) -// ->post($api_url . '/api/DenominasiCreate/' . $auth_user['cawangan']) -// ->json(); -// } else { -// $denominasi = $denominasi[0]; -// } - -// // Return the view with compacted data -// return view('khazanah.pendahuluanserahanmain', compact('cawangan_info', 'listgldetail', 'denominasi')); -// } - public function dashboard() {