@if ($user->can('update_booking')) @endif @if ($user->roles()->withoutGlobalScopes()->first()->hasPermission('delete_booking')) @endif @if ($booking->status == 'pending') @if ($user->roles()->withoutGlobalScopes()->first()->hasPermission('create_booking') && $booking->date_time!='' && $booking->date_time->greaterThanOrEqualTo(\Carbon\Carbon::now()) ) @lang('modules.booking.sendReminder') @endif @if ($user->roles()->withoutGlobalScopes()->first()->hasPermission('update_booking')) @endif @endif
{{ ucwords($booking->user->name) }}
@lang('app.email')

{{ $booking->user->email ?? '--' }}

@lang('app.mobile')

{{ $booking->user->mobile ? $booking->user->formatted_mobile : '--' }}


@if ($booking->deal_id!='')
@lang('app.deal') @lang('app.name')
{{$booking->deal->title}}

@lang('app.deal') @lang('app.location')

{{$booking->deal->location->name}}

@lang('app.deal') @lang('app.quantity')

{{$booking->deal_quantity}}


@endif
@lang('app.booking') @lang('app.date')

@if ($booking->date_time != '') {{ \Carbon\Carbon::parse($booking->date_time)->translatedFormat($settings->date_format) }} @endif

@lang('app.booking') @lang('app.time')

@if ($booking->date_time != '') {{ $booking->date_time->translatedFormat($settings->time_format) }} @endif

@lang('app.booking') @lang('app.status')
{{ __('app.'.$booking->status) }}

@if(count($booking->users)>0)
@lang('menu.employee')

@foreach ($booking->users as $user)     {{$user->name}} @endforeach


@endif
@foreach($booking->items as $key=>$item) @if ($booking->deal_id!='') @else @endif @endforeach
# @lang('app.item') @lang('app.unitPrice') @lang('app.quantity') @lang('app.amount')
{{ $key+1 }}. {{ ucwords($item->businessService->name) }} {{ $settings->currency->currency_symbol.number_format((float)$item->unit_price, 2, '.', '') }} x{{ $item->quantity }}{{ $settings->currency->currency_symbol.number_format((float)($item->unit_price * $item->quantity), 2, '.', '')}} x {{$booking->deal_quantity}} = {{ $settings->currency->currency_symbol.number_format((float)($item->unit_price * $item->quantity * $booking->deal_quantity), 2, '.', '')}}{{ $settings->currency->currency_symbol.number_format((float)($item->businessService->discounted_price * $item->quantity), 2, '.', '')}}
@endif @if($booking->payment_status == 'pending') {{ __('app.'.$booking->payment_status) }} @endif @if ($commonCondition) @endif @if($booking->status == 'completed') @endif
@lang('modules.booking.paymentMethod') {{ $booking->payment_gateway }}
@lang('modules.booking.paymentStatus') @if($booking->payment_status == 'completed') {{ __('app.'.$booking->payment_status) }}
@lang('front.paymentMethod')
@if($credentials->stripe_status == 'active') @lang('front.buttons.stripe') @endif @if($credentials->paypal_status == 'active') @lang('front.buttons.paypal') @endif @if($credentials->razorpay_status == 'active') @lang('front.buttons.razorpay') @endif @if($credentials->offline_payment == 1) @lang('app.offline') @endif
@lang('app.download') @lang('app.receipt')
@if($booking->discount > 0) @endif @if($booking->tax_amount > 0) @endif @if($booking->coupon_discount > 0) @endif
@lang('app.subTotal') {{ $settings->currency->currency_symbol.number_format((float)$booking->original_amount, 2, '.', '') }}
@lang('app.discount') {{ $settings->currency->currency_symbol.number_format((float)$booking->discount, 2, '.', '') }}
{{ $booking->tax_name.' ('.$booking->tax_percent.'%)' }} {{ $settings->currency->currency_symbol.number_format((float)$booking->tax_amount, 2, '.', '') }}
@lang('app.couponDiscount') ({{ $booking->coupon->title}}) {{ $settings->currency->currency_symbol.number_format((float)$booking->coupon_discount, 2, '.', '') }}
@lang('app.total') {{ $settings->currency->currency_symbol.number_format((float)$booking->amount_to_pay, 2, '.', '') }}
@if(!is_null($booking->additional_notes))

@lang('modules.booking.customerMessage')

{!! $booking->additional_notes !!}

@endif {{--coupon detail Modal--}} {{--coupon detail Modal Ends--}}
@if($credentials->stripe_status == 'active' && $commonCondition) @endif @if($credentials->razorpay_status == 'active' && $commonCondition) @endif