{{__('admin.Invoice')}}

Order #{{ $order->order_id }}

@php $orderAddress = $order->orderAddress; @endphp
{{__('admin.Billing Information')}}:
{{ $orderAddress->billing_name }}
@if ($orderAddress->billing_email) {{ $orderAddress->billing_email }}
@endif @if ($orderAddress->billing_phone) {{ $orderAddress->billing_phone }}
@endif {{ $orderAddress->billing_address }}, {{ $orderAddress->billing_city.', '. $orderAddress->billing_state.', '.$orderAddress->billing_country }}
{{__('admin.Shipping Information')}} :
{{ $orderAddress->shipping_name }}
@if ($orderAddress->shipping_email) {{ $orderAddress->shipping_email }}
@endif @if ($orderAddress->shipping_phone) {{ $orderAddress->shipping_phone }}
@endif {{ $orderAddress->shipping_address }}, {{ $orderAddress->shipping_city.', '. $orderAddress->shipping_state.', '.$orderAddress->shipping_country }}
{{__('admin.Payment Information')}}:
{{__('admin.Method')}}: {{ $order->payment_method }}
{{__('admin.Status')}} : @if ($order->payment_status == 1) {{__('admin.Success')}} @else {{__('admin.Pending')}} @endif
{{__('admin.Transaction')}}: {!! clean(nl2br($order->transection_id)) !!}
{{__('admin.Order Information')}}:
{{__('admin.Date')}}: {{ $order->created_at->format('d F, Y') }}
{{__('admin.Shipping')}}: {{ $order->shipping_method }}
{{__('admin.Status')}} : @if ($order->order_status == 1) {{__('admin.Pregress')}} @elseif ($order->order_status == 2) {{__('admin.Delivered')}} @elseif ($order->order_status == 3) {{__('admin.Completed')}} @elseif ($order->order_status == 4) {{__('admin.Declined')}} @else {{__('admin.Pending')}} @endif
{{__('admin.Order Summary')}}
@if ($setting->enable_multivendor == 1) @endif @php $subTotal = 0; @endphp @foreach ($order->orderProducts as $index => $orderProduct) @php $variantPrice = 0; $totalVariant = $orderProduct->orderProductVariants->count(); @endphp @if ($setting->enable_multivendor == 1) @endif @php $total = ($orderProduct->unit_price * $orderProduct->qty) @endphp @php $totalVariant = 0; @endphp @endforeach
# {{__('admin.Product')}} {{__('admin.Variant')}}{{__('admin.Shop Name')}}{{__('admin.Unit Price')}} {{__('admin.Quantity')}} {{__('admin.Total')}}
{{ ++$index }} {{ $orderProduct->product_name }} @foreach ($orderProduct->orderProductVariants as $indx => $variant) {{ $variant->variant_name.' : '.$variant->variant_value }}{{ $totalVariant == ++$indx ? '' : ',' }}
@php $variantPrice += $variant->variant_price; @endphp @endforeach
@if ($orderProduct->seller) {{ $orderProduct->seller->shop_name }} @endif {{ $setting->currency_icon }}{{ $orderProduct->unit_price }} {{ $orderProduct->qty }}{{ $setting->currency_icon }}{{ $total }}
@if ($order->additional_info)

{{__('admin.Additional Information')}}:

{!! clean(nl2br($order->additional_info)) !!}


@endif
{{__('admin.Order Status')}}
@csrf @method("PUT")
@php $sub_total = $order->total_amount; $sub_total = $sub_total - $order->shipping_cost; $sub_total = $sub_total + $order->coupon_coast; @endphp
{{__('admin.Subtotal')}} : {{ $setting->currency_icon }}{{ round($sub_total, 2) }}
{{__('admin.Discount')}}(-) : {{ $setting->currency_icon }}{{ round($order->coupon_coast, 2) }}
{{__('admin.Shipping')}} : {{ $setting->currency_icon }}{{ round($order->shipping_cost, 2) }}

{{__('admin.Total')}} : {{ $setting->currency_icon }}{{ round($order->total_amount, 2) }}