@extends('layouts.land.master_top') @section('title', prox_sett('clinicname') . " تقييم زيارة في") @section('css') @endsection @if (Session::has('success'))

Sent Successfully

{{ Session::get('success') }}

@endif @section('content')

Rate Your Appointment

Home / Rate Appointment

@if ($status == 1)

{{ date('d M Y', strtotime($appointment->start_at)) }}

{{ $appointment->patient->name }}

{{ $appointment->patient->phone_number }}

{{ __('basic.branch') }}

{{ $appointment->branch->name }}

{{ __('basic.doctor') }}

@if ($appointment->doctor) {{ $appointment->doctor->name }} @else No Doctor @endif

{{ __('basic.creator') }}

{{ $appointment->creator->name }}

{!! QrCode::color(68, 95, 129)->size(60)->style('round')->eye('circle')->generate($appointment->code) !!}

{{ $appointment->code }}


@if (in_array($appointment->status, [2, 3, 4]))
@csrf @method('POST')
@error('rate_service') {{ $message }} @enderror
@error('rate_doctor') {{ $message }} @enderror
@error('rate_reception') {{ $message }} @enderror
@error('rate_time') {{ $message }} @enderror
@error('rate_cleanliness') {{ $message }} @enderror
@error('rate_note') {{ $message }} @enderror
@elseif ($appointment->status == 6)
@csrf @method('POST')
@error('rate_note') {{ $message }} @enderror
@else

Sorry, You can not rate this appointment

@endif
@else

Sorry, You have rated this appointment before

@endif @endsection @section('js') @endsection