@extends('layouts.admin.layout') @section('title') {{ $website_lang->where('lang_key','appointment')->first()->custom_lang }} @endsection @section('admin-content')
@if ($appointment->lawyer->prescription_address)
{{ $appointment->lawyer->prescription_address }}
@endif @if ($appointment->lawyer->prescription_phone)
{{ $appointment->lawyer->prescription_phone }}
@endif @if ($appointment->lawyer->prescription_email) @endif

{{ $appointment->lawyer->name }}

{{ $appointment->lawyer->designations }}

@if ($isRtl=='RTL') {{ $appointment->user->name }} : {{ $website_lang->where('lang_key','client_name')->first()->custom_lang }} @else {{ $website_lang->where('lang_key','client_name')->first()->custom_lang }}: {{ $appointment->user->name }} @endif
@if ($isRtl=='RTL') {{ $appointment->user->email }} : {{ $website_lang->where('lang_key','email')->first()->custom_lang }} @else {{ $website_lang->where('lang_key','email')->first()->custom_lang }}: {{ $appointment->user->email }} @endif
@if ($isRtl=='RTL') {{ date('m-d-Y',strtotime($appointment->date)) }} : {{ $website_lang->where('lang_key','date')->first()->custom_lang }} @else {{ $website_lang->where('lang_key','date')->first()->custom_lang }}: {{ date('m-d-Y',strtotime($appointment->date)) }} @endif

{{ $website_lang->where('lang_key','subject')->first()->custom_lang }}: {{ $appointment->prescription->subject }}

{!! clean($appointment->prescription->description) !!}

@if ($appointment->prescription->prescriptionFile->count()>0)

{{ $website_lang->where('lang_key','important_doc')->first()->custom_lang }}:

    @foreach ($appointment->prescription->prescriptionFile as $item)
  1. {{ $item->file }}
  2. @endforeach
@endif
@endsection