@extends('layouts.master-layouts') @section('title') {{ __('Book Appointment') }} @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('title') Book Appointment @endslot @slot('li_1') Dashboard @endslot @slot('li_2') Appointment @endslot @endcomponent
{{ __('Sr.No.') }} | @if ($role == 'patient'){{ __('Doctor Name') }} | {{ __('Doctor Number') }} | @elseif($role == 'doctor'){{ __('Patient Name') }} | {{ __('Patient Number') }} | @else{{ __('Patient Name') }} | {{ __('Doctor Name') }} | {{ __('Patient Number') }} | @endif{{ __('Time') }} |
---|---|---|---|---|---|---|---|---|
{{ $i }} | {{ $appointment->patient->first_name . ' ' . $appointment->patient->last_name }} | {{ @$appointment->doctor->user->first_name . ' ' . @$appointment->doctor->user->last_name }} | {{ $appointment->patient->mobile }} | {{ $appointment->timeSlot->from . ' to ' . $appointment->timeSlot->to }} | ||||
{{ $i }} | {{ $appointment->patient->first_name . ' ' . $appointment->patient->last_name }} | {{ $appointment->patient->mobile }} | {{ $appointment->timeSlot->from . ' to ' . $appointment->timeSlot->to }} | |||||
{{ $i }} | {{ @$appointment->doctor->user->first_name . ' ' . @$appointment->doctor->user->last_name }} | {{ @$appointment->doctor->user->mobile }} | {{ $appointment->timeSlot->from . ' to ' . $appointment->timeSlot->to }} |