@extends('layouts.admin') @section('page-title') {{__('Manage Interview Schedule')}} @endsection @push('css-page') {{-- --}} @endpush @section('breadcrumb') @endsection @push('script-page') @endpush @section('action-btn')
@can('create interview schedule') @endcan
@endsection @section('content')
{{ __('Calendar') }}

{{__('Schedule List')}}

  • @if(!$schedules->isEmpty()) @foreach ($schedules as $schedule)
    {{!empty($schedule->applications) ? !empty($schedule->applications->jobs) ? $schedule->applications->jobs->title : '' : ''}}

    {{ !empty($schedule->applications)?$schedule->applications->name:'' }}

    {{ \Auth::user()->dateFormat($schedule->date).' '. \Auth::user()->timeFormat($schedule->time) }}

    @can('edit interview schedule')
    @endcan @can('delete interview schedule')
    {!! Form::open(['method' => 'DELETE', 'route' => ['interview-schedule.destroy', $schedule->id],'id'=>'delete-form-'.$schedule->id]) !!} {!! Form::close() !!}
    @endcan
    @endforeach @else
    {{__('No Interview Scheduled!')}}
    @endif
@endsection