direction == 1) dir="rtl" @endif > {{-- required meta tags --}} {{-- title --}} {{ 'Product Invoice | ' . config('app.name') }} {{-- fav icon --}} {{-- styles --}} @php $mb = '35px'; $width = '50%'; $ml = '18px'; $pl = '15px'; $pr = '15px'; $float = 'right'; $floatL = 'left'; @endphp

{{ __('PRODUCT ORDER INVOICE') }}

@php $position = $orderInfo->currency_text_position; $currency = $orderInfo->currency_text; @endphp
{{-- order details start --}}

{{ __('Order Details') }}

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

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

{{ __('Price') . ': ' }}{{ $position == 'left' ? $currency . ' ' : '' }}{{ number_format($orderInfo->total, 2) }}{{ $position == 'right' ? ' ' . $currency : '' }}

{{ __('Discount') . ': ' }}{{ $position == 'left' ? $currency . ' ' : '' }}{{ number_format($orderInfo->discount, 2) }}{{ $position == 'right' ? ' ' . $currency : '' }}

@php $total = floatval($orderInfo->total); $discount = floatval($orderInfo->discount); $subtotal = $total - $discount; @endphp {{ __('Subtotal') . ': ' }}{{ $position == 'left' ? $currency . ' ' : '' }}{{ number_format($subtotal, 2) }}{{ $position == 'right' ? ' ' . $currency : '' }}

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

{{ __('Payment Status') . ': ' }}{{ ucfirst($orderInfo->payment_status) }}

{{-- order details end --}} {{-- billing details start --}}

{{ __('Billing Details') }}

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

{{ __('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 --}}
{{-- purchased items start --}}

{{ __('Ordered Products') }}

{{ __('Name') }} {{ __('Unit Price') }} {{ __('Quantity') }} {{ __('Total Price') }}