@extends('layout.master') @section('css') @stop @section('content')

{{ 'Appointment Details' }}

{{ $appointment->get_doctor_details->username }}
{{ $appointment->get_patient_details->username }}
{{ date(config('app.date_format'), strtotime($appointment->appointment_date)) }}
@if ($appointment->status == 1)
Pending
@elseif ($appointment->status==2)
Not Visited
@elseif ($appointment->status==3)
Visited
@else --- @endif
@if ($user->role_id == 5) {{ $user->username }} {{ '( Patient )' }} @elseif ($user->role_id==2) {{ $user->username }} {{ '( Doctor )' }} @else --- @endif
@stop @section('script') @stop