{{ __('Order') . ' #' . $order->order_number }}
- {{ __('Home') }}
- /
- {{ __('Order Details') }}
@extends('frontend.layout') @section('pageHeading') {{ __('Order Details') }} @endsection @section('content')
{{ __('Order Date') . ' : ' }} {{ date('dS F, Y', strtotime($order->created_at)) }}
{{ __('Cart Total') . ' :' }} {{ $position == 'left' ? $symbol : '' }}{{ number_format($order->total, 2, '.', ',') }}{{ $position == 'right' ? $symbol : '' }}
{{ __('Discount') }} () : {{ $position == 'left' ? $symbol : '' }}{{ number_format($order->discount, 2, '.', ',') }}{{ $position == 'right' ? $symbol : '' }}
@php $total = floatval($order->total); $discount = floatval($order->discount); $subtotal = $total - $discount; @endphp{{ __('Subtotal') . ' : ' }} {{ $position == 'left' ? $symbol : '' }}{{ number_format($subtotal, 2, '.', ',') }}{{ $position == 'right' ? $symbol : '' }}
@php $shippingMethod = $order->shippingMethod()->first(); @endphp{{ __('Shipping Cost') }} () : @if (is_null($order->shipping_cost)) {{ '-' }} @else {{ $position == 'left' ? $symbol : '' }}{{ number_format($order->shipping_cost, 2, '.', ',') }}{{ $position == 'right' ? $symbol : '' }}({{ is_null($shippingMethod) ? '-' : $shippingMethod->title }}) @endif
{{ __('Tax') }} {{ '(' . $tax->product_tax_amount . '%)' }} () : {{ $position == 'left' ? $symbol : '' }}{{ number_format($order->tax, 2, '.', ',') }}{{ $position == 'right' ? $symbol : '' }}
{{ __('Paid Amount') . ' : ' }} {{ $position == 'left' ? $symbol : '' }}{{ number_format($order->grand_total, 2, '.', ',') }}{{ $position == 'right' ? $symbol : '' }}
{{ __('Payment Method') . ' :' }} {{ __($order->payment_method) }}
{{ __('Payment Status') }} {{ __($order->payment_status) }}
# | {{ __('Name') }} | {{ __('Quantity') }} | {{ __('Price') }} | {{ __('Total') }} |
---|---|---|---|---|
{{ $iteration }} |
@if ($item->slug == '')
{{ $item->productTitle }} @else {{ $item->productTitle }} @endif @if ($item->productType == 'digital' && $order->payment_status == 'completed') @if ($item->inputType == 'link') @else @endif @endif |
1 | {{ $position == 'left' ? $symbol : '' }}{{ $item->price }}{{ $position == 'right' ? $symbol : '' }} | @php $eachItemTotal = floatval($item->price) * $item->quantity; @endphp {{ $position == 'left' ? $symbol : '' }}{{ number_format($eachItemTotal, 2) }}{{ $position == 'right' ? $symbol : '' }} |
{{ $iteration }} |
@if ($item->slug == '')
{{ $item->productTitle }} @else {{ $item->productTitle }} @endif @if ($item->productType == 'digital' && $order->payment_status == 'completed') @if ($item->inputType == 'link') @else @endif @endif |
{{ $item->quantity }} | {{ $position == 'left' ? $symbol : '' }}{{ $item->price }}{{ $position == 'right' ? $symbol : '' }} | @php $eachItemTotal = floatval($item->price) * $item->quantity; @endphp {{ $position == 'left' ? $symbol : '' }}{{ number_format($eachItemTotal, 2) }}{{ $position == 'right' ? $symbol : '' }} |