@extends('layouts.app') @push('css_lib') @endpush @section('content')

{{trans('lang.appointment_plural')}} |{{trans('lang.appointment_desc')}}

  • {{__('lang.appointment_status')}} @if($appointment->cancel) {{__('lang.appointment_cancel')}} @endif
  • @foreach($appointmentStatuses as $appointmentStatus)
    {{$appointmentStatus->order}} {{$appointmentStatus->status}}
    @if (!$loop->last)
    @endif @endforeach
  • {{__('lang.appointment_id')}} #{{$appointment->id}}
  • {!! getMediaColumn($appointment->doctor,'image','rounded shadow-sm border') !!}
    {{__('lang.appointment_doctor')}} {{$appointment->doctor->name}}{{__('lang.by')}} {{$appointment->clinic->name}}
    @if($appointment->doctor->hasDiscount()) {!! getPrice($appointment->doctor->price) !!} @else {!! getPrice($appointment->doctor->getPrice()) !!} @endif
  • {{__('lang.payment')}}
  • {{__('lang.appointment_hint')}} {{$appointment->hint}}
  • {{__('lang.appointment_taxes_fees')}}
  • @foreach($appointment->taxes as $tax)
  • {{$tax->name}}
    @if($tax->type == 'percent') {{$tax->value .'%'}} @else {!! getPriceColumn($tax,'value') !!} @endif
  • @endforeach
  • {{__('lang.appointment_coupon')}}
  • {{$appointment->coupon->code}} {{getStripedHtmlColumn($appointment->coupon,'description')}}
    @if($appointment->coupon->discount_type == 'percent') {{(-$appointment->coupon->discount) .'%'}} @else {!! getPrice(-$appointment->coupon->discount) !!} @endif
  • {{__('lang.appointment_subtotal')}}
    {!! getPrice($appointment->getSubtotal()) !!}
  • {{__('lang.appointment_total')}}
    {!! getPrice($appointment->getTotal()) !!}
{{__('lang.appointment_user_id')}}
  • {!! getMediaColumn($appointment->patient,'avatar','img-circle shadow-sm border') !!}
    {{$appointment->patient->first_name}}{{$appointment->patient->last_name}} {{$appointment->patient->phone_number}}
    {{__('lang.user_profile')}}
{{__('lang.appointment_time')}}
  • {{__('lang.appointment_appointment_at')}} {{$appointment->appointment_at}}
  • {{__('lang.appointment_start_at')}} {{$appointment->start_at ?: '-'}}
  • {{__('lang.appointment_ends_at')}} {{$appointment->ends_at ?: '-'}}
{{__('lang.appointment_address')}}
@endsection @push('scripts_lib') {{-- --}} @endpush @push('scripts') @endpush