@extends('layouts.app') @section('content') @php $locale = session()->get('locale') ? session()->get('locale') : App\Helpers\ConstantHelper::ENGLISH; @endphp
@csrf

{{ __('label.personal_details') }}

{{ __('label.payment_details') }}

@if (@$appliedCoupon->coupon_code || count($coupons) > 0)
coupon_code) readonly @endif> @if (@$appliedCoupon->coupon_code) @else @endif
@endif @if (@$cart->redeem_points > 0 || auth()->user()->points > 0)
redeem_points > 0) readonly @endif> @if ($cart->redeem_points > 0) @else @endif
1 Point is equal to ${{ $setting->points_rate_factor }}
@endif @if (@$cart->wallet > 0 || auth()->user()->wallet > 0)
wallet > 0) readonly @endif> @if ($cart->wallet > 0) @else @endif
@endif
@if ($setting && $setting->partial_payment == 1)
@endif
@if ($setting && $setting->partial_payment == 1 && $cart->payable_amount > 0) @endif

{{ __('label.payment_method') }}

{{-- Online --}}
{{ __('label.redirected_to_payment') }}.
{{-- Cash --}} @if (isset($setting) && $setting->cash == 1 && $cart->payable_amount > 0)
{{--
{{ __('label.redirected_to_payment') }}.
--}}
@endif
{{ __('label.back') }}

{{ __('static.starting_services_from') }} {{ '$' . @$cart->branchView->starting_from }}

@foreach ($cart->services as $service) {{ $locale == App\Helpers\ConstantHelper::ARABIC ? $service->name_ar : $service->name_en }} @unless ($loop->last) , @endunless @endforeach

{{ $cart->branch->address }}

{{ isset($cart->branch->companyProfile->company_logo) ? $cart->branch->companyProfile->company_logo : '' }}
{{ __('label.booking_summary') }}
  • {{ __('label.date') }} {{ date('d-m-Y', strtotime($cart->date)) }}
  • {{ __('label.time') }} {{ App\Helpers\GeneralHelper::timeFormat($cart->start_time) }}-{{ App\Helpers\GeneralHelper::timeFormat($cart->end_time) }}
  • {{ __('label.service') }} @foreach ($cart->services as $service) {{ $locale == App\Helpers\ConstantHelper::ARABIC ? $service->name_ar : $service->name_en }} @unless ($loop->last) , @endunless @endforeach
  • {{ __('label.sub_total') }} {{ $cart->sub_total }}
  • {{ __('label.discount') }} {{ '$' . $cart->total_discount_amount }}
  • {{ __('label.redemption') }} {{ '$' . $cart->redeem_points }}
  • {{ __('label.payable_amount') }} ${{ $cart->payable_amount }}
@include('customer.branches.available-coupon-modal') @endsection @section('script') @endsection