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

{{trans('lang.booking_plural')}} |{{trans('lang.booking_desc')}}

  • {{__('lang.booking_status')}} @if($booking->cancel) {{__('lang.booking_cancel')}} @endif
  • @foreach($bookingStatuses as $bookingStatus)
    {{$bookingStatus->order}} {{$bookingStatus->status}}
    @if (!$loop->last)
    @endif @endforeach
  • {{__('lang.booking_id')}} #{{$booking->id}}
  • @foreach($booking->e_services as $eService)
  • {!! getMediaColumn($eService,'image','rounded shadow-sm border') !!}
    {{$eService->name}} {{__('lang.by')}} {{$booking->salon->name}}
    @if($eService->hasDiscount()) {!! getPrice($eService->price) !!} @endif {!! getPrice($eService->getPrice()) !!}
  • @endforeach
  • {{__('lang.option_plural')}}
  • @foreach($booking->options as $option)
  • {!! getMediaColumn($option,'image','rounded shadow-sm border','') !!} {{$option->name}} {{getStripedHtmlColumn($option,'description')}}
    {!! getPriceColumn($option) !!}
  • @endforeach
  • {{__('lang.payment')}}
  • {{__('lang.payment_status')}} {{empty(!$booking->payment) ? $booking->payment->paymentStatus->status : '-'}}
  • {{__('lang.payment_method')}} {{empty(!$booking->payment) ? $booking->payment->paymentMethod->name : '-'}}
  • {{__('lang.booking_hint')}} {{$booking->hint}}
  • {{__('lang.booking_taxes_fees')}}
  • @foreach($booking->taxes as $tax)
  • {{$tax->name}}
    @if($tax->type == 'percent') {{$tax->value .'%'}} @else {!! getPriceColumn($tax,'value') !!} @endif
  • @endforeach
  • {{__('lang.booking_coupon')}}
  • {{$booking->coupon->code}} {{getStripedHtmlColumn($booking->coupon,'description')}}
    {!! getPrice(-$booking->coupon->value) !!}
  • {{__('lang.booking_subtotal')}}
    {!! getPrice($booking->getSubtotal()) !!}
  • {{__('lang.booking_total')}}
    {!! getPrice($booking->getTotal()) !!}
{{__('lang.booking_user_id')}}
  • {!! getMediaColumn($booking->user,'avatar','img-circle shadow-sm border') !!}
    {{$booking->user->name}} {{$booking->user->email}} {{$booking->user->phone_number}}
    {{__('lang.user_profile')}}
{{__('lang.booking_time')}}
  • {{__('lang.booking_booking_at')}} {{$booking->booking_at}}
  • {{__('lang.booking_start_at')}} {{$booking->start_at ?: '-'}}
  • {{__('lang.booking_ends_at')}} {{$booking->ends_at ?: '-'}}
  • {{__('lang.e_service_duration')}}{{$booking->getDurationInHours()}} {{__('lang.booking_hours')}}
{{__('lang.booking_address')}}
@endsection @push('scripts_lib') {{-- --}} @endpush