@extends('backend.layout.app') @section('sub_header') @component('backend.layout.components.sub-header') @slot('title') {{ $title }} @endslot {{ __('main.bookings') }} @slot('toolbar')
  • {{ __('main.edit') }} {{ __('main.booking') }}
  • {{ __('main.show-all') }} {{ __('main.bookings') }}
  • {{ __('main.add_new') }} {{ __('main.bookings') }}
  • @endslot @endcomponent @endsection @section('content')

    {{ $title }}

    {{-- --}}
    {{ __('main.name') }} : {{ $show->patient?$show->patient->name:"N/A" }}
    {{ __('main.phone') }} : {{$show->patient? $show->patient->phone:"N/A" }}
    {{ __('main.secondary_phone') }} : {{$show->patient? $show->patient->secondary_phone:"N/A" }}
    {{ __('main.occupation') }} : {{ $show->patient? $show->patient->occupation:"N/A" }}
    {{ __('main.location') }}: {{ $show->patient && $show->patient->location ?$show->patient->location->name_val:"N/A" }}
    {{ __('main.clinic') }}: {{ $show->clinic?$show->clinic->name_val:"N/A" }}
    {{ __('main.appointment') }} : {{ $show->appointment_date." ".$show->appointment_time }}
    @if($show->patient)
    {{ __('main.patient') }}: {{ $show->patient->name}}
    {{ __('main.patient_type') }}: {{ $show->patientType?$show->patientType->name_val:"" }}
    {{ __('main.fees') }}: {{ $show->paid_price? $show->paid_price." LE":""}}
    @endif
    {{ __('main.comments') }}: {{ $show->comments }}
    {{ __('main.created_at') }}: {{ $show->created_at }}
    @endsection