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

{{ $section->title }}

@if( $appointmentstimes ) @foreach( $appointmentstimes as $result ) @if(isset($result->appointment->appointment_date)) @else @endif @endforeach @endif
ID Appointment Time Appointment Date Status Action
{{$result->id }} {{ucfirst($result->time)}}{{ucfirst($result->appointment->appointment_date)}}
    @if($result->status == 1)
  • Active
  • @else
  • Inactive
  • @endif
@php $prodID = Crypt::encrypt($result->id); @endphp
{{ Form::open(['route' => ['time.destroy', $result->id], 'method' => 'delete']) }} {{ Form::button('', [ 'type' => 'submit', 'class' => 'btn btn-dim btn-danger']) }} {{ Form::close() }}
@endsection