@extends('backEnd.master') @section('title') @lang('front_settings.front_academic_calendar') @endsection @section('mainContent')
@if (isset($add_front_academic_calendar)) {{ Form::open([ 'class' => 'form-horizontal', 'files' => true, 'route' => 'front-academic-calendar-update', 'method' => 'POST', 'enctype' => 'multipart/form-data', ]) }} @else @if (userPermission('front-academic-calendar-store')) {{ Form::open([ 'class' => 'form-horizontal', 'files' => true, 'route' => 'front-academic-calendar-store', 'method' => 'POST', 'enctype' => 'multipart/form-data', ]) }} @endif @endif

@if (isset($add_front_academic_calendar)) @lang('front_settings.edit_front_academic_calendar') @else @lang('front_settings.front_academic_calendar') @endif

@if ($errors->has('title')) {{ $errors->first('title') }} @endif
@if ($errors->has('publish_date')) {{ $errors->first('publish_date') }} @endif
(jpg,png,jpeg,pdf are allowed for upload)
@if ($errors->has('calendar_file')) {{ $errors->first('calendar_file') }} @endif
{{ Form::close() }}

@lang('front_settings.front_academic_calendar_list')

@foreach ($frontAcademicCalendars as $key => $value) @endforeach
@lang('common.sl') @lang('front_settings.title') @lang('front_settings.date') @lang('common.action')
{{ $key + 1 }} {{ @$value->title }} {{ date('m/d/Y', strtotime(@$value->publish_date)) }} @if ($value->calendar_file) @lang('front_settings.download') @endif @lang('common.edit') @lang('common.delete')
@endsection @include('backEnd.partials.data_table_js') @include('backEnd.partials.date_picker_css_js')