This commit is contained in:
hafifierahman
2022-05-26 15:37:53 +08:00
10 changed files with 11466 additions and 174 deletions
@@ -66,7 +66,7 @@ class LoginController extends Controller
if($auth_user['roles'] === 'operasi' || $auth_user['roles'] === 'admin'){
return redirect()->route('home');
}else if($auth_user['roles'] === 'akaun'){
}else if($auth_user['roles'] === 'akaun'){
return redirect()->route('akaun.home');
}
else{
+17
View File
@@ -15,6 +15,23 @@ class LelongController extends Controller
$api_url = config('api.url');
$auth_user = Auth::user();
return view('lelong.mainlelong',compact('api_url','auth_user'));
}
public function notislelong()
{
$api_url = config('api.url');
$auth_user = Auth::user();
return view('lelong.notislelong',compact('api_url','auth_user'));
}
public function notislelong2()
{
$api_url = config('api.url');
$auth_user = Auth::user();
return view('lelong.notislelongfasa2',compact('api_url','auth_user'));
}
}