@extends('layouts.admin') @section('page-title') {{__('Manage Job Application')}} @endsection @push('css-page') @endpush @push('script-page') {{-- --}} @endpush @section('breadcrumb') @endsection @section('action-btn')
{{-- --}} @can('create job application') @endcan
@endsection @section('content')
{{ Form::open(array('route' => array('job-application.index'),'method'=>'get','id'=>'applicarion_filter')) }}
{{Form::label('start_date',__('Start Date'),['class'=>'form-label'])}} {{Form::date('start_date',$filter['start_date'],array('class'=>'month-btn form-control '))}}
{{Form::label('end_date',__('End Date'),['class'=>'form-label'])}} {{Form::date('end_date',$filter['end_date'],array('class'=>'month-btn form-control '))}}
{{ Form::label('job', __('Job'),['class'=>'form-label']) }} {{ Form::select('job', $jobs,$filter['job'], array('class' => 'form-control select')) }}
{{ Form::close() }}
@php $json = []; foreach ($stages as $stage){ $json[] = 'task-list-'.$stage->id; } @endphp
@foreach($stages as $stage) @php $applications = $stage->applications($filter) @endphp
{{count($applications)}}

{{$stage->title}}

@foreach($applications as $application)
{{$application->name}}
@if(Auth::user()->type != 'client')
@endif
    @for($i=1; $i<=5; $i++) @if($i <= $application->rating) @else @endif @endfor
    {{ !empty($application->jobs)?$application->jobs->title:'' }}
  • {{\Auth::user()->dateFormat($application->created_at)}}
  • {{-- {{count($sources)}}--}}
profile) src="{{asset('/storage/uploads/job/profile/'.$application->profile)}}" @else src="{{asset('/storage/uploads/avatar/avatar.png')}}" @endif class="hweb">
@endforeach
@endforeach
@endsection