remove command
This commit is contained in:
@@ -218,47 +218,6 @@ class KhazanahController extends Controller
|
|||||||
return view('khazanah.pendahuluanserahanmain',compact('cawangan_info','listgldetail','denominasi'));
|
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()
|
public function dashboard()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user