@method('PUT') @csrf
@lang('app.name')

{{ 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')
@lang('app.booking') @lang('app.time')
@lang('app.booking') @lang('app.status')

@lang('menu.employee')

@if($booking->deal_id == '')
@endif
@if ($booking->deal_id=='') @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')
{{ ucwords($item->businessService->name) }} {{ $settings->currency->currency_symbol.number_format((float)$item->unit_price, 2, '.', '') }}
{{ $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, '.', '') }}
@lang('modules.booking.paymentMethod') {{ $booking->payment_gateway }}
@lang('modules.booking.paymentStatus')
@if($booking->deal_id == '') @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')
{{ $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, '.', '') }}