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

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

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

{{ $website_lang->where('lang_key','name')->first()->custom_lang }}: {{ $appointment->user->name }}
{{ $website_lang->where('lang_key','email')->first()->custom_lang }}: {{ $appointment->user->email }} Years
{{ $website_lang->where('lang_key','date')->first()->custom_lang }}: {{ date('m-d-Y',strtotime($appointment->date)) }}
@csrf
@if ($appointment->prescription->prescriptionFile->count()>0)

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

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