@extends('admin.layouts.app') @section('content')

{{$section->title}}

{{-- @include('admin.components.alert') --}}
{!! Form::model($timing, ['route' => $section->route, 'class' => 'form-validate', 'files' => true, 'enctype' => 'multipart/form-data', 'autocomplete' => 'off']) !!} @method($section->method)
{!! Form::select('appointment_id',$appointmentdate, null, ['class' => ' form-control form-select select2 ']) !!}
{!! Form::time('time', \Carbon\Carbon::now(), ['class' => 'form-control', 'placeholder' => 'Appointment Time', 'required' => 'required', 'id' => 'name']) !!}
@if ($errors->has('appointment_date'))

{{ $errors->first('appointment_date') }}

@endif
@if($section->method == "PUT")
{!! Form::select('status', ['1' => 'Active', '0' => 'Inactive'], null, ['class' => 'form-control form-select select2']); !!}
@endif
{!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-outline-primary']) !!}
{!! Form::close() !!}
@section('scripts') @endsection @endsection