@extends('backEnd.master') @section('title') @lang('student.sms_sending_time') @endsection @push('css') @endpush @section('mainContent')
@if (isset($editData)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'absent_time_setup_update', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @else {{ Form::open([ 'class' => 'form-horizontal', 'files' => true, 'route' => 'absent_time_setup', 'method' => 'POST', 'enctype' => 'multipart/form-data', ]) }} @endif

@if (isset($editData)) @lang('student.edit_time_setup') @else @lang('student.add_time_setup') @endif

@if ($errors->has('start_time')) {{ $errors->first('start_time') }} @endif
{{--
@if ($errors->has('end_time')) {{ $errors->first('end_time') }} @endif
--}}
@if ($errors->has('active_status')) {{ $errors->first('active_status') }} @endif
{{ Form::close() }}

@lang('student.time_setup_list')

{{-- --}} @foreach ($setups as $item) {{-- --}} @endforeach
@lang('student.time')@lang('student.end_time')@lang('common.status') @lang('common.action')
{{ @$item->time_from }}{{@$item->time_to}} @if ($item->active_status == 1) @lang('common.active') @else @lang('common.pending') @endif @lang('common.edit') @lang('common.delete')
@endsection @include('backEnd.partials.date_picker_css_js') @include('backEnd.partials.data_table_js')