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

Order #{{ $order->order_id }}

@php $orderAddress = $order->user; @endphp
{{__('admin.User Information')}}:
{{ $orderAddress->name }}
@if ($orderAddress->email) {{ $orderAddress->email }}
@endif @if ($orderAddress->phone) {{ $orderAddress->phone }}
@endif {{ $orderAddress->address }},
{{__('admin.Payment Information')}}:
{{__('admin.Method')}}: {{ $order->payment_method }}
{{__('admin.Status')}} : @if ($order->payment_status == 'success') {{__('admin.Complete')}} @else {{__('admin.Pending')}} @endif
{{__('admin.Transaction')}}: {!! clean(nl2br($order->transection_id)) !!}
{{__('admin.Order Information')}}:
{{__('admin.Date')}}: {{ Carbon\Carbon::parse($order->created_at)->format('d F, Y') }}
{{__('admin.Status')}} : @if ($order->order_status == 1) {{__('admin.Complete')}} @else {{__('admin.Pending')}} @endif
{{__('admin.Order Summary')}}
@foreach ($order->orderItems as $index => $item) @php $total = ($item->price * $item->qty) @endphp @endforeach
# {{__('admin.Product')}} {{__('admin.Product type')}} {{__('admin.Variant/Price type')}} {{__('admin.Author')}} {{__('admin.Unit Price')}} {{__('admin.Total')}}
{{ ++$index }} {{ $item->product->productlangfrontend->name }} {{ ucfirst($item->product->product_type) }} @if ($item->product->product_type=='script') {{ ucfirst($item->price_type) }} @else {{ ucfirst($item->variant->variant_name) }} @endif @if ($item->author) {{ $item->author->name }} @endif {{ $setting->currency_icon }}{{ $item->price }}{{ $setting->currency_icon }}{{ $total }}
{{__('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.Total')}} : {{ $setting->currency_icon }}{{ round($order->total_amount, 2) }}