@lang('global.reservation_details')
| @lang('global.service') |
@lang('global.section') |
@lang('global.price') |
@lang('global.notes') |
@lang('global.additional_options') |
| {{ $order->sitem_title }} |
{{ $order->section }} |
@if ($order->price == 0)
---
@else
{{ $order->price }}
@endif
|
{{ $order->notes ?? __('global.not_exists') }} |
@if ($order->details->options ?? null)
@foreach ($order->details->options as $option)
{{ $option->title->$locale }}
@foreach ($option->choices as $choice)
-
{{ $choice->title->$locale }}
@if ($choice->quantity)
({{ $choice->quantity }})
@endif
@endforeach
@endforeach
@else
@lang('global.not_exists')
@endif
|
@lang('global.spa')
{{ $order->branch->spa->title }}
@lang('validation.attributes.created_at')
{{ $order->created_at }}
@lang('global.reservation_number')
{{ $order->number }}
@if ($order->notes)
@lang('global.notes')
{!! $order->notes !!}
@endif
@if ($order->rejection_notes)
@lang('validation.attributes.rejection_notes')
{!! $order->rejection_notes !!}
@endif
@if ($order->undone_notes)
@lang('validation.attributes.undone_notes')
{{ $order->undone_notes }}
@endif
@lang('global.reservation_status')
@switch($order->status->title)
@case('initiated')
@lang('global.initiated')
@break
@case('undone')
@lang('global.undone')
@break
@case('confirmed')
@lang('global.confirmed')
@break
@case('done')
@lang('global.done')
@break
@case('rejected')
@lang('global.rejected')
@if (in_array($order->transaction?->status, ['voided', 'refunded']))
- @lang('global.refunded')
@endif
@break
@endswitch
@lang('global.payment_method')
@lang("global.payment_methods.$order->payment_method")
@lang('global.reservation_date')
@if ($order->appointment_time)
{{ $order->appointment_time->format('Y-m-d h:i a') }}
@else
{{ $order->start_date }} -- {{ $order->end_date }}
@endif
@lang('global.financial_details')
@lang('validation.attributes.total_price')
@if ($order->price == 0)
---
@else
{{ $order->price }}
@endif
@lang('global.paid_amount')
{{ $order->financial->amount_paid_by_customer }}
@if ($order->financial->store_coupon_discount)
@lang('global.store_coupon_discount')
{{ $order->financial->store_coupon_discount }}
@endif
@if ($order->financial->platform_coupon_discount)
@lang('global.platform_coupon_discount')
{{ $order->financial->platform_coupon_discount }}
@endif
@lang('global.customer_details')
@if ($order->name)
@lang('validation.attributes.name')
{{ $order->name }}
@endif
@if ($order->phone)
@lang('validation.attributes.phone')
{{ $order->phone }}
@endif