diff --git a/app/Http/Controllers/ApplicationController.php b/app/Http/Controllers/ApplicationController.php index 8e2fac7..593c40f 100644 --- a/app/Http/Controllers/ApplicationController.php +++ b/app/Http/Controllers/ApplicationController.php @@ -7,9 +7,14 @@ use Illuminate\Http\Request; class ApplicationController extends Controller { - public function showPendingUserApplications() + public function showPendingUserApps() { return view('dashboard.user.applications'); } + public function showDeniedUserApps() + { + return view('dashboard.user.deniedapplications'); + } + } diff --git a/resources/views/dashboard/user/applications.blade.php b/resources/views/dashboard/user/applications.blade.php index 8fc3099..48fe7ca 100644 --- a/resources/views/dashboard/user/applications.blade.php +++ b/resources/views/dashboard/user/applications.blade.php @@ -41,6 +41,8 @@ # Applicant + Application Date + Updated On Status Actions @@ -49,6 +51,8 @@ 1. Jonathan Smith + 2020-04-28 + 2020-04-29 Approved diff --git a/resources/views/dashboard/user/deniedapplications.blade.php b/resources/views/dashboard/user/deniedapplications.blade.php new file mode 100644 index 0000000..09dcadf --- /dev/null +++ b/resources/views/dashboard/user/deniedapplications.blade.php @@ -0,0 +1,83 @@ +@extends('adminlte::page') + +@section('title', 'Raspberry Network | Applications') + +@section('content_header') + +

My Account / Denied Applications

+ +@stop + +@section('content') + +
+ +
+ +
+
Info on denied applications
+ +

Please note that all applications listed on this page have been denied by the staff team / applications team.

+

The system will only let you apply every thirty days. Your previous applications will be kept for your reference, but you can always delete them here.

+
+ +
+ +
+ +
+ +
+ +
+
+

My Denied Applications

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + +
#ApplicantApplication DateDenial DateActions
1.Jonathan Smith2020-04-282020-04-30Denied + + + + +
+ +
+ + + +
+ +
+ +
+ +@stop diff --git a/routes/web.php b/routes/web.php index 4423f36..d3c38aa 100644 --- a/routes/web.php +++ b/routes/web.php @@ -25,7 +25,8 @@ Route::group(['middleware' => 'auth'], function(){ Route::group(['prefix' => '/applications'], function (){ - Route::get('/pending', 'ApplicationController@showPendingUserApplications'); + Route::get('/pending', 'ApplicationController@showPendingUserApps'); + Route::get('/denied', 'ApplicationController@showDeniedUserApps'); });