direction == 1) dir="rtl" @endif> {{-- required meta tags --}} {{-- title --}}
{{ __('Booking No') . ': ' }}{{ '#' . $bookingInfo->booking_number }}
{{ __('Vendor') . ': ' }} @if ($bookingInfo->vendor) {{ $vendor = optional($bookingInfo->vendor)->username }} @else @php $admin = App\Models\Admin::first(); @endphp {{ $admin->username }} @endif
{{ __('Customer') . ': ' }} @if ($bookingInfo->user) {{ $vendor = optional($bookingInfo->user)->username }} @else {{ $bookingInfo->name }} @endif
{{ __('Booking Date') . ': ' }}{{ $bookingInfo->created_at->toFormattedDateString() }}
@php $startDate = Carbon\Carbon::parse($bookingInfo->start_date); $endDate = Carbon\Carbon::parse($bookingInfo->end_date); @endphp{{ __('Start Date') . ': ' }}{{ $startDate->toFormattedDateString() }}
{{ __('End Date') . ': ' }}{{ $endDate->toFormattedDateString() }}
@if (is_null($bookingInfo->total)){{ __('Price') . ': ' }}{{ __('Negotiable') }}
@else{{ __('Price') . ': ' }}{{ $position == 'left' ? $currency . ' ' : '' }}{{ number_format($bookingInfo->total, 2) }}{{ $position == 'right' ? ' ' . $currency : '' }}
@endif @if (!is_null($bookingInfo->discount)){{ __('Discount') . ': ' }}{{ $position == 'left' ? $currency . ' ' : '' }}{{ number_format($bookingInfo->discount, 2) }}{{ $position == 'right' ? ' ' . $currency : '' }}
@endif @if (!is_null($bookingInfo->total) && !is_null($bookingInfo->discount))@php $total = floatval($bookingInfo->total); $discount = floatval($bookingInfo->discount); $subtotal = $total - $discount; @endphp {{ __('Subtotal') . ': ' }}{{ $position == 'left' ? $currency . ' ' : '' }}{{ number_format($subtotal, 2) }}{{ $position == 'right' ? ' ' . $currency : '' }}
@endif @if (!is_null($bookingInfo->shipping_cost)){{ __('Shipping Cost') . ': ' }}{{ $position == 'left' ? $currency . ' ' : '' }}{{ number_format($bookingInfo->shipping_cost, 2) }}{{ $position == 'right' ? ' ' . $currency : '' }}
@endif @if (!is_null($bookingInfo->security_deposit_amount < 0)){{ __('Security Deposit Amount') . ': ' }}{{ $position == 'left' ? $currency . ' ' : '' }}{{ number_format($bookingInfo->security_deposit_amount, 2) }}{{ $position == 'right' ? ' ' . $currency : '' }}
@endif @if (!is_null($bookingInfo->grand_total)){{ __('Grand Total') . ': ' }}{{ $position == 'left' ? $currency . ' ' : '' }}{{ number_format($bookingInfo->grand_total, 2) }}{{ $position == 'right' ? ' ' . $currency : '' }}
@endif @if (!is_null($bookingInfo->payment_method)){{ __('Payment Method') . ': ' }}{{ $bookingInfo->payment_method }}
@endif{{ __('Payment Status') . ': ' }}{{ ucfirst($bookingInfo->payment_status) }}
{{ __('Shipping Location') . ': ' }}{{ $bookingInfo->location }}
{{ __('Shipping Method') . ': ' }}{{ $bookingInfo->shipping_method }}
{{ __('Name') . ': ' }}{{ $bookingInfo->name }}
{{ __('Email') . ': ' }}{{ $bookingInfo->email }}
{{ __('Contact Number') . ': ' }}{{ $bookingInfo->contact_number }}