@extends('layouts.app') @section('header')
@endsection @section('content')
@foreach($appointments as $appointment) @endforeach
Patient Name Doctor Name At Action
{{ \FormHelper::patientUserName($appointment->patient_id) }} {{ $appointment->user->firstname.' '.$appointment->user->lastname }} {{ date("d-m-Y H:i:s", strtotime($appointment->at)) }} {{-- edit --}} Delete
@endsection @section('scripts') @include('layouts.datatables', ['id' => 'dt-appointment']) @endsection