direction == 1) dir="rtl" @endif> {{-- required meta tags --}} {{-- title --}} {{ 'Invoice | ' . config('app.name') }} {{-- fav icon --}} {{-- styles --}} @php $wd_100 = '100%'; $w_47 = '47%'; $_15px = '15px'; $_12px = '12px'; @endphp

{{ __('Booking Invoice') }}

{{-- enrolment details start --}}
@php $cart_items = App\Models\ShopManagement\OrderItem::where('product_order_id', $orderInfo->id)->get(); $cartTotal = 0; $countitem = 0; if ($cart_items) { foreach ($cart_items as $p) { $cartTotal += $p->price * $p->qty; $countitem += $p->qty; } } @endphp @foreach ($cart_items as $id => $item) @php $product = App\Models\ShopManagement\Product::where('id', $id)->first(); @endphp @endforeach
{{ __('Product') }} {{ __('Quantity') }} {{ __('Total') }}
{{ \Illuminate\Support\Str::limit($item['name'], 35, $end = '...') }} {{ $item['qty'] }} {{ $basicInfo->base_currency_symbol_position == 'left' ? $basicInfo->base_currency_symbol : '' }} {{ $item['qty'] * $item['price'] }} {{ $basicInfo->base_currency_symbol_position == 'right' ? $basicInfo->base_currency_symbol : '' }}
{{-- enrolment details start --}}
{{ __('Order Details') }}

{{ __('Order ID') . ': ' }}{{ '#' . $orderInfo->order_number }}

{{ __('Order Date') . ': ' }}{{ date_format($orderInfo->created_at, 'M d, Y') }}

{{ __('Shipping Charge') . ': ' }} {{ $orderInfo->currency_symbol_position == 'left' ? $orderInfo->currency_symbol : '' }} {{ $orderInfo->shipping_charge }} {{ $orderInfo->currency_symbol_position == 'right' ? $orderInfo->currency_symbol : '' }}

{{ __('Total Price') . ': ' }} {{ $orderInfo->currency_symbol_position == 'left' ? $orderInfo->currency_symbol : '' }} {{ $orderInfo->total }} {{ $orderInfo->currency_symbol_position == 'right' ? $orderInfo->currency_symbol : '' }}

{{ __('Coupon Discount') . ': ' }}{{ $orderInfo->currency_symbol_position == 'left' ? $orderInfo->currency_symbol : '' }} {{ $orderInfo->discount != null ? $orderInfo->discount : '0' }} {{ $orderInfo->currency_symbol_position == 'right' ? $orderInfo->currency_symbol : '' }}

{{ __('Payment Method') . ': ' }}{{ $orderInfo->method }}

{{ __('Payment Status') . ': ' }} @if ($orderInfo->payment_status == 'completed') {{ __('Completed') }} @elseif ($orderInfo->payment_status == 'pending') {{ __('Pending') }} @elseif ($orderInfo->payment_status == 'rejected') {{ __('Rejected') }} @else - @endif

{{-- billing details start --}}
{{ __('Billing Details') }}

{{ __('Name') . ': ' }}{{ $orderInfo->billing_fname . ' ' . $orderInfo->billing_lname }}

{{ __('Email') . ': ' }}{{ $orderInfo->billing_email }}

{{ __('Contact Number') . ': ' }}{{ $orderInfo->billing_phone }}

{{ __('Address') . ': ' }}{{ $orderInfo->billing_address }}

{{ __('City') . ': ' }}{{ $orderInfo->billing_city }}

{{ __('State') . ': ' }}{{ is_null($orderInfo->billing_state) ? '-' : $orderInfo->billing_state }}

{{ __('Country') . ': ' }}{{ $orderInfo->billing_country }}

{{-- billing details end --}} {{-- shipping details start --}}
{{ __('Shipping Details') }}

{{ __('Name') . ': ' }}{{ $orderInfo->shipping_fname . ' ' . $orderInfo->shipping_lname }}

{{ __('Email') . ': ' }}{{ $orderInfo->shipping_email }}

{{ __('Contact Number') . ': ' }}{{ $orderInfo->shipping_phone }}

{{ __('Address') . ': ' }}{{ $orderInfo->shipping_address }}

{{ __('City') . ': ' }}{{ $orderInfo->shipping_city }}

{{ __('State') . ': ' }}{{ is_null($orderInfo->shipping_state) ? '-' : $orderInfo->shipping_state }}

{{ __('Country') . ': ' }}{{ $orderInfo->shipping_country }}

{{-- shipping details end --}}