2020-05-01 04:42:19 +00:00
|
|
|
@extends('adminlte::page')
|
|
|
|
|
2020-09-01 13:40:41 +00:00
|
|
|
@section('title', config('app.name') . ' | ' . __('messages.application_m.title'))
|
2020-05-01 04:42:19 +00:00
|
|
|
|
|
|
|
@section('content_header')
|
|
|
|
|
2020-09-01 13:40:41 +00:00
|
|
|
<h4>{{__('messages.application_m.title')}} / {{__('messages.application_m.outstanding_apps')}}</h4>
|
2020-05-01 04:42:19 +00:00
|
|
|
|
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('js')
|
|
|
|
|
|
|
|
<script type="text/javascript" src="/js/app.js"></script>
|
|
|
|
|
|
|
|
@stop
|
|
|
|
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col">
|
|
|
|
<div class="callout callout-info">
|
2020-09-01 13:40:41 +00:00
|
|
|
<p>{{__('messages.application_m.no_outstanding')}}</p>
|
|
|
|
<p>{{__('messages.application_m.no_outstanding_exp')}}</p>
|
2020-05-22 02:49:16 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2020-05-01 04:42:19 +00:00
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col">
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
|
|
|
|
<div class="card-header">
|
|
|
|
|
2020-09-01 13:40:41 +00:00
|
|
|
<div class="card-title"><h4>{{__('messages.application_m.outstanding_apps')}}</h4></div>
|
2020-05-01 04:42:19 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
@if (!$applications->isEmpty())
|
|
|
|
<table class="table" style="white-space: nowrap">
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
<thead>
|
2020-05-01 04:42:19 +00:00
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th>#</th>
|
2020-09-01 13:40:41 +00:00
|
|
|
<th>{{__('messages.application_m.applicant_name')}}</th>
|
|
|
|
<th>{{__('messages.reusable.status')}}</th>
|
|
|
|
<th>{{__('messages.application_m.application_date')}}</th>
|
|
|
|
<th>{{__('messages.last_updated')}}</th>
|
|
|
|
<th>{{__('messages.reusable.status')}}</th>
|
2020-05-01 04:42:19 +00:00
|
|
|
</tr>
|
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
</thead>
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
<tbody>
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
@foreach($applications as $application)
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
<tr>
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
<td>{{$application->id}}</td>
|
|
|
|
<td>{{$application->user->name}}</td>
|
2020-09-01 13:40:41 +00:00
|
|
|
<td><span class="badge badge-warning">{{($application->applicationStatus == 'STAGE_SUBMITTED') ? __('messages.application_m.outstanding_sm') : __('messages.application_m.unknown_stat')}}</span></td>
|
2020-05-22 02:49:16 +00:00
|
|
|
<td>{{$application->created_at}}</td>
|
|
|
|
<td>{{$application->updated_at}}</td>
|
|
|
|
<td>
|
2020-09-01 13:40:41 +00:00
|
|
|
<button type="button" class="btn btn-sm btn-warning" onclick="window.location.href='{{route('showUserApp', ['application' => $application->id])}}'"><i class="fas fa-clipboard-check"></i> {{__('messages.application_r.review')}}</button>
|
2020-05-22 02:49:16 +00:00
|
|
|
</td>
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
</tr>
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
@endforeach
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
</tbody>
|
2020-05-01 05:21:44 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
</table>
|
|
|
|
@else
|
2020-05-01 05:21:44 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
<div class="alert alert-warning">
|
2020-09-01 13:40:41 +00:00
|
|
|
<i class="fas fa-exclamation-triangle"></i><b> {{__('messages.application_m.no_pending')}}</b>
|
|
|
|
<p>{{__('messages.application_m.no_pending_exp')}}</p>
|
2020-05-22 02:49:16 +00:00
|
|
|
</div>
|
2020-05-01 05:21:44 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
@endif
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
</div>
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
<div class="card-footer text-center">
|
2020-05-01 04:42:19 +00:00
|
|
|
|
2020-09-01 13:40:41 +00:00
|
|
|
<button type="button" class="btn btn-success" onclick="window.location.href='{{route('pendingInterview')}}'">{{__('messages.application_m.view_interview_queue')}}</button>
|
2020-05-01 04:42:19 +00:00
|
|
|
|
|
|
|
</div>
|
2020-05-22 02:49:16 +00:00
|
|
|
|
2020-05-01 04:42:19 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|
2020-07-16 05:46:20 +00:00
|
|
|
|
|
|
|
@section('footer')
|
|
|
|
@include('breadcrumbs.dashboard.footer')
|
|
|
|
@stop
|