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

{{ $section->title }}

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